OpenVAS Scanner
7.0.0~git
|
Header file for module bpf_share. More...
#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) |
Header file for module bpf_share.
Definition in file bpf_share.h.
void bpf_close | ( | int | ) |
Definition at line 157 of file bpf_share.c.
References pcaps.
Referenced by nasl_pcap_next(), nasl_send_capture(), nasl_send_packet(), nasl_send_v6packet(), nasl_tcp_ping(), nasl_tcp_v6_ping(), scan(), sendpacket(), and v6_sendpacket().
int bpf_datalink | ( | int | ) |
Definition at line 151 of file bpf_share.c.
References pcaps.
Referenced by capture_next_packet(), capture_next_v6_packet(), nasl_pcap_next(), nasl_send_capture(), and scan().
u_char* bpf_next | ( | int | , |
int * | |||
) |
Definition at line 143 of file bpf_share.c.
References bpf_next_tv(), and timeval().
Referenced by capture_next_packet(), capture_next_v6_packet(), nasl_pcap_next(), nasl_send_capture(), and v6_sendpacket().
u_char* bpf_next_tv | ( | int | , |
int * | , | ||
struct timeval * | |||
) |
Definition at line 112 of file bpf_share.c.
References pcaps, and timeval().
Referenced by bpf_next(), nasl_tcp_ping(), nasl_tcp_v6_ping(), and sendpacket().
int bpf_open_live | ( | char * | iface, |
char * | filter | ||
) |
Definition at line 52 of file bpf_share.c.
References NUM_CLIENTS, pcaps, and print_pcap_error().
Referenced by init_capture_device(), init_v6_capture_device(), nasl_pcap_next(), nasl_send_capture(), openbpf(), and v6_openbpf().