suricata
|
#include "suricata-common.h"
#include "suricata.h"
#include "decode.h"
#include "decode-events.h"
#include "decode-nsh.h"
#include "util-validate.h"
#include "util-unittest.h"
#include "util-debug.h"
Go to the source code of this file.
int | DecodeNSH (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len) |
Function to decode NSH packets. More... | |
void | DecodeNSHRegisterTests (void) |
Decodes Network Service Header (NSH)
Definition in file decode-nsh.c.
int DecodeNSH | ( | ThreadVars * | tv, |
DecodeThreadVars * | dtv, | ||
Packet * | p, | ||
const uint8_t * | pkt, | ||
uint32_t | len | ||
) |
Function to decode NSH packets.
Definition at line 46 of file decode-nsh.c.
References DecodeThreadVars_::counter_nsh, DEBUG_VALIDATE_BUG_ON, dtv, ENGINE_SET_INVALID_EVENT, len, NSH_HEADER_TOO_SMALL, StatsIncr(), TM_ECODE_FAILED, and tv.
void DecodeNSHRegisterTests | ( | void | ) |
Definition at line 283 of file decode-nsh.c.
References UtRegisterTest().