Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:cp

132 krb4_print_hdr(const u_char *cp)
134 cp += 2;
136 #define PRINT if ((cp = c_print(cp, snapend)) == NULL) goto trunc
143 return (cp);
153 krb4_print(const u_char *cp)
159 #define PRINT if ((cp = c_print(cp, snapend)) == NULL) goto trunc
162 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp))
164 kp = (struct krb *)cp;
179 if ((cp = krb4_print_hdr(cp)) == NULL)
181 cp += 4; /* ctime */
182 TCHECK(*cp);
183 printf(" %dmin ", *cp++ * 5);
190 cp += 2;
191 TCHECK(*cp);
192 printf("v%d ", *cp++);
194 TCHECK(*cp);
195 printf(" (%d)", *cp++);
196 TCHECK(*cp);
197 printf(" (%d)", *cp);
201 if ((cp = krb4_print_hdr(cp)) == NULL)
203 cp += 10; /* timestamp + n + exp + kvno */
204 TCHECK2(*cp, sizeof(short));
205 len = KTOHSP(kp, cp);
210 if ((cp = krb4_print_hdr(cp)) == NULL)
212 cp += 4; /* timestamp */
213 TCHECK2(*cp, sizeof(short));
214 printf(" %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp)));
215 cp += 4;