summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-04-02 01:26:26 +0000
committerwpaul <wpaul@FreeBSD.org>1995-04-02 01:26:26 +0000
commit4628637ad11b9dda4c1726b3fa7230a4d6a55141 (patch)
tree0e03d2699cff48f92c06a93dac4fa7ed01f9da05 /sys/netinet/if_ether.h
parent026951828d439755d8fa6844b8fc5a3c579f481c (diff)
downloadFreeBSD-src-4628637ad11b9dda4c1726b3fa7230a4d6a55141.zip
FreeBSD-src-4628637ad11b9dda4c1726b3fa7230a4d6a55141.tar.gz
Add declaration for struct ether_addr (this is where Sun documents
it to go).
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 016572f..935788c 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_ether.h 8.1 (Berkeley) 6/10/93
- * $Id: if_ether.h,v 1.6 1994/12/22 21:56:22 wollman Exp $
+ * $Id: if_ether.h,v 1.7 1994/12/22 22:00:30 wollman Exp $
*/
#ifndef _NETINET_IF_ETHER_H_
@@ -46,6 +46,13 @@ struct ether_header {
u_short ether_type;
};
+/*
+ * Structure of a 48-bit Ethernet address.
+ */
+struct ether_addr {
+ u_char octet[6];
+};
+
#define ETHERTYPE_PUP 0x0200 /* PUP protocol */
#define ETHERTYPE_IP 0x0800 /* IP protocol */
#define ETHERTYPE_ARP 0x0806 /* Addr. resolution protocol */
OpenPOWER on IntegriCloud