Lines Matching refs:kp
150 register const struct krb *kp; in krb4_print() local
156 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0) in krb4_print() argument
157 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) in krb4_print() argument
159 kp = (struct krb *)cp; in krb4_print()
161 if ((&kp->type) >= ndo->ndo_snapend) { in krb4_print()
166 type = kp->type & (0xFF << 1); in krb4_print()
169 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type))); in krb4_print()
200 len = KTOHSP(kp, cp); in krb4_print()
209 ND_PRINT((ndo, " %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp)))); in krb4_print()
228 register const struct krb *kp; in krb_print() local
230 kp = (struct krb *)dat; in krb_print()
237 switch (kp->pvno) { in krb_print()
242 ND_PRINT((ndo, " v%d", kp->pvno)); in krb_print()
246 ND_PRINT((ndo, " v%d", kp->pvno)); in krb_print()
247 krb4_print(ndo, (const u_char *)kp); in krb_print()