Lines Matching refs:kp
158 const struct krb *kp; in krb4_print() local
164 #define IS_LENDIAN(kp) ((GET_U_1((kp)->type) & 0x01) != 0) in krb4_print() argument
165 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? GET_LE_U_2(cp) : GET_BE_U_2(cp)) in krb4_print() argument
167 kp = (const struct krb *)cp; in krb4_print()
169 type = GET_U_1(kp->type) & (0xFF << 1); in krb4_print()
172 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type)); in krb4_print()
201 len = KTOHSP(kp, cp); in krb4_print()
209 ND_PRINT(" %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp))); in krb4_print()
228 const struct krb *kp; in krb_print() local
233 kp = (const struct krb *)dat; in krb_print()
235 switch (GET_U_1(kp->pvno)) { in krb_print()
240 ND_PRINT(" v%u", GET_U_1(kp->pvno)); in krb_print()
244 ND_PRINT(" v%u", GET_U_1(kp->pvno)); in krb_print()
245 krb4_print(ndo, (const u_char *)kp); in krb_print()