suricata
util-host-info.c File Reference
#include "suricata-common.h"
#include "config.h"
#include "util-host-info.h"
#include <sys/utsname.h>
Include dependency graph for util-host-info.c:

Go to the source code of this file.

Macros

#define VERSION_REGEX   "^([0-9]+)\\.([0-9]+)"
 
#define MAX_SUBSTRINGS   3 * 6
 

Functions

int SCKernelVersionIsAtLeast (int major, int minor)
 

Detailed Description

Author
Eric Leblond eric@.nosp@m.regi.nosp@m.t.org

Get information on running host

Definition in file util-host-info.c.

Macro Definition Documentation

#define MAX_SUBSTRINGS   3 * 6
#define VERSION_REGEX   "^([0-9]+)\\.([0-9]+)"

Definition at line 34 of file util-host-info.c.

Referenced by SCKernelVersionIsAtLeast().

Function Documentation

int SCKernelVersionIsAtLeast ( int  major,
int  minor 
)