Lines Matching refs:clen
788 int clen = handle->snapshot - sizeof(pcap_usb_header); in usb_read_linux_bin() local
793 info.data_len = clen; in usb_read_linux_bin()
816 if (info.hdr->data_len < clen) in usb_read_linux_bin()
817 clen = info.hdr->data_len; in usb_read_linux_bin()
818 info.hdr->data_len = clen; in usb_read_linux_bin()
819 pkth.caplen = clen + sizeof(pcap_usb_header); in usb_read_linux_bin()
850 int clen, max_clen; in usb_read_linux_mmap() local
895 clen = max_clen; in usb_read_linux_mmap()
896 if (hdr->data_len < clen) in usb_read_linux_mmap()
897 clen = hdr->data_len; in usb_read_linux_mmap()
900 pkth.caplen = clen + sizeof(pcap_usb_header_mmapped); in usb_read_linux_mmap()