Home
last modified time | relevance | path

Searched refs:pcap_usb_header (Results 1 – 3 of 3) sorted by relevance

/external/tcpdump/
Dprint-usb.c84 usb_header_print(netdissect_options *ndo, const pcap_usb_header *uh) in usb_header_print()
141 if (h->caplen < sizeof(pcap_usb_header)) { in usb_linux_48_byte_print()
143 return(sizeof(pcap_usb_header)); in usb_linux_48_byte_print()
146 usb_header_print(ndo, (const pcap_usb_header *) p); in usb_linux_48_byte_print()
148 return(sizeof(pcap_usb_header)); in usb_linux_48_byte_print()
169 usb_header_print(ndo, (const pcap_usb_header *) p); in usb_linux_64_byte_print()
/external/libpcap/
Dpcap-usb-linux.c96 pcap_usb_header *hdr;
749 if (usb_set_ring_size(handle, (int)sizeof(pcap_usb_header)) == -1) { in usb_activate()
871 pcap_usb_header* uhdr = (pcap_usb_header*)handle->buffer; in usb_read_linux()
955 pkth.caplen = sizeof(pcap_usb_header); in usb_read_linux()
956 rawdata += sizeof(pcap_usb_header); in usb_read_linux()
1188 u_int clen = handle->snapshot - sizeof(pcap_usb_header); in usb_read_linux_bin()
1191 info.hdr = (pcap_usb_header*) handle->buffer; in usb_read_linux_bin()
1192 info.data = (u_char *)handle->buffer + sizeof(pcap_usb_header); in usb_read_linux_bin()
1235 pkth.caplen = sizeof(pcap_usb_header) + clen; in usb_read_linux_bin()
1242 pkth.len = sizeof(pcap_usb_header) + info.hdr->data_len; in usb_read_linux_bin()
[all …]
/external/libpcap/pcap/
Dusb.h94 } pcap_usb_header; typedef