|
suricata
|
#include "suricata-common.h"#include "decode-esp.h"#include "flow.h"#include "util-validate.h"#include "util-unittest.h"
Go to the source code of this file.
Functions | |
| int | DecodeESP (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint16_t len) |
| Function to decode IPSEC-ESP packets. More... | |
| void | DecodeESPRegisterTests (void) |
Decode Encapsulating Security Payload (ESP)
Definition in file decode-esp.c.
| int DecodeESP | ( | ThreadVars * | tv, |
| DecodeThreadVars * | dtv, | ||
| Packet * | p, | ||
| const uint8_t * | pkt, | ||
| uint16_t | len | ||
| ) |
Function to decode IPSEC-ESP packets.
| tv | thread vars |
| dtv | decoder thread vars |
| p | packet |
| pkt | raw packet data |
| len | length in bytes of pkt array |
| TM_ECODE_OK | or TM_ECODE_FAILED on serious error |
Definition at line 64 of file decode-esp.c.
References DecodeThreadVars_::counter_esp, DEBUG_VALIDATE_BUG_ON, dtv, StatsIncr(), and tv.

| void DecodeESPRegisterTests | ( | void | ) |
Definition at line 196 of file decode-esp.c.
References UtRegisterTest().
