|
suricata
|
#include "suricata-common.h"#include "decode.h"#include "decode-ppp.h"#include "decode-events.h"#include "flow.h"#include "util-validate.h"#include "util-unittest.h"#include "util-debug.h"
Go to the source code of this file.
Functions | |
| int | DecodePPP (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len) |
| void | DecodePPPRegisterTests (void) |
Decode PPP
Definition in file decode-ppp.c.
| int DecodePPP | ( | ThreadVars * | tv, |
| DecodeThreadVars * | dtv, | ||
| Packet * | p, | ||
| const uint8_t * | pkt, | ||
| uint32_t | len | ||
| ) |
Definition at line 177 of file decode-ppp.c.
References DecodeThreadVars_::counter_ppp, DEBUG_VALIDATE_BUG_ON, dtv, ENGINE_SET_INVALID_EVENT, len, PPP_PKT_TOO_SMALL, proto_size, StatsIncr(), TM_ECODE_FAILED, tv, and unlikely.
Referenced by ValidateLinkType().


| void DecodePPPRegisterTests | ( | void | ) |
Definition at line 357 of file decode-ppp.c.
References UtRegisterTest().
