suricata
decode-pppoe.c File Reference
#include "suricata-common.h"
#include "packet-queue.h"
#include "decode.h"
#include "decode-ppp.h"
#include "decode-pppoe.h"
#include "decode-events.h"
#include "flow.h"
#include "util-unittest.h"
#include "util-debug.h"
Include dependency graph for decode-pppoe.c:

Go to the source code of this file.

Functions

int DecodePPPOEDiscovery (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len)
 Main decoding function for PPPOE Discovery packets. More...
 
int DecodePPPOESession (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len)
 Main decoding function for PPPOE Session packets. More...
 
void DecodePPPOERegisterTests (void)
 Registers PPPOE unit tests. More...
 

Detailed Description

Author
James Riden james.nosp@m.r@eu.nosp@m.rope..nosp@m.com

PPPOE Decoder

Definition in file decode-pppoe.c.

Function Documentation

◆ DecodePPPOEDiscovery()

int DecodePPPOEDiscovery ( ThreadVars tv,
DecodeThreadVars dtv,
Packet p,
const uint8_t *  pkt,
uint32_t  len 
)

◆ DecodePPPOERegisterTests()

void DecodePPPOERegisterTests ( void  )

Registers PPPOE unit tests.

Todo:
More PPPOE tests

Definition at line 457 of file decode-pppoe.c.

References UtRegisterTest().

Here is the call graph for this function:

◆ DecodePPPOESession()