Searched refs:uh (Results 1 – 3 of 3) sorted by relevance
/security/ |
D | lsm_audit.c | 72 struct udphdr *uh = udp_hdr(skb); in ipv4_skb_to_auditdata() local 73 if (uh == NULL) in ipv4_skb_to_auditdata() 76 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata() 77 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata() 148 struct udphdr _udph, *uh; in ipv6_skb_to_auditdata() local 150 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in ipv6_skb_to_auditdata() 151 if (uh == NULL) in ipv6_skb_to_auditdata() 154 ad->u.net->sport = uh->source; in ipv6_skb_to_auditdata() 155 ad->u.net->dport = uh->dest; in ipv6_skb_to_auditdata()
|
/security/selinux/ |
D | hooks.c | 4144 struct udphdr _udph, *uh; in selinux_parse_skb_ipv4() local 4150 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in selinux_parse_skb_ipv4() 4151 if (uh == NULL) in selinux_parse_skb_ipv4() 4154 ad->u.net->sport = uh->source; in selinux_parse_skb_ipv4() 4155 ad->u.net->dport = uh->dest; in selinux_parse_skb_ipv4() 4225 struct udphdr _udph, *uh; in selinux_parse_skb_ipv6() local 4227 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in selinux_parse_skb_ipv6() 4228 if (uh == NULL) in selinux_parse_skb_ipv6() 4231 ad->u.net->sport = uh->source; in selinux_parse_skb_ipv6() 4232 ad->u.net->dport = uh->dest; in selinux_parse_skb_ipv6()
|
/security/smack/ |
D | smack_lsm.c | 3911 struct udphdr _udph, *uh; in smk_skb_to_addr_ipv6() local 3936 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in smk_skb_to_addr_ipv6() 3937 if (uh != NULL) in smk_skb_to_addr_ipv6() 3938 sip->sin6_port = uh->source; in smk_skb_to_addr_ipv6()
|