Searched refs:ih (Results 1 – 2 of 2) sorted by relevance
44 struct iphdr *ih; in ipv4_skb_to_auditdata() local46 ih = ip_hdr(skb); in ipv4_skb_to_auditdata()47 if (ih == NULL) in ipv4_skb_to_auditdata()50 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()51 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()54 *proto = ih->protocol; in ipv4_skb_to_auditdata()56 if (ntohs(ih->frag_off) & IP_OFFSET) in ipv4_skb_to_auditdata()59 switch (ih->protocol) { in ipv4_skb_to_auditdata()
4376 struct iphdr _iph, *ih; in selinux_parse_skb_ipv4() local4379 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in selinux_parse_skb_ipv4()4380 if (ih == NULL) in selinux_parse_skb_ipv4()4383 ihlen = ih->ihl * 4; in selinux_parse_skb_ipv4()4387 ad->u.net->v4info.saddr = ih->saddr; in selinux_parse_skb_ipv4()4388 ad->u.net->v4info.daddr = ih->daddr; in selinux_parse_skb_ipv4()4392 *proto = ih->protocol; in selinux_parse_skb_ipv4()4394 switch (ih->protocol) { in selinux_parse_skb_ipv4()4398 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4()4414 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4()[all …]