Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:kp

155 	register const struct krb *kp;
161 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0)
162 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp))
164 kp = (struct krb *)cp;
166 if ((&kp->type) >= snapend) {
171 type = kp->type & (0xFF << 1);
174 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type));
205 len = KTOHSP(kp, cp);
214 printf(" %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp)));
232 register const struct krb *kp;
234 kp = (struct krb *)dat;
241 switch (kp->pvno) {
246 printf(" v%d", kp->pvno);
250 printf(" v%d", kp->pvno);
251 krb4_print((const u_char *)kp);