Lines Matching refs:ih
302 struct iphdr *ih; in ioc3_tcpudp_checksum() local
322 ih = (struct iphdr *)((char *)eh + ETH_HLEN); in ioc3_tcpudp_checksum()
323 if (ip_is_fragment(ih)) in ioc3_tcpudp_checksum()
326 proto = ih->protocol; in ioc3_tcpudp_checksum()
332 (ih->tot_len - (ih->ihl << 2)) + in ioc3_tcpudp_checksum()
333 htons((u16)ih->protocol) + in ioc3_tcpudp_checksum()
334 (ih->saddr >> 16) + (ih->saddr & 0xffff) + in ioc3_tcpudp_checksum()
335 (ih->daddr >> 16) + (ih->daddr & 0xffff); in ioc3_tcpudp_checksum()
998 const struct iphdr *ih = ip_hdr(skb); in ioc3_start_xmit() local
999 const int proto = ntohs(ih->protocol); in ioc3_start_xmit()
1015 csum = csum_tcpudp_nofold(ih->saddr, ih->daddr, in ioc3_start_xmit()
1016 ih->tot_len - (ih->ihl << 2), in ioc3_start_xmit()
1022 csoff = ETH_HLEN + (ih->ihl << 2); in ioc3_start_xmit()