suricata
|
#include "conf.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) |
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) |
void | SCBPFFree (struct bpf_program *program) |
Definition in file util-bpf.h.
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.