summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-07-30 22:22:20 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-07-30 22:22:20 +0000
commit4ca7568cd31ada63fd63f94a0007f43e90957912 (patch)
treef093b56bd6846146a19df079803fad72678ae1e2 /sys/net
parent2acf2daa444cdec4f81284462d6813b5fb9917f9 (diff)
Add IEEE 802 hardware type.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_arp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_arp.h b/sys/net/if_arp.h
index 837ed1cedef..d123a1a797d 100644
--- a/sys/net/if_arp.h
+++ b/sys/net/if_arp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_arp.h,v 1.2 1997/02/24 13:33:57 niklas Exp $ */
+/* $OpenBSD: if_arp.h,v 1.3 1999/07/30 22:22:19 fgsch Exp $ */
/* $NetBSD: if_arp.h,v 1.8 1995/03/08 02:56:52 cgd Exp $ */
/*
@@ -49,6 +49,7 @@
struct arphdr {
u_int16_t ar_hrd; /* format of hardware address */
#define ARPHRD_ETHER 1 /* ethernet hardware format */
+#define ARPHRD_IEEE802 6 /* IEEE 802 hardware format */
#define ARPHRD_FRELAY 15 /* frame relay hardware format */
u_int16_t ar_pro; /* format of protocol address */
u_int8_t ar_hln; /* length of hardware address */