From: guy Date: Thu, 21 Dec 2006 18:56:21 +0000 (+0000) Subject: Indicate which headers go with which DLT_ values. X-Git-Tag: libpcap-1.1.0~496 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/7bf28e7fd2f3e98e6b32260e8d7b608263ec720b?ds=inline Indicate which headers go with which DLT_ values. --- diff --git a/pcap/usb.h b/pcap/usb.h index d011a23f..8221571e 100644 --- a/pcap/usb.h +++ b/pcap/usb.h @@ -54,7 +54,8 @@ #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; @@ -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;