]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
decode: Add ethertype for VNTAG
authorJeff Lucovsky <jeff@lucovsky.org>
Sat, 24 Apr 2021 19:36:57 +0000 (15:36 -0400)
committerJeff Lucovsky <jeff@lucovsky.org>
Tue, 1 Jun 2021 12:22:34 +0000 (08:22 -0400)
(cherry picked from commit 049afde3a275ab748f4ef1f4777b9cfd5dd400ce)

src/decode-ethernet.h

index 93ed61af89375f8cbc827b586919a03c96a5c5b0..2fae887787230d84dddd2d8912a83a842ea4ebf8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2010 Open Information Security Foundation
+/* Copyright (C) 2007-2021 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -48,6 +48,7 @@
 #define ETHERNET_TYPE_ERSPAN          0x88BE
 #define ETHERNET_TYPE_DCE             0x8903 /* Data center ethernet,
                                               * Cisco Fabric Path */
+#define ETHERNET_TYPE_VNTAG 0x8926           /* 802.1Qbh */
 
 typedef struct EthernetHdr_ {
     uint8_t eth_dst[6];