Lines Matching defs:iph
1217 struct iphdr *iph = (struct iphdr *)skb->data;
1219 if (iph->protocol == IPPROTO_TCP) {
1220 offset = iph->ihl * 4;
1259 struct iphdr *iph = NULL;
1269 iph = (struct iphdr *)skb->data;
1274 if (iph->check == 0xffff) {
1275 iph->check = 0;
1276 iph->check = ip_fast_csum((unsigned char *)iph,
1277 iph->ihl);
1280 iphlen = iph->ihl * 4;
1281 iph_proto = iph->protocol;
1308 tcph->check = ~csum_tcpudp_magic(iph->saddr,
1309 iph->daddr, tcphdrlen, iph_proto, 0);
1387 struct iphdr *iph = (struct iphdr *)skb->data;
1389 iph_check = iph->check;