OpenVAS Scanner  22.7.9
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 
12 #ifndef MISC_BPF_SHARE_H
13 #define MISC_BPF_SHARE_H
14 
15 #include <sys/types.h>
16 
17 int
18 bpf_open_live (char *, char *);
19 
20 u_char *
21 bpf_next (int, int *);
22 
23 u_char *
24 bpf_next_tv (int, int *, struct timeval *);
25 
26 void
27 bpf_close (int);
28 
29 int
30 bpf_datalink (int);
31 
32 #endif
bpf_next
u_char * bpf_next(int, int *)
Definition: bpf_share.c:150
bpf_close
void bpf_close(int)
Definition: bpf_share.c:164
bpf_open_live
int bpf_open_live(char *, char *)
Definition: bpf_share.c:39
timeval
static struct timeval timeval(unsigned long val)
Definition: nasl_builtin_synscan.c:94
bpf_datalink
int bpf_datalink(int)
Definition: bpf_share.c:158
bpf_next_tv
u_char * bpf_next_tv(int, int *, struct timeval *)
Definition: bpf_share.c:119