summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2002-06-08 07:59:21 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2002-06-08 07:59:21 +0000
commiteea5018d0d7c1bb9effc7d83ffcdb7b8c644bb40 (patch)
treec9bcbf67da021d6137b9b4851213f51347c541ca /sys/netinet
parent489f3c0c0c1e04a6675abfd96e5c5e086d82892a (diff)
correctness
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/if_ether.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index f1284d7be0e..69aeed8dce5 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.20 2002/05/07 19:28:59 nate Exp $ */
+/* $OpenBSD: if_ether.h,v 1.21 2002/06/08 07:59:20 chris Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -40,14 +40,6 @@
#define _NETINET_IF_ETHER_H_
/*
- * Ethernet address - 6 octets
- * this is only used by the ethers(3) functions.
- */
-struct ether_addr {
- u_int8_t ether_addr_octet[6];
-};
-
-/*
* Some Ethernet constants.
*/
#define ETHER_ADDR_LEN 6 /* Ethernet address length */
@@ -58,6 +50,13 @@ struct ether_addr {
#define ETHER_MAX_LEN 1518 /* Maximum frame length, CRC included */
/*
+ * Ethernet address - 6 octets
+ */
+struct ether_addr {
+ u_int8_t ether_addr_octet[ETHER_ADDR_LEN];
+};
+
+/*
* The length of the combined header.
*/