Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:ndo

82 ip6_print(netdissect_options *ndo, const u_char *bp, u_int length)
98 (void)ND_PRINT((ndo, "truncated-ip6 %u", length));
102 if (!ndo->ndo_eflag)
103 ND_PRINT((ndo, "IP6 "));
108 (void)ND_PRINT((ndo, "truncated-ip6 - %u bytes missing!",
111 if (ndo->ndo_vflag) {
113 ND_PRINT((ndo, "("));
117 (void)ND_PRINT((ndo, "pri 0x%02x, ", (flow & 0x0f000000) >> 24));
119 (void)ND_PRINT((ndo, "flowlabel 0x%06x, ", flow & 0x00ffffff));
123 (void)ND_PRINT((ndo, "class 0x%02x, ", (flow & 0x0ff00000) >> 20));
125 (void)ND_PRINT((ndo, "flowlabel 0x%05x, ", flow & 0x000fffff));
128 (void)ND_PRINT((ndo, "hlim %u, next-header %s (%u) payload length: %u) ",
139 if (ipend < ndo->ndo_snapend)
140 ndo->ndo_snapend = ipend;
145 while (cp < ndo->ndo_snapend && advance > 0) {
152 (void)ND_PRINT((ndo, "%s > %s: ", ip6addr_string(&ip6->ip6_src),
167 if (ndo->ndo_snapend <= cp + advance)
205 icmp6_print(ndo, cp, len, (const u_char *)ip6, fragmented);
214 advance = esp_print(ndo, cp, len, (const u_char *)ip6, &enh, &padlen);
237 ip6_print(ndo, cp, len);
241 ip_print(ndo, cp, len);
257 (void)ND_PRINT((ndo, "no next header"));
261 (void)ND_PRINT((ndo, "ip-proto-%d %d", nh, len));
268 (void)ND_PRINT((ndo, "[|ip6]"));