Lines Matching defs:caplen
51 u_int caplen = hdr->caplen;
56 if (caplen < (u_int) (offsetof(struct pfloghdr, uid) + sizeof pflhdr->uid) ||
70 if (caplen < (u_int) (offsetof(struct pfloghdr, pid) + sizeof pflhdr->pid) ||
81 if (caplen < (u_int) (offsetof(struct pfloghdr, rule_uid) + sizeof pflhdr->rule_uid) ||
92 if (caplen < (u_int) (offsetof(struct pfloghdr, rule_pid) + sizeof pflhdr->rule_pid) ||
120 swap_socketcan_header(uint16_t protocol, u_int caplen, u_int length,
135 if (caplen < (u_int) (offsetof(pcap_can_socketcan_hdr, can_id) + sizeof hdrp->can_id) ||
150 if (caplen < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, priority_vcid) + sizeof xl_hdrp->priority_vcid) ||
156 if (caplen < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, payload_length) + sizeof xl_hdrp->payload_length) ||
162 if (caplen < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, acceptance_field) + sizeof xl_hdrp->acceptance_field) ||
190 u_int caplen = hdr->caplen;
194 if (caplen < (u_int) sizeof(struct sll_header) ||
204 caplen - (u_int) sizeof(struct sll_header),
215 u_int caplen = hdr->caplen;
219 if (caplen < (u_int) sizeof(struct sll2_header) ||
229 caplen - (u_int) sizeof(struct sll2_header),
261 if (hdr->caplen < offset)
268 if (hdr->caplen < offset)
275 if (hdr->caplen < offset)
280 if (hdr->caplen < offset)
285 if (hdr->caplen < offset)
290 if (hdr->caplen < offset)
295 if (hdr->caplen < offset)
301 if (hdr->caplen < offset)
306 if (hdr->caplen < offset)
333 if (hdr->caplen < offset)
338 if (hdr->caplen < offset)
343 if (hdr->caplen < offset)
348 if (hdr->caplen < offset)
360 if (hdr->caplen < offset)
365 if (hdr->caplen < offset)
370 if (hdr->caplen < offset)
399 u_int caplen = hdr->caplen;
403 if (caplen < (u_int) sizeof(nflog_hdr_t) ||
415 caplen -= sizeof(nflog_hdr_t);
418 while (caplen >= sizeof(nflog_tlv_t)) {
437 if (caplen < size || length < size) {
444 caplen -= size;
534 if (hdr->caplen < sizeof (pcap_usb_header_mmapped)) {
580 if (hdr->caplen < iso_pseudo_header_len(usb_hdr))
598 if (len >= hdr->caplen)
623 if (hdr->caplen > hdr->len)
624 hdr->len = hdr->caplen;