summaryrefslogtreecommitdiffstats
path: root/sys/net/if_arp.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-02-20 11:18:00 +0000
committerjulian <julian@FreeBSD.org>1999-02-20 11:18:00 +0000
commit16c8d9e8d0ca48475483b6c811b4af317c734ab0 (patch)
treee3e5ce3fffddfb7abb04759c7f4a6af8d76a18c1 /sys/net/if_arp.h
parent0fd1dd9aabd45a0d145034aef2766eb2a88c1185 (diff)
downloadFreeBSD-src-16c8d9e8d0ca48475483b6c811b4af317c734ab0.zip
FreeBSD-src-16c8d9e8d0ca48475483b6c811b4af317c734ab0.tar.gz
World, I'd like you to meet the first FreeBSD token Ring driver.
This is for various Olicom cards. An IBM driver is following. This patch also adds support to tcpdump to decode packets on tokenring. Congratulations to the proud father.. (below) Submitted by: Larry Lile <lile@stdio.com>
Diffstat (limited to 'sys/net/if_arp.h')
-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 17439ff..e33abae 100644
--- a/sys/net/if_arp.h
+++ b/sys/net/if_arp.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_arp.h 8.1 (Berkeley) 6/10/93
- * $Id: if_arp.h,v 1.9 1998/01/08 23:41:18 eivind Exp $
+ * $Id: if_arp.h,v 1.10 1998/01/10 07:29:10 bde Exp $
*/
#ifndef _NET_IF_ARP_H_
@@ -50,6 +50,7 @@
struct arphdr {
u_short ar_hrd; /* format of hardware address */
#define ARPHRD_ETHER 1 /* ethernet hardware format */
+#define ARPHRD_IEEE802 6 /* token-ring hardware format */
#define ARPHRD_FRELAY 15 /* frame relay hardware format */
u_short ar_pro; /* format of protocol address */
u_char ar_hln; /* length of hardware address */
OpenPOWER on IntegriCloud