Lines Matching refs:ip6

52 	const struct ip6_hdr *ip6;  in ip6_print()  local
61 ip6 = (const struct ip6_hdr *)bp; in ip6_print()
62 if ((u_char *)(ip6 + 1) > snapend) { in ip6_print()
72 if ((intptr_t)ip6 & (sizeof(u_int32_t)-1)) { in ip6_print()
84 memmove((char *)abuf, (char *)ip6, min(length, clen)); in ip6_print()
87 ip6 = (struct ip6_hdr *)abuf; in ip6_print()
99 if ((ip6->ip6_vfc & IPV6_VERSION_MASK) != IPV6_VERSION) { in ip6_print()
100 printf("bad-ip6-version %u", ip6->ip6_vfc >> 4); in ip6_print()
105 len = ntohs(ip6->ip6_plen); in ip6_print()
110 cp = (const u_char *)ip6; in ip6_print()
111 nh = ip6->ip6_nxt; in ip6_print()
118 if (cp == (u_char *)(ip6 + 1) && in ip6_print()
122 printf("%s > %s: ", ip6addr_string(&ip6->ip6_src), in ip6_print()
123 ip6addr_string(&ip6->ip6_dst)); in ip6_print()
136 hlen = frag6_print(cp, (const u_char *)ip6); in ip6_print()
142 hlen = rt6_print(cp, (const u_char *)ip6); in ip6_print()
147 (const u_char *)ip6); in ip6_print()
151 (const u_char *)ip6); in ip6_print()
155 (const u_char *)ip6); in ip6_print()
159 (const u_char *)ip6); in ip6_print()
163 (const u_char *)ip6); in ip6_print()
209 vrrp_print(cp, len, ip6->ip6_hlim); in ip6_print()
211 carp_print(cp, len, ip6->ip6_hlim); in ip6_print()
215 printf("ip-proto-%d %d", ip6->ip6_nxt, len); in ip6_print()
224 flow = ntohl(ip6->ip6_flow); in ip6_print()
230 if (ip6->ip6_hlim <= 1) in ip6_print()
231 printf(" [hlim %d]", (int)ip6->ip6_hlim); in ip6_print()
236 if (ip6->ip6_hlim > 1) in ip6_print()
237 printf(", hlim %d", (int)ip6->ip6_hlim); in ip6_print()