suricata
decode-arp.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "decode-arp.h"
#include "decode-events.h"
Include dependency graph for decode-arp.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ DecodeARP()

int DecodeARP ( ThreadVars tv,
DecodeThreadVars dtv,
Packet p,
const uint8_t *  pkt,
uint32_t  len 
)
Author
Giuseppe Longo giuse.nosp@m.ppe@.nosp@m.glong.nosp@m.o.it

Definition at line 29 of file decode-arp.c.

References ARP_HEADER_MIN_LEN, ARP_PKT_TOO_SMALL, DecodeThreadVars_::counter_arp, dtv, ENGINE_SET_INVALID_EVENT, len, StatsIncr(), TM_ECODE_FAILED, tv, and unlikely.

Here is the call graph for this function: