OpenVAS Libraries  9.0.1
Functions
bpf_share.h File Reference
#include <sys/types.h>

Go to the source code of this file.

Functions

int bpf_open_live (char *, char *)
 
u_char * bpf_next (int, int *)
 
u_char * bpf_next_tv (int, int *, struct timeval *)
 
void bpf_close (int)
 
int bpf_datalink (int)
 

Function Documentation

◆ bpf_close()

void bpf_close ( int  )

◆ bpf_datalink()

int bpf_datalink ( int  )

◆ bpf_next()

u_char* bpf_next ( int  ,
int *   
)

◆ bpf_next_tv()

u_char* bpf_next_tv ( int  ,
int *  ,
struct timeval  
)

◆ bpf_open_live()

int bpf_open_live ( char *  iface,
char *  filter 
)
Returns
-1 in case of error, index of the opened pcap_t in pcaps otherwise.