suricata
source-pcap-file.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void TmModuleReceivePcapFileRegister (void)
 
void TmModuleDecodePcapFileRegister (void)
 
void PcapIncreaseInvalidChecksum (void)
 
void PcapFileGlobalInit (void)
 
const char * PcapFileGetFilename (void)
 

Detailed Description

Function Documentation

const char* PcapFileGetFilename ( void  )

Definition at line 111 of file source-pcap-file-helper.c.

References pcap_filename.

Referenced by OutputJsonRegister().

Here is the caller graph for this function:

void PcapFileGlobalInit ( void  )

Definition at line 139 of file source-pcap-file.c.

References PcapFileThreadVars_::behavior, PcapFileSharedVars_::bpf_string, BUG_ON, PcapFileSharedVars_::bytes, PcapFileSharedVars_::cb_result, CHECKSUM_INVALID_RATIO, PcapFileGlobalVars_::checksum_mode, CHECKSUM_SAMPLE_COUNT, CHECKSUM_VALIDATION_AUTO, CHECKSUM_VALIDATION_DISABLE, CHECKSUM_VALIDATION_ENABLE, CleanupPcapFileDirectoryVars(), CleanupPcapFileFileVars(), PcapFileGlobalVars_::cnt, PcapFileGlobalVars_::conf_checksum_mode, ConfGet(), ConfGetBool(), ConfGetInt(), ConfValIsFalse(), ConfValIsTrue(), Packet_::datalink, DecodeRegisterPerfCounters(), DecodeThreadVarsAlloc(), DecodeThreadVarsFree(), DecodeUpdatePacketCounters(), PcapFileDirectoryVars_::delay, PcapFileBehaviorVar_::directory, PcapFileDirectoryVars_::directory, EngineStop(), PcapFileBehaviorVar_::file, PcapFileDirectoryVars_::filename, PcapFileFileVars_::filename, PcapFileSharedVars_::files, Packet_::flags, FlowWakeupFlowManagerThread, GET_PKT_DATA, GET_PKT_LEN, InitPcapFile(), PcapFileThreadVars_::is_directory, PcapFileSharedVars_::last_processed, PacketDecodeFinalize(), PcapDetermineDirectoryOrFile(), PcapDirectoryDispatch(), PcapFileDispatch(), PKT_PSEUDO_STREAM_END, Packet_::pkt_src, PKT_SRC_FFR, PKT_SRC_WIRE, PcapFileSharedVars_::pkts, PcapFileDirectoryVars_::poll_interval, RunModeUnixSocketIsActive(), SC_ATOMIC_GET, SC_ATOMIC_INIT, SC_ERR_INVALID_ARGUMENT, SC_ERR_INVALID_CHECKSUM, SC_ERR_MEM_ALLOC, SC_ERR_PCAP_DISPATCH, SCEnter, SCLogDebug, SCLogError, SCLogInfo, SCLogNotice, SCLogWarning, SCMalloc, SCReturnInt, SCStrdup, PcapFileDirectoryVars_::shared, PcapFileThreadVars_::shared, PcapFileFileVars_::shared, PcapFileSharedVars_::should_delete, PcapFileDirectoryVars_::should_loop, PcapFileSharedVars_::slot, TmSlot_::slot_next, TAILQ_INIT, PcapFileSharedVars_::tenant_id, TM_ECODE_DONE, TM_ECODE_FAILED, TM_ECODE_OK, Packet_::ts, PcapFileSharedVars_::tv, UnixSocketPcapFile(), unlikely, and ValidateLinkType().

Referenced by RunModeFilePcapAutoFp(), and RunModeFilePcapSingle().

Here is the call graph for this function:

Here is the caller graph for this function:

void PcapIncreaseInvalidChecksum ( void  )

Definition at line 454 of file source-pcap-file.c.

References SC_ATOMIC_ADD.

Referenced by StreamTcpPacket().

Here is the caller graph for this function:

void TmModuleDecodePcapFileRegister ( void  )
void TmModuleReceivePcapFileRegister ( void  )