Lines Matching defs:iph
1223 struct iphdr *iph = (struct iphdr *)skb->data;
1225 if (iph->protocol == IPPROTO_TCP) {
1226 offset = iph->ihl * 4;
1265 struct iphdr *iph = NULL;
1275 iph = (struct iphdr *)skb->data;
1280 if (iph->check == 0xffff) {
1281 iph->check = 0;
1282 iph->check = ip_fast_csum((unsigned char *)iph,
1283 iph->ihl);
1286 iphlen = iph->ihl * 4;
1287 iph_proto = iph->protocol;
1317 ~csum_tcpudp_magic(iph->saddr,
1318 iph->daddr, tcphdrlen, iph_proto, 0);
1397 struct iphdr *iph = (struct iphdr *)skb->data;
1399 iph_check = iph->check;