Lines Matching defs:iph
53 struct iphdr *iph;
56 iph = data + nh_off;
57 if (iph + 1 > data_end)
60 if (ip_is_fragment(iph))
62 ihl_len = iph->ihl * 4;
64 if (iph->protocol == IPPROTO_IPIP) {
65 iph = data + nh_off + ihl_len;
66 if (iph + 1 > data_end)
68 ihl_len += iph->ihl * 4;
71 if (iph->protocol == IPPROTO_TCP)
73 else if (iph->protocol == IPPROTO_UDP)
81 struct iphdr *iph;
92 iph = data + nh_off + ihl_len;
93 if (iph + 1 > data_end)
95 ihl_len += iph->ihl * 4;
96 nexthdr = iph->protocol;