Lines Matching refs:skb
212 static u32 selinux_xfrm_skb_sid_egress(struct sk_buff *skb) in selinux_xfrm_skb_sid_egress() argument
214 struct dst_entry *dst = skb_dst(skb); in selinux_xfrm_skb_sid_egress()
226 static int selinux_xfrm_skb_sid_ingress(struct sk_buff *skb, in selinux_xfrm_skb_sid_ingress() argument
230 struct sec_path *sp = skb_sec_path(skb); in selinux_xfrm_skb_sid_ingress()
261 int selinux_xfrm_decode_session(struct sk_buff *skb, u32 *sid, int ckall) in selinux_xfrm_decode_session() argument
263 if (skb == NULL) { in selinux_xfrm_decode_session()
267 return selinux_xfrm_skb_sid_ingress(skb, sid, ckall); in selinux_xfrm_decode_session()
270 int selinux_xfrm_skb_sid(struct sk_buff *skb, u32 *sid) in selinux_xfrm_skb_sid() argument
274 rc = selinux_xfrm_skb_sid_ingress(skb, sid, 0); in selinux_xfrm_skb_sid()
276 *sid = selinux_xfrm_skb_sid_egress(skb); in selinux_xfrm_skb_sid()
404 int selinux_xfrm_sock_rcv_skb(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_sock_rcv_skb() argument
408 struct sec_path *sp = skb_sec_path(skb); in selinux_xfrm_sock_rcv_skb()
438 int selinux_xfrm_postroute_last(u32 sk_sid, struct sk_buff *skb, in selinux_xfrm_postroute_last() argument
455 dst = skb_dst(skb); in selinux_xfrm_postroute_last()