|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* Copyright (C) 2007-2013 Open Information Security Foundation
|
|
|
|
|
/* Copyright (C) 2007-2020 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
|
|
|
|
@ -905,7 +905,8 @@ void CaptureStatsSetup(ThreadVars *tv, CaptureStats *s);
|
|
|
|
|
|
|
|
|
|
enum DecodeTunnelProto {
|
|
|
|
|
DECODE_TUNNEL_ETHERNET,
|
|
|
|
|
DECODE_TUNNEL_ERSPAN,
|
|
|
|
|
DECODE_TUNNEL_ERSPANII,
|
|
|
|
|
DECODE_TUNNEL_ERSPANI,
|
|
|
|
|
DECODE_TUNNEL_VLAN,
|
|
|
|
|
DECODE_TUNNEL_IPV4,
|
|
|
|
|
DECODE_TUNNEL_IPV6,
|
|
|
|
@ -958,6 +959,8 @@ int DecodeVLAN(ThreadVars *, DecodeThreadVars *, Packet *, uint8_t *, uint32_t,
|
|
|
|
|
int DecodeVXLAN(ThreadVars *, DecodeThreadVars *, Packet *, uint8_t *, uint32_t, PacketQueue *);
|
|
|
|
|
int DecodeMPLS(ThreadVars *, DecodeThreadVars *, Packet *, uint8_t *, uint32_t, PacketQueue *);
|
|
|
|
|
int DecodeERSPAN(ThreadVars *, DecodeThreadVars *, Packet *, uint8_t *, uint32_t, PacketQueue *);
|
|
|
|
|
int DecodeERSPANTypeII(ThreadVars *, DecodeThreadVars *, Packet *, uint8_t *, uint32_t, PacketQueue *);
|
|
|
|
|
int DecodeERSPANTypeI(ThreadVars *, DecodeThreadVars *, Packet *, uint8_t *, uint32_t, PacketQueue *);
|
|
|
|
|
int DecodeTEMPLATE(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t, PacketQueue *);
|
|
|
|
|
|
|
|
|
|
#ifdef UNITTESTS
|
|
|
|
|