Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:ip

52 #include "ip.h"
782 const struct ip *ip;
791 ip = (const struct ip *)bp2;
792 switch (IP_V(ip)) {
795 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in4, &ip->ip_src, sizeof(struct in_addr));
796 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in4, &ip->ip_dst, sizeof(struct in_addr));
816 const struct ip *ip;
819 ip = (const struct ip *)bp2;
820 switch (IP_V(ip)) {
825 if (UNALIGNED_MEMCMP(&ip->ip_src, &cookiecache[i].iaddr.in4, sizeof(struct in_addr)) == 0)
828 if (UNALIGNED_MEMCMP(&ip->ip_src, &cookiecache[i].raddr.in4, sizeof(struct in_addr)) == 0)
2879 ND_PRINT((ndo," (len mismatch: isakmp %u/ip %u)",
3023 ND_PRINT((ndo, " (len mismatch: isakmp %u/ip %u)",