Lines Matching refs:caplen
1102 if (hdr->caplen < offset) in swap_linux_usb_header()
1109 if (hdr->caplen < offset) in swap_linux_usb_header()
1116 if (hdr->caplen < offset) in swap_linux_usb_header()
1121 if (hdr->caplen < offset) in swap_linux_usb_header()
1126 if (hdr->caplen < offset) in swap_linux_usb_header()
1131 if (hdr->caplen < offset) in swap_linux_usb_header()
1136 if (hdr->caplen < offset) in swap_linux_usb_header()
1142 if (hdr->caplen < offset) in swap_linux_usb_header()
1147 if (hdr->caplen < offset) in swap_linux_usb_header()
1163 if (hdr->caplen < offset) in swap_linux_usb_header()
1168 if (hdr->caplen < offset) in swap_linux_usb_header()
1173 if (hdr->caplen < offset) in swap_linux_usb_header()
1178 if (hdr->caplen < offset) in swap_linux_usb_header()
1189 if (hdr->caplen < offset) in swap_linux_usb_header()
1194 if (hdr->caplen < offset) in swap_linux_usb_header()
1199 if (hdr->caplen < offset) in swap_linux_usb_header()
1227 u_int caplen = hdr->caplen; in swap_nflog_header() local
1231 if (caplen < (int) sizeof(nflog_hdr_t) || length < (int) sizeof(nflog_hdr_t)) { in swap_nflog_header()
1242 caplen -= sizeof(nflog_hdr_t); in swap_nflog_header()
1245 while (caplen >= sizeof(nflog_tlv_t)) { in swap_nflog_header()
1264 if (caplen < size || length < size) { in swap_nflog_header()
1271 caplen -= size; in swap_nflog_header()