suricata
decode-teredo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int DecodeTeredo (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, uint8_t *pkt, uint16_t len, PacketQueue *pq)
 Function to decode Teredo packets. More...
 
void DecodeTeredoConfig (void)
 

Function Documentation

int DecodeTeredo ( ThreadVars tv,
DecodeThreadVars dtv,
Packet p,
uint8_t *  pkt,
uint16_t  len,
PacketQueue pq 
)

Function to decode Teredo packets.

Return values
TM_ECODE_FAILEDif packet is not a Teredo packet, TM_ECODE_OK if it is

Definition at line 63 of file decode-teredo.c.

References DecodeThreadVars_::counter_teredo, DECODE_TUNNEL_IPV6_TEREDO, IP_GET_RAW_VER, IPV6_GET_RAW_HLIM, IPV6_GET_RAW_NH, IPV6_GET_RAW_PLEN, IPV6_HEADER_LEN, PacketEnqueue(), PacketTunnelPktSetup(), PKT_SET_SRC, PKT_SRC_DECODER_TEREDO, StatsIncr(), TEREDO_ORIG_INDICATION_LENGTH, TM_ECODE_FAILED, and TM_ECODE_OK.

Referenced by DecodeUDP().

Here is the call graph for this function:

Here is the caller graph for this function:

void DecodeTeredoConfig ( void  )

Definition at line 46 of file decode-teredo.c.

References ConfGetBool().

Referenced by DecodeGlobalConfig().

Here is the call graph for this function:

Here is the caller graph for this function: