Sun Sep 23 01:14:19 2012 UTC ()
add entries for AOE and FCOE.


(chs)
diff -r1.17 -r1.18 src/sys/net/ethertypes.h

cvs diff -r1.17 -r1.18 src/sys/net/ethertypes.h (expand / switch to unified diff)

--- src/sys/net/ethertypes.h 2005/12/10 23:21:38 1.17
+++ src/sys/net/ethertypes.h 2012/09/23 01:14:19 1.18
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: ethertypes.h,v 1.17 2005/12/10 23:21:38 elad Exp $ */ 1/* $NetBSD: ethertypes.h,v 1.18 2012/09/23 01:14:19 chs Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1982, 1986, 1993 4 * Copyright (c) 1982, 1986, 1993
5 * The Regents of the University of California. All rights reserved. 5 * The Regents of the University of California. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -288,26 +288,28 @@ @@ -288,26 +288,28 @@
288#define ETHERTYPE_IPAS 0x876C /* IP Autonomous Systems (RFC1701) */ 288#define ETHERTYPE_IPAS 0x876C /* IP Autonomous Systems (RFC1701) */
289#define ETHERTYPE_SECUREDATA 0x876D /* Secure Data (RFC1701) */ 289#define ETHERTYPE_SECUREDATA 0x876D /* Secure Data (RFC1701) */
290#define ETHERTYPE_FLOWCONTROL 0x8808 /* 802.3x flow control packet */ 290#define ETHERTYPE_FLOWCONTROL 0x8808 /* 802.3x flow control packet */
291#define ETHERTYPE_SLOWPROTOCOLS 0x8809 /* Slow protocols */ 291#define ETHERTYPE_SLOWPROTOCOLS 0x8809 /* Slow protocols */
292#define ETHERTYPE_PPP 0x880B /* PPP (obsolete by PPPOE) */ 292#define ETHERTYPE_PPP 0x880B /* PPP (obsolete by PPPOE) */
293#define ETHERTYPE_HITACHI 0x8820 /* Hitachi Cable (Optoelectronic Systems Laboratory) */ 293#define ETHERTYPE_HITACHI 0x8820 /* Hitachi Cable (Optoelectronic Systems Laboratory) */
294#define ETHERTYPE_MPLS 0x8847 /* MPLS Unicast */ 294#define ETHERTYPE_MPLS 0x8847 /* MPLS Unicast */
295#define ETHERTYPE_MPLS_MCAST 0x8848 /* MPLS Multicast */ 295#define ETHERTYPE_MPLS_MCAST 0x8848 /* MPLS Multicast */
296#define ETHERTYPE_AXIS 0x8856 /* Axis Communications AB proprietary bootstrap/config */ 296#define ETHERTYPE_AXIS 0x8856 /* Axis Communications AB proprietary bootstrap/config */
297#define ETHERTYPE_PPPOEDISC 0x8863 /* PPP Over Ethernet Discovery Stage */ 297#define ETHERTYPE_PPPOEDISC 0x8863 /* PPP Over Ethernet Discovery Stage */
298#define ETHERTYPE_PPPOE 0x8864 /* PPP Over Ethernet Session Stage */ 298#define ETHERTYPE_PPPOE 0x8864 /* PPP Over Ethernet Session Stage */
299#define ETHERTYPE_LANPROBE 0x8888 /* HP LanProbe test? */ 299#define ETHERTYPE_LANPROBE 0x8888 /* HP LanProbe test? */
300#define ETHERTYPE_PAE 0x888e /* EAPOL PAE/802.1x */ 300#define ETHERTYPE_PAE 0x888e /* EAPOL PAE/802.1x */
 301#define ETHERTYPE_AOE 0x88a2 /* ATA over Ethernet */
 302#define ETHERTYPE_FCOE 0x8906 /* Fibre Channel over Ethernet */
301#define ETHERTYPE_LOOPBACK 0x9000 /* Loopback */ 303#define ETHERTYPE_LOOPBACK 0x9000 /* Loopback */
302#define ETHERTYPE_LBACK ETHERTYPE_LOOPBACK /* DEC MOP loopback */ 304#define ETHERTYPE_LBACK ETHERTYPE_LOOPBACK /* DEC MOP loopback */
303#define ETHERTYPE_XNSSM 0x9001 /* 3Com (Formerly Bridge Communications), XNS Systems Management */ 305#define ETHERTYPE_XNSSM 0x9001 /* 3Com (Formerly Bridge Communications), XNS Systems Management */
304#define ETHERTYPE_TCPSM 0x9002 /* 3Com (Formerly Bridge Communications), TCP/IP Systems Management */ 306#define ETHERTYPE_TCPSM 0x9002 /* 3Com (Formerly Bridge Communications), TCP/IP Systems Management */
305#define ETHERTYPE_BCLOOP 0x9003 /* 3Com (Formerly Bridge Communications), loopback detection */ 307#define ETHERTYPE_BCLOOP 0x9003 /* 3Com (Formerly Bridge Communications), loopback detection */
306#define ETHERTYPE_DEBNI 0xAAAA /* DECNET? Used by VAX 6220 DEBNI */ 308#define ETHERTYPE_DEBNI 0xAAAA /* DECNET? Used by VAX 6220 DEBNI */
307#define ETHERTYPE_SONIX 0xFAF5 /* Sonix Arpeggio */ 309#define ETHERTYPE_SONIX 0xFAF5 /* Sonix Arpeggio */
308#define ETHERTYPE_VITAL 0xFF00 /* BBN VITAL-LanBridge cache wakeups */ 310#define ETHERTYPE_VITAL 0xFF00 /* BBN VITAL-LanBridge cache wakeups */
309 /* 0xFF00 - 0xFFOF ISC Bunker Ramo */ 311 /* 0xFF00 - 0xFFOF ISC Bunker Ramo */
310 312
311#define ETHERTYPE_MAX 0xFFFF /* Maximum valid ethernet type, reserved */ 313#define ETHERTYPE_MAX 0xFFFF /* Maximum valid ethernet type, reserved */
312 314
313#endif /* !_NET_ETHERTYPES_H_ */ 315#endif /* !_NET_ETHERTYPES_H_ */