OpenVAS Libraries  8.0.3
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

void bpf_close ( int  )
int bpf_datalink ( int  )
u_char* bpf_next ( int  ,
int *   
)
u_char* bpf_next_tv ( int  ,
int *  ,
struct timeval  
)
int bpf_open_live ( char *  iface,
char *  filter 
)
Returns
-1 in case of error, index of the opened pcap_t in pcaps otherwise.