Searched refs:uh (Results 1 – 3 of 3) sorted by relevance
/security/ |
D | lsm_audit.c | 69 struct udphdr *uh = udp_hdr(skb); in ipv4_skb_to_auditdata() local 70 if (uh == NULL) in ipv4_skb_to_auditdata() 73 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata() 74 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata() 145 struct udphdr _udph, *uh; in ipv6_skb_to_auditdata() local 147 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in ipv6_skb_to_auditdata() 148 if (uh == NULL) in ipv6_skb_to_auditdata() 151 ad->u.net->sport = uh->source; in ipv6_skb_to_auditdata() 152 ad->u.net->dport = uh->dest; in ipv6_skb_to_auditdata()
|
/security/selinux/ |
D | hooks.c | 4207 struct udphdr _udph, *uh; in selinux_parse_skb_ipv4() local 4213 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in selinux_parse_skb_ipv4() 4214 if (uh == NULL) in selinux_parse_skb_ipv4() 4217 ad->u.net->sport = uh->source; in selinux_parse_skb_ipv4() 4218 ad->u.net->dport = uh->dest; in selinux_parse_skb_ipv4() 4305 struct udphdr _udph, *uh; in selinux_parse_skb_ipv6() local 4307 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in selinux_parse_skb_ipv6() 4308 if (uh == NULL) in selinux_parse_skb_ipv6() 4311 ad->u.net->sport = uh->source; in selinux_parse_skb_ipv6() 4312 ad->u.net->dport = uh->dest; in selinux_parse_skb_ipv6()
|
/security/smack/ |
D | smack_lsm.c | 3799 struct udphdr _udph, *uh; in smk_skb_to_addr_ipv6() local 3825 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in smk_skb_to_addr_ipv6() 3826 if (uh != NULL) in smk_skb_to_addr_ipv6() 3827 sip->sin6_port = uh->source; in smk_skb_to_addr_ipv6()
|