Lines Matching defs:ip
87 #include <netinet/ip.h>
208 struct ip *ip;
219 if (m->m_len < sizeof(struct ip) &&
220 (m = m_pullup(m, sizeof(struct ip))) == 0) {
223 ip = mtod(m, struct ip *);
316 struct ip *const ip = mtod(m, struct ip *);
369 if (((ip->ip_hl != (sizeof (*ip) >> 2)) && inp->inp_options) ||
370 ((u_short)ntohs(ip->ip_len) > m->m_pkthdr.len)) {
377 NTOHS(ip->ip_len);
378 NTOHS(ip->ip_off);
540 if (m->m_len < sizeof (struct ip) &&
541 (m = m_pullup(m, sizeof (struct ip))) == 0) {