Lines Matching refs:caplen
144 llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, in llc_print() argument
154 if (caplen < 3 || length < 3) { in llc_print()
156 ND_DEFAULTPRINT((u_char *)p, caplen); in llc_print()
180 if (caplen < 4 || length < 4) { in llc_print()
182 ND_DEFAULTPRINT((u_char *)p, caplen); in llc_print()
243 if (caplen < 4 || length < 4) { in llc_print()
245 ND_DEFAULTPRINT((u_char *)p, caplen); in llc_print()
298 isoclns_print(ndo, p + 3, length - 3, caplen - 3); in llc_print()
309 ret = snap_print(ndo, p+3, length-3, caplen-3, 2); in llc_print()
369 snap_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, u_int bridge_pad) in snap_print() argument
376 if (caplen < 5 || length < 5) in snap_print()
400 caplen -= 5; in snap_print()
411 ret = ethertype_print(ndo, et, p, length, caplen); in snap_print()
426 ret = ethertype_print(ndo, et, p, length, caplen); in snap_print()
435 cdp_print(ndo, p, length, caplen); in snap_print()
468 caplen -= bridge_pad; in snap_print()
475 ether_print(ndo, p, length, caplen, NULL, NULL); in snap_print()
489 caplen -= bridge_pad; in snap_print()
497 token_print(ndo, p, length, caplen); in snap_print()
510 caplen -= bridge_pad + 1; in snap_print()
517 fddi_print(ndo, p, length, caplen); in snap_print()