Lines Matching refs:ndo
24 ipnet_hdr_print(struct netdissect_options *ndo, const u_char *bp, u_int length)
29 ND_PRINT((ndo, "%d > %d", hdr->iph_zsrc, hdr->iph_zdst));
31 if (!ndo->ndo_qflag) {
32 ND_PRINT((ndo,", family %s (%d)",
37 ND_PRINT((ndo,", %s",
43 ND_PRINT((ndo, ", length %u: ", length));
47 ipnet_print(struct netdissect_options *ndo, const u_char *p, u_int length, u_int caplen)
52 ND_PRINT((ndo, "[|ipnet]"));
56 if (ndo->ndo_eflag)
57 ipnet_hdr_print(ndo, p, length);
67 ip_print(ndo, p, length);
72 ip6_print(ndo, p, length);
77 if (!ndo->ndo_eflag)
78 ipnet_hdr_print(ndo, (u_char *)hdr,
81 if (!ndo->ndo_suppress_default_print)
82 ndo->ndo_default_print(ndo, p, caplen);
94 ipnet_if_print(struct netdissect_options *ndo,
97 ipnet_print(ndo, p, h->len, h->caplen);