Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:ip6

41 #include "ip6.h"
208 struct ip6_hdr *ip6;
226 ip6 = (struct ip6_hdr *)bp;
227 strlcpy(srcaddr, ip6addr_string(ndo, &ip6->ip6_src),
229 strlcpy(dstaddr, ip6addr_string(ndo, &ip6->ip6_dst),
884 struct ip6_hdr *ip6 = NULL;
896 ip6 = (struct ip6_hdr *)bp;
915 else if (ip6) {
917 UNALIGNED_MEMCPY(&xmep->client, &ip6->ip6_src, sizeof(ip6->ip6_src));
918 UNALIGNED_MEMCPY(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst));
939 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp;
961 if (UNALIGNED_MEMCMP(&ip6->ip6_src, &xmep->server,
962 sizeof(ip6->ip6_src)) != 0 ||
963 UNALIGNED_MEMCMP(&ip6->ip6_dst, &xmep->client,
964 sizeof(ip6->ip6_dst)) != 0) {