suricata
|
#include "suricata-common.h"
#include "decode.h"
#include "decode-vlan.h"
#include "decode-events.h"
#include "util-validate.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "util-unittest-helper.h"
#include "packet.h"
Go to the source code of this file.
Data Structures | |
struct | IEEE8021ahHdr_ |
Macros | |
#define | IEEE8021AH_HEADER_LEN sizeof(IEEE8021ahHdr) |
Functions | |
int | DecodeVLAN (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len) |
struct IEEE8021ahHdr_ | __attribute__ ((__packed__)) |
DNP3 link header. | |
void | DecodeVLANRegisterTests (void) |
Variables | |
uint32_t | flags |
uint8_t | c_destination [6] |
uint8_t | c_source [6] |
uint16_t | type |
Decode 802.1q
Definition in file decode-vlan.c.
#define IEEE8021AH_HEADER_LEN sizeof(IEEE8021ahHdr) |
int DecodeVLAN | ( | ThreadVars * | tv, |
DecodeThreadVars * | dtv, | ||
Packet * | p, | ||
const uint8_t * | pkt, | ||
uint32_t | len | ||
) |
Definition at line 54 of file decode-vlan.c.
void DecodeVLANRegisterTests | ( | void | ) |
Definition at line 256 of file decode-vlan.c.
References UtRegisterTest().
uint8_t c_destination[6] |
Definition at line 104 of file decode-vlan.c.
uint8_t c_source[6] |
Definition at line 105 of file decode-vlan.c.
uint32_t flags |
Definition at line 103 of file decode-vlan.c.
uint16_t type |
next protocol
Definition at line 106 of file decode-vlan.c.
Referenced by CreateEveHeader(), DatajsonGet(), DatasetFind(), DatasetGet(), DatasetGetOrCreate(), DecodeICMPV4(), DecodeICMPV6(), DecodeNull(), DetectEngineFrameInspectEngineRegister(), DetectEngineFrameMpmRegister(), DetectFileHashSetup(), DetectFrameMpmRegister(), DetectSigmatchListEnumToString(), DetectVarStoreMatch(), DetectVarStoreMatchKeyValue(), FrameConfigEnable(), ICMPv4GetCounterpart(), ICMPv6GetCounterpart(), LoadHashTable(), LuaDumpStack(), LuaPrintStack(), PostRuleMatchWorkQueueAppend(), SCLogLoadConfig(), SCOutputRegisterStreamingLogger(), SCSigMatchAppendSMToList(), StorageAllocByIdPrealloc(), StorageFreeAll(), StorageFreeById(), StorageGetCnt(), StorageGetSize(), StorageRegister(), VarNameStoreLookupById(), VarNameStoreLookupByName(), VarNameStoreRegister(), VarNameStoreSetupLookup(), and VarNameStoreUnregister().