suricata
app-layer-enip.c File Reference
#include "suricata-common.h"
#include "util-debug.h"
#include "util-byte.h"
#include "util-enum.h"
#include "util-mem.h"
#include "util-misc.h"
#include "stream.h"
#include "app-layer-protos.h"
#include "app-layer-parser.h"
#include "app-layer-enip.h"
#include "app-layer-enip-common.h"
#include "app-layer-detect-proto.h"
#include "conf.h"
#include "decode.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "pkt-var.h"
#include "util-profiling.h"
#include "flow-util.h"
#include "stream-tcp.h"
Include dependency graph for app-layer-enip.c:

Go to the source code of this file.

Functions

void RegisterENIPUDPParsers (void)
 Function to register the ENIP protocol parsers and other functions. More...
 
void RegisterENIPTCPParsers (void)
 Function to register the ENIP protocol parsers and other functions. More...
 
void ENIPParserRegisterTests (void)
 

Variables

SCEnumCharMap enip_decoder_event_table []
 

Detailed Description

Author
Kevin Wong kwong.nosp@m.@sol.nosp@m.anane.nosp@m.twor.nosp@m.ks.co.nosp@m.m

App-layer parser for ENIP protocol

Definition in file app-layer-enip.c.

Function Documentation

void ENIPParserRegisterTests ( void  )

Definition at line 631 of file app-layer-enip.c.

References UtRegisterTest().

Referenced by RegisterENIPTCPParsers(), and RegisterENIPUDPParsers().

Here is the call graph for this function:

Here is the caller graph for this function:

void RegisterENIPTCPParsers ( void  )

Function to register the ENIP protocol parsers and other functions.

Definition at line 493 of file app-layer-enip.c.

References Flow_::alproto, ALPROTO_ENIP, Flow_::alstate, APP_LAYER_PARSER_OPT_ACCEPT_GAPS, AppLayerParserConfParserEnabled(), AppLayerParserParse(), AppLayerParserRegisterDetectFlagsFuncs(), AppLayerParserRegisterDetectStateFuncs(), AppLayerParserRegisterGetEventInfo(), AppLayerParserRegisterGetEventsFunc(), AppLayerParserRegisterGetStateProgressCompletionStatus(), AppLayerParserRegisterGetStateProgressFunc(), AppLayerParserRegisterGetTx(), AppLayerParserRegisterGetTxCnt(), AppLayerParserRegisterOptionFlags(), AppLayerParserRegisterParser(), AppLayerParserRegisterParserAcceptableDataDirection(), AppLayerParserRegisterProtocolUnittests(), AppLayerParserRegisterStateFuncs(), AppLayerParserRegisterTxFreeFunc(), AppLayerParserThreadCtxAlloc(), AppLayerParserThreadCtxFree(), AppLayerProtoDetectConfProtoDetectionEnabled(), AppLayerProtoDetectPPParseConfPorts(), AppLayerProtoDetectPPRegister(), AppLayerProtoDetectRegisterProtocol(), ENIPEncapHdr_::command, ENIPParserRegisterTests(), FAIL_IF, FAIL_IF_NULL, FLOW_DESTROY, ENIPTransaction_::header, PASS, Flow_::proto, Flow_::protoctx, RunmodeIsUnittests(), SCEnter, SCLogDebug, SCReturn, STREAM_TOCLIENT, STREAM_TOSERVER, StreamTcpFreeConfig(), StreamTcpInitConfig(), and TRUE.

Referenced by AppLayerParserRegisterProtocolParsers(), and GetProgramVersion().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

SCEnumCharMap enip_decoder_event_table[]
Initial value:
= {
{ NULL, -1 },
}

Definition at line 56 of file app-layer-enip.c.