Lines Matching refs:ndo
50 nflog_hdr_print(struct netdissect_options *ndo, const nflog_hdr_t *hdr, u_int length) in nflog_hdr_print() argument
52 ND_PRINT((ndo, "version %d, resource ID %d", hdr->nflog_version, ntohs(hdr->nflog_rid))); in nflog_hdr_print()
54 if (!ndo->ndo_qflag) { in nflog_hdr_print()
55 ND_PRINT((ndo,", family %s (%d)", in nflog_hdr_print()
60 ND_PRINT((ndo,", %s", in nflog_hdr_print()
66 ND_PRINT((ndo, ", length %u: ", length)); in nflog_hdr_print()
70 nflog_if_print(struct netdissect_options *ndo, in nflog_if_print() argument
81 ND_PRINT((ndo, "[|nflog]")); in nflog_if_print()
86 ND_PRINT((ndo, "version %u (unknown)", hdr->nflog_version)); in nflog_if_print()
90 if (ndo->ndo_eflag) in nflog_if_print()
91 nflog_hdr_print(ndo, hdr, length); in nflog_if_print()
101 ND_PRINT((ndo, "[|nflog]")); in nflog_if_print()
113 ND_PRINT((ndo, "[|nflog]")); in nflog_if_print()
120 ND_PRINT((ndo, "[|nflog]")); in nflog_if_print()
146 ip_print(ndo, p, length); in nflog_if_print()
151 ip6_print(ndo, p, length); in nflog_if_print()
156 if (!ndo->ndo_eflag) in nflog_if_print()
157 nflog_hdr_print(ndo, hdr, in nflog_if_print()
160 if (!ndo->ndo_suppress_default_print) in nflog_if_print()
161 ndo->ndo_default_print(ndo, p, caplen); in nflog_if_print()