Lines Matching refs:ip
70 #include <netinet/ip.h>
555 struct ip *ip = NULL;
591 ip = mtod(m, struct ip *);
592 th = (struct tcphdr *)(ip + 1);
593 tcpip_fillheaders(inp, ip, th);
638 th->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,
640 ip->ip_len = htons(m->m_pkthdr.len);
642 ip->ip_off |= htons(IP_DF);
643 TCP_PROBE5(send, NULL, NULL, ip, NULL, th);