suricata
|
#include "suricata-common.h"
#include "util-bpf.h"
#include "threads.h"
#include "conf.h"
#include "util-debug.h"
Go to the source code of this file.
Functions | |
void | ConfSetBPFFilter (ConfNode *if_root, ConfNode *if_default, const char *iface, const char **bpf_filter) |
void | SCBPFFree (struct bpf_program *program) |
int | SCBPFCompile (int snaplen_arg, int linktype_arg, struct bpf_program *program, const char *buf, int optimize, uint32_t mask, char *errbuf, size_t errbuf_len) |
Definition in file util-bpf.c.
void ConfSetBPFFilter | ( | ConfNode * | if_root, |
ConfNode * | if_default, | ||
const char * | iface, | ||
const char ** | bpf_filter | ||
) |
Definition at line 30 of file util-bpf.c.
References ConfGet(), ConfGetChildValueWithDefault(), SCLogDebug, and SCLogInfo.
int SCBPFCompile | ( | int | snaplen_arg, |
int | linktype_arg, | ||
struct bpf_program * | program, | ||
const char * | buf, | ||
int | optimize, | ||
uint32_t | mask, | ||
char * | errbuf, | ||
size_t | errbuf_len | ||
) |
Definition at line 62 of file util-bpf.c.
References SCMutexLock.
void SCBPFFree | ( | struct bpf_program * | program | ) |
Definition at line 56 of file util-bpf.c.