OpenVAS Scanner 23.23.1
bpf_share.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Greenbone AG
2 * SPDX-FileCopyrightText: 1998-2007 Tenable Network Security, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
11
12#ifndef MISC_BPF_SHARE_H
13#define MISC_BPF_SHARE_H
14
15#include <sys/types.h>
16
17int
18bpf_open_live (char *, char *);
19
20u_char *
21bpf_next (int, int *);
22
23u_char *
24bpf_next_tv (int, int *, struct timeval *);
25
26void
27bpf_close (int);
28
29int
30bpf_datalink (int);
31
32#endif
u_char * bpf_next(int, int *)
Definition bpf_share.c:150
int bpf_open_live(char *, char *)
Definition bpf_share.c:39
u_char * bpf_next_tv(int, int *, struct timeval *)
Definition bpf_share.c:119
int bpf_datalink(int)
Definition bpf_share.c:158
void bpf_close(int)
Definition bpf_share.c:164
static struct timeval timeval(unsigned long val)
Definition nasl_builtin_synscan.c:94