Searched refs:ih (Results 1 – 2 of 2) sorted by relevance
43 struct iphdr *ih; in ipv4_skb_to_auditdata() local45 ih = ip_hdr(skb); in ipv4_skb_to_auditdata()46 if (ih == NULL) in ipv4_skb_to_auditdata()49 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()50 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()53 *proto = ih->protocol; in ipv4_skb_to_auditdata()55 if (ntohs(ih->frag_off) & IP_OFFSET) in ipv4_skb_to_auditdata()58 switch (ih->protocol) { in ipv4_skb_to_auditdata()
4171 struct iphdr _iph, *ih; in selinux_parse_skb_ipv4() local4174 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in selinux_parse_skb_ipv4()4175 if (ih == NULL) in selinux_parse_skb_ipv4()4178 ihlen = ih->ihl * 4; in selinux_parse_skb_ipv4()4182 ad->u.net->v4info.saddr = ih->saddr; in selinux_parse_skb_ipv4()4183 ad->u.net->v4info.daddr = ih->daddr; in selinux_parse_skb_ipv4()4187 *proto = ih->protocol; in selinux_parse_skb_ipv4()4189 switch (ih->protocol) { in selinux_parse_skb_ipv4()4193 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4()4209 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4()[all …]