Lines Matching refs:kp
151 register const struct krb *kp; in krb4_print() local
157 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0) in krb4_print() argument
158 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) in krb4_print() argument
160 kp = (const struct krb *)cp; in krb4_print()
162 if ((&kp->type) >= ndo->ndo_snapend) { in krb4_print()
167 type = kp->type & (0xFF << 1); in krb4_print()
170 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type))); in krb4_print()
201 len = KTOHSP(kp, cp); in krb4_print()
210 ND_PRINT((ndo, " %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp)))); in krb4_print()
229 register const struct krb *kp; in krb_print() local
231 kp = (const struct krb *)dat; in krb_print()
238 switch (kp->pvno) { in krb_print()
243 ND_PRINT((ndo, " v%d", kp->pvno)); in krb_print()
247 ND_PRINT((ndo, " v%d", kp->pvno)); in krb_print()
248 krb4_print(ndo, (const u_char *)kp); in krb_print()