Lines Matching refs:ndo
21 ppi_header_print(struct netdissect_options *ndo, const u_char *bp, u_int length) in ppi_header_print() argument
32 if (!ndo->ndo_qflag) { in ppi_header_print()
33 ND_PRINT((ndo,", V.%d DLT %s (%d) len %d", hdr->ppi_ver, in ppi_header_print()
37 ND_PRINT((ndo,", %s", pcap_datalink_val_to_name(dlt))); in ppi_header_print()
40 ND_PRINT((ndo, ", length %u: ", length)); in ppi_header_print()
44 ppi_print(struct netdissect_options *ndo, in ppi_print() argument
55 ND_PRINT((ndo, "[|ppi]")); in ppi_print()
61 if (ndo->ndo_eflag) in ppi_print()
62 ppi_header_print(ndo, p, length); in ppi_print()
71 ndo_printer(ndo, h, p); in ppi_print()
73 if (!ndo->ndo_eflag) in ppi_print()
74 ppi_header_print(ndo, (u_char *)hdr, in ppi_print()
77 if (!ndo->ndo_suppress_default_print) in ppi_print()
78 ndo->ndo_default_print(ndo, p, caplen); in ppi_print()
89 ppi_if_print(struct netdissect_options *ndo, in ppi_if_print() argument
92 ppi_print(ndo, h, p); in ppi_if_print()