Lines Matching defs:caplen
111 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
117 u_int caplen = h->caplen;
123 if (caplen < SLL_HDR_LEN) {
130 return (caplen);
142 caplen -= SLL_HDR_LEN;
170 if (llc_print(p, length, caplen, NULL, NULL,
188 default_print(p, caplen);
196 if (caplen < 4 || length < 4) {
218 caplen -= 4;
221 if (ethertype_print(gndo, ether_type, p, length, caplen) == 0) {
226 default_print(p, caplen);