Lines Matching refs:caplen
221 const u_char *p, int length, int caplen)
225 llc_hdrlen = llc_print(ndo, p, length, caplen, NULL, NULL);
229 ND_DEFAULTPRINT(p, caplen);
244 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
251 u_int caplen = h->caplen;
256 if (caplen < 1 || length < 1) {
258 return (caplen);
273 if (caplen < 3 || length < 3) {
275 return (caplen);
305 if (caplen < 20 || length < 20) {
307 return (caplen);
317 caplen -= 20;
320 hdrlen += atm_llc_print(ndo, p, length, caplen);
366 * do from the caplen test above, we also know we have
387 u_int caplen)
426 atm_llc_print(ndo, p, length, caplen);
430 lane_print(ndo, p, length, caplen);