Searched refs:uhdr (Results 1 – 3 of 3) sorted by relevance
1448 pcap_usb_header_mmapped *uhdr = (pcap_usb_header_mmapped *)buf; in swap_linux_usb_header() local1464 uhdr->id = SWAPLL(uhdr->id); in swap_linux_usb_header()1471 uhdr->bus_id = SWAPSHORT(uhdr->bus_id); in swap_linux_usb_header()1478 uhdr->ts_sec = SWAPLL(uhdr->ts_sec); in swap_linux_usb_header()1483 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()1488 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()1493 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()1498 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()1500 if (uhdr->transfer_type == URB_ISOCHRONOUS) { in swap_linux_usb_header()1504 uhdr->s.iso.error_count = SWAPLONG(uhdr->s.iso.error_count); in swap_linux_usb_header()[all …]
871 pcap_usb_header* uhdr = (pcap_usb_header*)handle->buffer; in usb_read_linux() local911 uhdr->id = tag; in usb_read_linux()912 uhdr->device_address = dev_addr; in usb_read_linux()913 uhdr->bus_id = handlep->bus_index; in usb_read_linux()914 uhdr->status = 0; in usb_read_linux()924 uhdr->ts_sec = pkth.ts.tv_sec; in usb_read_linux()925 uhdr->ts_usec = (int32_t)pkth.ts.tv_usec; in usb_read_linux()952 uhdr->event_type = etype; in usb_read_linux()953 uhdr->transfer_type = urb_transfer; in usb_read_linux()954 uhdr->endpoint_number = ep_num; in usb_read_linux()[all …]
8165 struct udphdr *uhdr; local8174 uhdr = (struct udphdr *)((caddr_t)iph + off);8175 port = uhdr->uh_sport;