Lines Matching refs:ip
63 #include <netinet/ip.h>
2694 struct ip *ip;
2706 ip = NULL;
2751 m = m_pullup(m, ip_off + sizeof(struct ip));
2756 ip = (struct ip *)(mtod(m, char *) + ip_off);
2757 poff = ip_off + (ip->ip_hl << 2);
2783 ip = (struct ip *)(mtod(m, char *) + ip_off);
2785 ip->ip_sum = 0;
2786 tcp->th_sum = in_pseudo(ip->ip_src.s_addr,
2787 ip->ip_dst.s_addr, htons(IPPROTO_TCP));