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