Lines Matching refs:iphdr
111 next_off = offsetof(struct iphdr, protocol);
224 struct iphdr *iph = buf;
245 payload_len + sizeof(struct iphdr));
251 iph->check = checksum_fold(buf, sizeof(struct iphdr), 0);
380 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN);
392 iph->check = checksum_fold(iph, sizeof(struct iphdr), 0);
558 struct iphdr *iph;
572 iph = (struct iphdr *)(optpkt + ETH_HLEN);
576 iph->check = checksum_fold(iph, sizeof(struct iphdr) + optlen, 0);
602 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN);
619 iph->check = checksum_fold(iph, sizeof(struct iphdr), 0);
628 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN);
636 iph->check = checksum_fold(iph, sizeof(struct iphdr), 0);
645 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN);
655 iph->check = checksum_fold(iph, sizeof(struct iphdr), 0);
667 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN);
676 iph->check = checksum_fold(iph, sizeof(struct iphdr), 0);
746 struct iphdr *iph = (struct iphdr *)(buffer + ETH_HLEN);
785 - sizeof(struct tcphdr) - sizeof(struct iphdr);
887 /* 20 is the difference between min iphdr size
1087 tcp_offset = ETH_HLEN + sizeof(struct iphdr);