Paolo Abeni wrote:
A binary interface for sniffing USB packets is coming, so we will soon
get packets with this header formatted following the standard. The
attached patch change the usb setup struct as the standard tell, it is
worthy ?
Yes. Checked in.
-
This is the tcpdump-workers list.
Vis
Since only 4 such capture files are known to exist as of today, it is
probably better to do the change sooner than later.
Paolo,
you will also need to generate new example captures for the wireshark
wiki as well as a patch to update wireshark asap and if this pcap
patch is accepted.
The wireshar
hello,
In the current usb header (), I defined the usb setup header
as:
typedef struct _usb_setup {
bpf_u_int32 bmRequestType;
bpf_u_int32 bRequest;
bpf_u_int32 wValue;
bpf_u_int32 wIndex;
bpf_u_int32 wLength;
} pcap_usb_setup;
I choose the length of each field arbitrary, because in cu