suricata
runmode-unix-socket.c File Reference
#include "suricata-common.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"
#include "runmode-pcap-file.h"
#include "output.h"
#include "output-json.h"
#include "util-debug.h"
#include "util-time.h"
#include "util-cpu.h"
#include "util-affinity.h"
#include "unix-manager.h"
#include "detect-engine.h"
#include "flow-manager.h"
#include "flow-timeout.h"
#include "stream-tcp.h"
#include "stream-tcp-reassemble.h"
#include "source-pcap-file-directory-helper.h"
#include "host.h"
#include "defrag.h"
#include "defrag-hash.h"
#include "ippair.h"
#include "app-layer.h"
#include "app-layer-htp-mem.h"
#include "host-bit.h"
#include "util-misc.h"
#include "util-profiling.h"
#include "conf-yaml-loader.h"
Include dependency graph for runmode-unix-socket.c:

Go to the source code of this file.

Data Structures

struct  PcapFiles_
 
struct  PcapCommand_
 
struct  MemcapCommand_
 

Typedefs

typedef struct PcapFiles_ PcapFiles
 
typedef struct PcapCommand_ PcapCommand
 
typedef struct MemcapCommand_ MemcapCommand
 

Functions

const char * RunModeUnixSocketGetDefaultMode (void)
 
void RunModeUnixSocketRegister (void)
 
TmEcode UnixSocketPcapFile (TmEcode tm, struct timespec *last_processed)
 
int RunModeUnixSocketIsActive (void)
 

Variables

int unix_socket_mode_is_running = 0
 

Typedef Documentation

typedef struct MemcapCommand_ MemcapCommand
typedef struct PcapCommand_ PcapCommand
typedef struct PcapFiles_ PcapFiles

Function Documentation

int RunModeUnixSocketIsActive ( void  )

Definition at line 1453 of file runmode-unix-socket.c.

References unix_socket_mode_is_running.

Referenced by CleanupPcapFileDirectoryVars(), InitPcapFile(), and PcapFileGlobalInit().

Here is the caller graph for this function:

void RunModeUnixSocketRegister ( void  )

Definition at line 587 of file runmode-unix-socket.c.

References RUNMODE_UNIX_SOCKET, and RunModeRegisterNewRunMode().

Referenced by RunModeRegisterRunModes().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int unix_socket_mode_is_running = 0

Definition at line 54 of file runmode-unix-socket.c.

Referenced by RunModeUnixSocketIsActive(), and UnixSocketPcapFile().