|
suricata
|
#include "suricata-common.h"#include "decode-ipv4.h"#include "decode.h"#include "defrag.h"#include "flow.h"#include "util-print.h"#include "packet.h"
Go to the source code of this file.
Data Structures | |
| struct | IPV4Options_ |
| typedef struct IPV4Options_ | IPV4Options |
| int | DecodeIPV4 (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint16_t len) |
| void | DecodeIPV4RegisterTests (void) |
Decode IPv4
Definition in file decode-ipv4.c.
| typedef struct IPV4Options_ IPV4Options |
| int DecodeIPV4 | ( | ThreadVars * | tv, |
| DecodeThreadVars * | dtv, | ||
| Packet * | p, | ||
| const uint8_t * | pkt, | ||
| uint16_t | len | ||
| ) |
Definition at line 520 of file decode-ipv4.c.
References DecodeThreadVars_::counter_ipv4, DecodeThreadVars_::counter_ipv4inipv4, DecodeThreadVars_::counter_ipv6inipv4, ThreadVars_::decode_pq, DECODE_TUNNEL_IPV4, DECODE_TUNNEL_IPV6, DecodeESP(), DecodeGRE(), DecodeICMPV4(), DecodeSCTP(), DecodeTCP(), DecodeUDP(), Defrag(), dtv, ENGINE_SET_INVALID_EVENT, Packet_::flags, FlowSetupPacket(), GET_IPV4_DST_ADDR_PTR, GET_IPV4_SRC_ADDR_PTR, IPPROTO_GRE, IPPROTO_IPIP, IPPROTO_SCTP, IPV4_GET_RAW_FLAG_DF, IPV4_GET_RAW_FLAG_MF, IPV4_GET_RAW_FLAG_RF, IPV4_GET_RAW_FRAGOFFSET, IPV4_GET_RAW_HLEN, IPV4_GET_RAW_IPID, IPV4_GET_RAW_IPLEN, IPV4_GET_RAW_IPOFFSET, IPV4_GET_RAW_IPPROTO, IPV4_WITH_ICMPV6, len, PacketEnqueueNoLock(), PacketTunnelPktSetup(), PKT_IS_FRAGMENT, PKT_PPP_VJ_UCOMP, PKT_SET_SRC, PKT_SRC_DECODER_IPV4, PrintInet(), Packet_::proto, SCLogDebug, SCLogDebugEnabled(), StatsIncr(), TM_ECODE_FAILED, TM_ECODE_OK, tv, and unlikely.
Referenced by DecodeMPLS(), DecodeNSH(), DecodeNull(), DecodePPPOESession(), and DecodeRaw().


| void DecodeIPV4RegisterTests | ( | void | ) |
Definition at line 1566 of file decode-ipv4.c.
References UtRegisterTest().
