Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Add the ETHERTYPE_QINQ for 802.1ad VLAN stacking



details:   https://anonhg.NetBSD.org/src/rev/7a40875be94a
branches:  trunk
changeset: 968035:7a40875be94a
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Jan 01 10:04:37 2020 +0000

description:
Add the ETHERTYPE_QINQ for 802.1ad VLAN stacking

diffstat:

 sys/net/ethertypes.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 65206838de11 -r 7a40875be94a sys/net/ethertypes.h
--- a/sys/net/ethertypes.h      Wed Jan 01 09:40:17 2020 +0000
+++ b/sys/net/ethertypes.h      Wed Jan 01 10:04:37 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ethertypes.h,v 1.18 2012/09/23 01:14:19 chs Exp $      */
+/*     $NetBSD: ethertypes.h,v 1.19 2020/01/01 10:04:37 ryo Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -299,6 +299,7 @@
 #define        ETHERTYPE_LANPROBE      0x8888  /* HP LanProbe test? */
 #define        ETHERTYPE_PAE           0x888e  /* EAPOL PAE/802.1x */
 #define        ETHERTYPE_AOE           0x88a2  /* ATA over Ethernet */
+#define        ETHERTYPE_QINQ          0x88a8  /* 802.1ad VLAN stacking */
 #define        ETHERTYPE_FCOE          0x8906  /* Fibre Channel over Ethernet */
 #define        ETHERTYPE_LOOPBACK      0x9000  /* Loopback */
 #define        ETHERTYPE_LBACK         ETHERTYPE_LOOPBACK      /* DEC MOP loopback */



Home | Main Index | Thread Index | Old Index