|
OpenVAS Scanner 23.23.1
|
#include "bpf_share.h"#include "../nasl/nasl_debug.h"#include <gvm/base/logging.h>#include <pcap.h>Macros | |
| #define | NUM_CLIENTS 128 |
| #define | G_LOG_DOMAIN "lib misc" |
| GLib logging domain. | |
Functions | |
| static void | print_pcap_error (pcap_t *p, char *prefix) |
| 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) |
Variables | |
| static pcap_t * | pcaps [NUM_CLIENTS] |
| #define G_LOG_DOMAIN "lib misc" |
GLib logging domain.
| #define NUM_CLIENTS 128 |
| void bpf_close | ( | int | bpf | ) |
| int bpf_datalink | ( | int | bpf | ) |
| u_char * bpf_next | ( | int | bpf, |
| int * | caplen ) |
| u_char * bpf_next_tv | ( | int | bpf, |
| int * | caplen, | ||
| struct timeval * | tv ) |
| int bpf_open_live | ( | char * | iface, |
| char * | filter ) |
|
static |
|
static |
Shared pcap_t's.