OpenVAS Scanner 21.4.1
bpf_share.h
Go to the documentation of this file.
1/* Portions Copyright (C) 2009-2021 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
31int
32bpf_open_live (char *, char *);
33
34u_char *
35bpf_next (int, int *);
36
37u_char *
38bpf_next_tv (int, int *, struct timeval *);
39
40void
41bpf_close (int);
42
43int
44bpf_datalink (int);
45
46#endif
u_char * bpf_next(int, int *)
Definition: bpf_share.c:156
int bpf_open_live(char *, char *)
Definition: bpf_share.c:54
u_char * bpf_next_tv(int, int *, struct timeval *)
Definition: bpf_share.c:125
int bpf_datalink(int)
Definition: bpf_share.c:164
void bpf_close(int)
Definition: bpf_share.c:170
struct timeval timeval(unsigned long val)
Definition: nasl_builtin_synscan.c:105