Lines Matching refs:ndo
97 c_print(netdissect_options *ndo,
112 ND_PRINT((ndo, "M-"));
116 ND_PRINT((ndo, "^"));
118 ND_PRINT((ndo, "%c", c));
126 krb4_print_hdr(netdissect_options *ndo,
131 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc
134 ND_PRINT((ndo, "."));
136 ND_PRINT((ndo, "@"));
141 ND_PRINT((ndo, "%s", tstr));
148 krb4_print(netdissect_options *ndo,
155 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc
162 if ((&kp->type) >= ndo->ndo_snapend) {
163 ND_PRINT((ndo, "%s", tstr));
169 ND_PRINT((ndo, " %s %s: ",
175 if ((cp = krb4_print_hdr(ndo, cp)) == NULL)
179 ND_PRINT((ndo, " %dmin ", *cp++ * 5));
181 ND_PRINT((ndo, "."));
188 ND_PRINT((ndo, "v%d ", *cp++));
191 ND_PRINT((ndo, " (%d)", *cp++));
193 ND_PRINT((ndo, " (%d)", *cp));
197 if ((cp = krb4_print_hdr(ndo, cp)) == NULL)
202 ND_PRINT((ndo, " (%d)", len));
206 if ((cp = krb4_print_hdr(ndo, cp)) == NULL)
210 ND_PRINT((ndo, " %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp))));
216 ND_PRINT((ndo, "(unknown)"));
222 ND_PRINT((ndo, "%s", tstr));
226 krb_print(netdissect_options *ndo,
233 if (dat >= ndo->ndo_snapend) {
234 ND_PRINT((ndo, "%s", tstr));
243 ND_PRINT((ndo, " v%d", kp->pvno));
247 ND_PRINT((ndo, " v%d", kp->pvno));
248 krb4_print(ndo, (const u_char *)kp);
253 ND_PRINT((ndo, " v5"));