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

◆ DecodeTeredoConfig()

void DecodeTeredoConfig ( void  )

Definition at line 101 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 53 of file decode-teredo.c.

References SCLogDebug.