util-bpf.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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)

Detailed Description

Eric Leblond

Definition in file util-bpf.h.

Function Documentation

◆ SCBPFCompile()

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 39 of file util-bpf.c.

References SCMutexLock.

◆ SCBPFFree()

void SCBPFFree ( struct bpf_program program)

Definition at line 33 of file util-bpf.c.