summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/ether.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcpdump/ether.h')
-rw-r--r--contrib/tcpdump/ether.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/tcpdump/ether.h b/contrib/tcpdump/ether.h
index 58b92de5..6491678 100644
--- a/contrib/tcpdump/ether.h
+++ b/contrib/tcpdump/ether.h
@@ -41,18 +41,17 @@
#define ETHER_ADDR_LEN 6
/*
- * Structure of a DEC/Intel/Xerox or 802.3 Ethernet header.
+ * Structure of an Ethernet header.
*/
struct ether_header {
uint8_t ether_dhost[ETHER_ADDR_LEN];
uint8_t ether_shost[ETHER_ADDR_LEN];
- uint16_t ether_type;
+ uint16_t ether_length_type;
};
/*
- * Length of a DEC/Intel/Xerox or 802.3 Ethernet header; note that some
- * compilers may pad "struct ether_header" to a multiple of 4 bytes,
- * for example, so "sizeof (struct ether_header)" may not give the right
- * answer.
+ * Length of an Ethernet header; note that some compilers may pad
+ * "struct ether_header" to a multiple of 4 bytes, for example, so
+ * "sizeof (struct ether_header)" may not give the right answer.
*/
#define ETHER_HDRLEN 14
OpenPOWER on IntegriCloud