Lines Matching refs:sid
107 tsec->sid, ctx->ctx_sid, in selinux_xfrm_alloc_user()
144 tsec->sid, ctx->ctx_sid, in selinux_xfrm_delete()
228 u32 *sid, int ckall) in selinux_xfrm_skb_sid_ingress() argument
246 *sid = SECSID_NULL; in selinux_xfrm_skb_sid_ingress()
254 *sid = sid_session; in selinux_xfrm_skb_sid_ingress()
262 int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall) in selinux_xfrm_decode_session() argument
265 *sid = SECSID_NULL; in selinux_xfrm_decode_session()
268 return selinux_xfrm_skb_sid_ingress(skb, sid, ckall); in selinux_xfrm_decode_session()
271 int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) in selinux_xfrm_skb_sid() argument
275 rc = selinux_xfrm_skb_sid_ingress(skb, sid, 0); in selinux_xfrm_skb_sid()
276 if (rc == 0 && *sid == SECSID_NULL) in selinux_xfrm_skb_sid()
277 *sid = selinux_xfrm_skb_sid_egress(skb); in selinux_xfrm_skb_sid()