Lines Matching defs:ip
34 #include "ip.h"
287 ND_TCHECK2(bp[8], 20); /* ip header */
667 const struct ip *ip;
674 ip = (const struct ip *)bp2;
675 if (IP_V(ip) == 4) {
682 } else if (IP_V(ip) == 6) {
871 const struct ip *ip;
886 ip = (const struct ip *)bp;
887 ND_TCHECK(ip->ip_vhl);
888 switch (IP_V(ip)) {
890 ND_TCHECK(ip->ip_dst);
892 ipaddr_string(ndo, &ip->ip_src),
893 ipaddr_string(ndo, &ip->ip_dst)));
905 ND_PRINT((ndo, "IP ver %d", IP_V(ip)));