aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-04-22 00:10:17 +0000
committerGuy Harris <guy@alum.mit.edu>2010-04-22 00:10:17 +0000
commitc6e453d090fdba2a8cd7254a53fd0e7968acc638 (patch)
tree5a41b9903dc0ea9be78724ffc417766be899959c /wiretap
parent21a210b77763224e0ac15611842cf7203d07fa08 (diff)
Update a comment to reflect recent changes and to reflect behavior of
later Linux kernels. svn path=/trunk/; revision=32535
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/wtap.h20
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 */