Lines Matching refs:uhdr
1086 pcap_usb_header_mmapped *uhdr = (pcap_usb_header_mmapped *)buf; in swap_linux_usb_header() local
1104 uhdr->id = SWAPLL(uhdr->id); in swap_linux_usb_header()
1111 uhdr->bus_id = SWAPSHORT(uhdr->bus_id); in swap_linux_usb_header()
1118 uhdr->ts_sec = SWAPLL(uhdr->ts_sec); in swap_linux_usb_header()
1123 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()
1128 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()
1133 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()
1138 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()
1140 if (uhdr->transfer_type == URB_ISOCHRONOUS) { in swap_linux_usb_header()
1144 uhdr->s.iso.error_count = SWAPLONG(uhdr->s.iso.error_count); in swap_linux_usb_header()
1149 uhdr->s.iso.numdesc = SWAPLONG(uhdr->s.iso.numdesc); in swap_linux_usb_header()
1165 uhdr->interval = SWAPLONG(uhdr->interval); in swap_linux_usb_header()
1170 uhdr->start_frame = SWAPLONG(uhdr->start_frame); in swap_linux_usb_header()
1175 uhdr->xfer_flags = SWAPLONG(uhdr->xfer_flags); in swap_linux_usb_header()
1180 uhdr->ndesc = SWAPLONG(uhdr->ndesc); in swap_linux_usb_header()
1183 if (uhdr->transfer_type == URB_ISOCHRONOUS) { in swap_linux_usb_header()
1186 numdesc = uhdr->s.iso.numdesc; in swap_linux_usb_header()