Lines Matching refs:caplen
151 llc_print(const u_char *p, u_int length, u_int caplen, in llc_print() argument
161 if (caplen < 3) { in llc_print()
163 default_print((u_char *)p, caplen); in llc_print()
187 if (caplen < 4) { in llc_print()
189 default_print((u_char *)p, caplen); in llc_print()
290 caplen -= 3; in llc_print()
294 caplen -= 4; in llc_print()
302 isoclns_print(p + 3, length - 3, caplen - 3); in llc_print()
313 ret = snap_print(p+3, length-3, caplen-3, 2); in llc_print()
349 caplen -= 3; in llc_print()
356 caplen -= 3; in llc_print()
375 caplen -= 4; in llc_print()
381 snap_print(const u_char *p, u_int length, u_int caplen, u_int bridge_pad) in snap_print() argument
410 caplen -= 5; in snap_print()
421 ret = ethertype_print(gndo, et, p, length, caplen); in snap_print()
436 ret = ethertype_print(gndo, et, p, length, caplen); in snap_print()
445 cdp_print(p, length, caplen); in snap_print()
477 caplen -= bridge_pad; in snap_print()
484 ether_print(gndo, p, length, caplen, NULL, NULL); in snap_print()
498 caplen -= bridge_pad; in snap_print()
506 token_print(p, length, caplen); in snap_print()
519 caplen -= bridge_pad + 1; in snap_print()
526 fddi_print(p, length, caplen); in snap_print()