diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-04-22 00:10:17 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-04-22 00:10:17 +0000 |
commit | 48f95970cbe8c2057f7f846e38f1ad289fe4e0e0 (patch) | |
tree | 5a41b9903dc0ea9be78724ffc417766be899959c /wiretap | |
parent | e4f6cf400e4f5209a50bdb94ce8fd677b4672642 (diff) |
Update a comment to reflect recent changes and to reflect behavior of
later Linux kernels.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32535 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/wtap.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 6e89159389..ab562b5698 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -644,13 +644,27 @@ struct usb_device_setup_hdr { }; /* + * Information from the URB for Isochronous transfers. + */ +struct iso_rec { + guint32 error_count; + guint32 numdesc; +}; + +/* * Header prepended by Linux kernel to each USB event. - * Always followed by a struct usb_device_setup_hdr, although that header - * is valid only if setup_flag is 0; otherwise it's 8 bytes of junk. + * Always followed either by: + * + * a struct usb_device_setup_hdr, if "setup_flag" is 0; + * + * a struct iso_rec, if this is an isochronous transfer; + * + * 8 bytes of junk, otherwise. + * * (Setup flag is '-', 'D', 'Z', or 0. Data flag is '<', '>', 'Z', or 0.) * See linux/Documentation/usb/usbmon.txt and libpcap/pcap/usb.h for details. * - * We present this as a pseudo-header; the values are in host byte order. + * The values are in *host* byte order. */ struct linux_usb_phdr { guint64 id; /* urb id, to link submission and completion events */ |