Lines Matching defs:ip6

21  * $FreeBSD: releng/10.3/contrib/tcpdump/print-ip6.c 235530 2012-05-17 05:11:57Z delphij $
26 "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.52 2007-09-21 07:05:33 hannes Exp $";
46 #include "ip6.h"
53 nextproto6_cksum(const struct ip6_hdr *ip6, const u_int8_t *data,
67 ph.ph_src = ip6->ip6_src;
68 ph.ph_dst = ip6->ip6_dst;
86 register const struct ip6_hdr *ip6;
96 ip6 = (const struct ip6_hdr *)bp;
98 TCHECK(*ip6);
100 (void)ND_PRINT((ndo, "truncated-ip6 %u", length));
107 payload_len = EXTRACT_16BITS(&ip6->ip6_plen);
110 (void)ND_PRINT((ndo, "truncated-ip6 - %u bytes missing!",
114 flow = EXTRACT_32BITS(&ip6->ip6_flow);
131 ip6->ip6_hlim,
132 tok2str(ipproto_values,"unknown",ip6->ip6_nxt),
133 ip6->ip6_nxt,
144 cp = (const u_char *)ip6;
146 nh = ip6->ip6_nxt;
151 if (cp == (const u_char *)(ip6 + 1) &&
154 (void)ND_PRINT((ndo, "%s > %s: ", ip6addr_string(&ip6->ip6_src),
155 ip6addr_string(&ip6->ip6_dst)));
168 advance = frag6_print(cp, (const u_char *)ip6);
187 advance = mobility_print(cp, (const u_char *)ip6);
191 advance = rt6_print(cp, (const u_char *)ip6);
195 sctp_print(cp, (const u_char *)ip6, len);
198 dccp_print(cp, (const u_char *)ip6, len);
201 tcp_print(cp, len, (const u_char *)ip6, fragmented);
204 udp_print(cp, len, (const u_char *)ip6, fragmented);
207 icmp6_print(ndo, cp, len, (const u_char *)ip6, fragmented);
216 advance = esp_print(ndo, cp, len, (const u_char *)ip6, &enh, &padlen);
230 pim_print(cp, len, nextproto6_cksum(ip6, cp, len,
247 pgm_print(cp, len, (const u_char *)ip6);
270 (void)ND_PRINT((ndo, "[|ip6]"));