summaryrefslogtreecommitdiffstats
path: root/ether.h
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-01-06 19:03:11 +0000
committerdelphij <delphij@FreeBSD.org>2015-01-06 19:03:11 +0000
commit08263d19579d35a7a65e0c8bcb768504ce76d04e (patch)
treeb0af675e15d65cc0adac2367c37233a794389c9a /ether.h
parent89918529102669b0d24d8aac9e5516b010b1c81c (diff)
downloadFreeBSD-src-08263d19579d35a7a65e0c8bcb768504ce76d04e.zip
FreeBSD-src-08263d19579d35a7a65e0c8bcb768504ce76d04e.tar.gz
Vendor import of tcpdump 4.6.2.
Diffstat (limited to 'ether.h')
-rw-r--r--ether.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ether.h b/ether.h
index e8b3a71..58b92de5 100644
--- a/ether.h
+++ b/ether.h
@@ -1,4 +1,3 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/ether.h,v 1.8 2002-12-11 07:13:51 guy Exp $ (LBL) */
/*
* Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved.
@@ -45,9 +44,9 @@
* Structure of a DEC/Intel/Xerox or 802.3 Ethernet header.
*/
struct ether_header {
- u_int8_t ether_dhost[ETHER_ADDR_LEN];
- u_int8_t ether_shost[ETHER_ADDR_LEN];
- u_int16_t ether_type;
+ uint8_t ether_dhost[ETHER_ADDR_LEN];
+ uint8_t ether_shost[ETHER_ADDR_LEN];
+ uint16_t ether_type;
};
/*
OpenPOWER on IntegriCloud