Lines Matching refs:ndo

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