Lines Matching defs:ih
515 struct iphdr *ih;
536 ih = (struct iphdr *) ((char *)eh + ETH_HLEN);
537 if (ih->frag_off & htons(IP_MF | IP_OFFSET))
540 proto = ih->protocol;
546 (ih->tot_len - (ih->ihl << 2)) +
547 htons((uint16_t)ih->protocol) +
548 (ih->saddr >> 16) + (ih->saddr & 0xffff) +
549 (ih->daddr >> 16) + (ih->daddr & 0xffff);
1430 const struct iphdr *ih = ip_hdr(skb);
1431 const int proto = ntohs(ih->protocol);
1449 csum = csum_tcpudp_nofold(ih->saddr, ih->daddr,
1450 ih->tot_len - (ih->ihl << 2),
1456 csoff = ETH_HLEN + (ih->ihl << 2);