]> 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)
committerVictor Julien <victor@inliniac.net>
Tue, 4 May 2021 08:26:51 +0000 (10:26 +0200)
src/decode-ethernet.h

index 7bbfa62df8d3784135f43813c196e106ff5ce452..72a75bb03a2fc6698d0929ce86781a658d73424e 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
@@ -49,6 +49,7 @@
 #define ETHERNET_TYPE_DCE             0x8903 /* Data center ethernet,
                                               * Cisco Fabric Path */
 #define ETHERNET_TYPE_NSH 0x894F
+#define ETHERNET_TYPE_VNTAG 0x8926 /* 802.1Qbh */
 
 typedef struct EthernetHdr_ {
     uint8_t eth_dst[6];