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, const uint8_t *pkt, uint16_t len)
 Function to decode Teredo packets. More...
 
void DecodeTeredoConfig (void)
 
bool DecodeTeredoEnabledForPort (const uint16_t sp, const uint16_t dp)
 

Function Documentation

◆ DecodeTeredo()

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

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 127 of file decode-teredo.c.

References DEBUG_VALIDATE_BUG_ON.

◆ DecodeTeredoConfig()

void DecodeTeredoConfig ( void  )

Definition at line 104 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:

◆ DecodeTeredoEnabledForPort()

bool DecodeTeredoEnabledForPort ( const uint16_t  sp,
const uint16_t  dp 
)

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

References SCLogDebug.