ddn.lib.pcap.link.usb

USB pseudo-headers for libpcap.

Authors

Dejan Lekić

License

BSD-3-Clause

Types 3

structpcap_usb_setup
Fields
u_char bmRequestType
u_char bRequest
u_short wValue
u_short wIndex
u_short wLength
structpcap_usb_header
Fields
ulong id
u_char event_type
u_char transfer_type
u_char endpoint_number
u_char device_address
u_short bus_id
u_char setup_flag
u_char data_flag
long ts_sec
int ts_usec
int status
uint urb_len
uint data_len
pcap_usb_setup setup
structpcap_usb_header_mmapped
Fields
ulong id
u_char event_type
u_char transfer_type
u_char endpoint_number
u_char device_address
u_short bus_id
u_char setup_flag
u_char data_flag
long ts_sec
int ts_usec
int status
uint urb_len
uint data_len
S s
int interval
int start_frame
int xfer_flags
uint ndesc