Lines Matching refs:caplen
1177 if (hdr->caplen < offset) in swap_linux_usb_header()
1184 if (hdr->caplen < offset) in swap_linux_usb_header()
1191 if (hdr->caplen < offset) in swap_linux_usb_header()
1196 if (hdr->caplen < offset) in swap_linux_usb_header()
1201 if (hdr->caplen < offset) in swap_linux_usb_header()
1206 if (hdr->caplen < offset) in swap_linux_usb_header()
1211 if (hdr->caplen < offset) in swap_linux_usb_header()
1217 if (hdr->caplen < offset) in swap_linux_usb_header()
1222 if (hdr->caplen < offset) in swap_linux_usb_header()
1249 if (hdr->caplen < offset) in swap_linux_usb_header()
1254 if (hdr->caplen < offset) in swap_linux_usb_header()
1259 if (hdr->caplen < offset) in swap_linux_usb_header()
1264 if (hdr->caplen < offset) in swap_linux_usb_header()
1276 if (hdr->caplen < offset) in swap_linux_usb_header()
1281 if (hdr->caplen < offset) in swap_linux_usb_header()
1286 if (hdr->caplen < offset) in swap_linux_usb_header()
1315 u_int caplen = hdr->caplen; in swap_nflog_header() local
1319 if (caplen < (int) sizeof(nflog_hdr_t) || length < (int) sizeof(nflog_hdr_t)) { in swap_nflog_header()
1330 caplen -= sizeof(nflog_hdr_t); in swap_nflog_header()
1333 while (caplen >= sizeof(nflog_tlv_t)) { in swap_nflog_header()
1352 if (caplen < size || length < size) { in swap_nflog_header()
1359 caplen -= size; in swap_nflog_header()