suricata
|
Go to the source code of this file.
Data Structures | |
struct | VNTagHdr_ |
Macros | |
#define | GET_VNTAG_DIR(vntagh) ((SCNtohl((vntagh)->tag) & 0x80000000) >> 31) |
#define | GET_VNTAG_PTR(vntagh) ((SCNtohl((vntagh)->tag) & 0x40000000) >> 30) |
#define | GET_VNTAG_DEST(vntagh) ((SCNtohl((vntagh)->tag) & 0x3FFF0000) >> 16) |
#define | GET_VNTAG_LOOPED(vntagh) ((SCNtohl((vntagh)->tag) & 0x00008000) >> 15) |
#define | GET_VNTAG_VERSION(vntagh) ((SCNtohl((vntagh)->tag) & 0x00003000) >> 12) |
#define | GET_VNTAG_SRC(vntagh) ((SCNtohl((vntagh)->tag) & 0x00000FFF)) |
#define | GET_VNTAG_PROTO(vntagh) ((SCNtohs((vntagh)->protocol))) |
#define | VNTAG_HEADER_LEN 6 |
Functions | |
struct VNTagHdr_ | __attribute__ ((__packed__)) VNTagHdr |
DNP3 link header. More... | |
void | DecodeVNTagRegisterTests (void) |
Variables | |
uint32_t | tag |
uint16_t | protocol |
Definition in file decode-vntag.h.
Definition at line 32 of file decode-vntag.h.
VNTag macros to access VNTag direction, dst vif_id, dest, looped, version, src vif_id
Definition at line 30 of file decode-vntag.h.
Definition at line 33 of file decode-vntag.h.
Definition at line 36 of file decode-vntag.h.
Definition at line 31 of file decode-vntag.h.
Definition at line 35 of file decode-vntag.h.
Definition at line 34 of file decode-vntag.h.
#define VNTAG_HEADER_LEN 6 |
VNTag header length
Definition at line 45 of file decode-vntag.h.
void DecodeVNTagRegisterTests | ( | void | ) |
Definition at line 172 of file decode-vntag.c.
References UtRegisterTest().
uint16_t protocol |
protocol field
Definition at line 1 of file decode-vntag.h.
uint32_t tag |
Definition at line 0 of file decode-vntag.h.
Referenced by TagHashAddTag().