Lines Matching defs:ip
58 #include <netinet/ip.h>
292 struct ip *ip;
316 ip = mtod(m, struct ip *);
318 ip->ip_tos = 0;
319 ip->ip_ttl = 0;
320 ip->ip_sum = 0;
323 ip->ip_off &= htons(IP_DF);
325 ip->ip_off = htons(0);
330 for (off = sizeof(struct ip); off < skip;) {
393 &(ip->ip_dst), sizeof(struct in_addr));
1034 offsetof(struct ip, ip_len),
1037 m_copyback(m, offsetof(struct ip, ip_len),