]> The Tcpdump Group git mirrors - libpcap/commitdiff
Indicate which headers go with which DLT_ values.
authorguy <guy>
Thu, 21 Dec 2006 18:56:21 +0000 (18:56 +0000)
committerguy <guy>
Thu, 21 Dec 2006 18:56:21 +0000 (18:56 +0000)
pcap/usb.h

index d011a23fde1089d393254661e75f0e8ea8232eef..8221571ebac88ce73aa58c0fa9125ca5bd310559 100644 (file)
@@ -54,7 +54,8 @@
 #define URB_ERROR         'E'
 
 /*
 #define URB_ERROR         'E'
 
 /*
- * USB setup header as defined in USB specification 
+ * USB setup header as defined in USB specification.
+ * Appears at the front of each packet in DLT_USB captures.
  */
 typedef struct _usb_setup {
        u_int8_t bmRequestType;
  */
 typedef struct _usb_setup {
        u_int8_t bmRequestType;
@@ -66,7 +67,8 @@ typedef struct _usb_setup {
 
 
 /*
 
 
 /*
- * Header prepent by linux kernel to each event
+ * Header prepended by linux kernel to each event.
+ * Appears at the front of each packet in DLT_USB_LINUX captures.
  */
 typedef struct _usb_header {
        u_int64_t id;
  */
 typedef struct _usb_header {
        u_int64_t id;