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 "util-var-name.h"
#include "util-path.h"
#include "unix-manager.h"
#include "detect-engine.h"
#include "flow-manager.h"
#include "flow-timeout.h"
#include "flow-hash.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 "datasets.h"
#include "runmode-unix-socket.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_
 

Macros

#define MEMCAPS_MAX   7
 

Typedefs

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

Functions

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

Variables

int unix_socket_mode_is_running = 0
 

Macro Definition Documentation

◆ MEMCAPS_MAX

#define MEMCAPS_MAX   7

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

Typedef Documentation

◆ MemcapCommand

typedef struct MemcapCommand_ MemcapCommand

◆ PcapCommand

typedef struct PcapCommand_ PcapCommand

◆ PcapFiles

typedef struct PcapFiles_ PcapFiles

Function Documentation

◆ MemcapsGetPressure()

float MemcapsGetPressure ( void  )

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

◆ RunModeUnixSocketGetDefaultMode()

const char* RunModeUnixSocketGetDefaultMode ( void  )

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

◆ RunModeUnixSocketIsActive()

int RunModeUnixSocketIsActive ( void  )

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

References unix_socket_mode_is_running.

◆ RunModeUnixSocketRegister()

void RunModeUnixSocketRegister ( void  )

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

References RUNMODE_UNIX_SOCKET, and RunModeRegisterNewRunMode().

Here is the call graph for this function:

◆ UnixSocketPcapFile()

TmEcode UnixSocketPcapFile ( TmEcode  tm,
struct timespec *  last_processed 
)

Variable Documentation

◆ unix_socket_mode_is_running

int unix_socket_mode_is_running = 0

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

Referenced by RunModeUnixSocketIsActive().