Searched refs:sh (Results 1 – 2 of 2) sorted by relevance
/security/ |
D | lsm_audit.c | 87 struct sctphdr *sh = sctp_hdr(skb); in ipv4_skb_to_auditdata() local 88 if (sh == NULL) in ipv4_skb_to_auditdata() 90 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata() 91 ad->u.net->dport = sh->dest; in ipv4_skb_to_auditdata() 167 struct sctphdr _sctph, *sh; in ipv6_skb_to_auditdata() local 169 sh = skb_header_pointer(skb, offset, sizeof(_sctph), &_sctph); in ipv6_skb_to_auditdata() 170 if (sh == NULL) in ipv6_skb_to_auditdata() 172 ad->u.net->sport = sh->source; in ipv6_skb_to_auditdata() 173 ad->u.net->dport = sh->dest; in ipv6_skb_to_auditdata()
|
/security/selinux/ |
D | hooks.c | 4240 struct sctphdr _sctph, *sh; in selinux_parse_skb_ipv4() local 4246 sh = skb_header_pointer(skb, offset, sizeof(_sctph), &_sctph); in selinux_parse_skb_ipv4() 4247 if (sh == NULL) in selinux_parse_skb_ipv4() 4250 ad->u.net->sport = sh->source; in selinux_parse_skb_ipv4() 4251 ad->u.net->dport = sh->dest; in selinux_parse_skb_ipv4() 4330 struct sctphdr _sctph, *sh; in selinux_parse_skb_ipv6() local 4332 sh = skb_header_pointer(skb, offset, sizeof(_sctph), &_sctph); in selinux_parse_skb_ipv6() 4333 if (sh == NULL) in selinux_parse_skb_ipv6() 4336 ad->u.net->sport = sh->source; in selinux_parse_skb_ipv6() 4337 ad->u.net->dport = sh->dest; in selinux_parse_skb_ipv6()
|