OpenVAS Scanner  7.0.1~git
bpf_share.h
Go to the documentation of this file.
1 /* Portions Copyright (C) 2009-2019 Greenbone Networks GmbH
2  * Based on work Copyright (C) 1998 - 2007 Tenable Network Security, Inc.
3  *
4  * SPDX-License-Identifier: GPL-2.0-or-later
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20 
26 #ifndef OPENVAS_BPF_SHARE_H
27 #define OPENVAS_BPF_SHARE_H
28 
29 #include <sys/types.h>
30 
31 int
32 bpf_open_live (char *, char *);
33 
34 u_char *
35 bpf_next (int, int *);
36 
37 u_char *
38 bpf_next_tv (int, int *, struct timeval *);
39 
40 void
41 bpf_close (int);
42 
43 int
44 bpf_datalink (int);
45 
46 #endif
void bpf_close(int)
Definition: bpf_share.c:157
u_char * bpf_next_tv(int, int *, struct timeval *)
Definition: bpf_share.c:112
int bpf_datalink(int)
Definition: bpf_share.c:151
u_char * bpf_next(int, int *)
Definition: bpf_share.c:143
struct timeval timeval(unsigned long val)
int bpf_open_live(char *, char *)
Definition: bpf_share.c:52