OpenVAS Libraries
9.0.3
|
Go to the source code of this file.
Macros | |
#define | NUM_CLIENTS 128 |
Functions | |
int | bpf_open_live (char *iface, char *filter) |
u_char * | bpf_next_tv (int bpf, int *caplen, struct timeval *tv) |
u_char * | bpf_next (int bpf, int *caplen) |
int | bpf_datalink (int bpf) |
void | bpf_close (int bpf) |
#define NUM_CLIENTS 128 |
Definition at line 30 of file bpf_share.c.
void bpf_close | ( | int | bpf | ) |
Definition at line 153 of file bpf_share.c.
Referenced by nasl_pcap_next(), nasl_send_capture(), nasl_send_packet(), nasl_send_v6packet(), scan(), sendpacket(), v6_get_mac_addr(), and v6_sendpacket().
int bpf_datalink | ( | int | bpf | ) |
Definition at line 146 of file bpf_share.c.
Referenced by capture_next_packet(), capture_next_v6_packet(), ids_open_sock_tcp(), ids_send(), nasl_pcap_next(), nasl_send_capture(), scan(), and v6_get_mac_addr().
u_char* bpf_next | ( | int | bpf, |
int * | caplen | ||
) |
Definition at line 137 of file bpf_share.c.
References bpf_next_tv(), and timeval().
Referenced by capture_next_packet(), capture_next_v6_packet(), ids_open_sock_tcp(), ids_send(), nasl_pcap_next(), nasl_send_capture(), v6_get_mac_addr(), and v6_sendpacket().
u_char* bpf_next_tv | ( | int | bpf, |
int * | caplen, | ||
struct timeval * | tv | ||
) |
Definition at line 104 of file bpf_share.c.
References timeval().
Referenced by bpf_next(), and sendpacket().
int bpf_open_live | ( | char * | iface, |
char * | filter | ||
) |
Definition at line 40 of file bpf_share.c.
References NUM_CLIENTS.
Referenced by ids_open_sock_tcp(), ids_send(), init_capture_device(), init_v6_capture_device(), nasl_pcap_next(), nasl_send_capture(), openbpf(), v6_get_mac_addr(), and v6_openbpf().