suricata
|
#include "suricata-common.h"
#include "decode-ipv6.h"
#include "decode.h"
#include "defrag.h"
#include "util-print.h"
#include "util-validate.h"
#include "util-unittest-helper.h"
#include "packet.h"
Go to the source code of this file.
Functions | |
void | DecodeIPV6FragHeader (Packet *p, const uint8_t *pkt, uint16_t hdrextlen, uint16_t plen, uint16_t prev_hdrextlen) |
int | DecodeIPV6 (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint16_t len) |
void | DecodeIPV6RegisterTests (void) |
this function registers unit tests for IPV6 decoder More... | |
Decode IPv6
Definition in file decode-ipv6.c.
int DecodeIPV6 | ( | ThreadVars * | tv, |
DecodeThreadVars * | dtv, | ||
Packet * | p, | ||
const uint8_t * | pkt, | ||
uint16_t | len | ||
) |
Definition at line 560 of file decode-ipv6.c.
References DecodeThreadVars_::counter_ipv6, dtv, StatsIncr(), and tv.
Referenced by DecodeNull(), DecodePPPOESession(), and DecodeRaw().
void DecodeIPV6FragHeader | ( | Packet * | p, |
const uint8_t * | pkt, | ||
uint16_t | hdrextlen, | ||
uint16_t | plen, | ||
uint16_t | prev_hdrextlen | ||
) |
Definition at line 92 of file decode-ipv6.c.
References GET_PKT_DATA, PacketL3::ip6, Packet_::l3, SCLogDebug, SCNtohl, and PacketL3::vars.
void DecodeIPV6RegisterTests | ( | void | ) |
this function registers unit tests for IPV6 decoder
Definition at line 900 of file decode-ipv6.c.
References UtRegisterTest().