OpenVAS Libraries  8.0.3
bpf_share.h
Go to the documentation of this file.
1 /* OpenVAS-Libraries
2  * $Id$
3  * Description: Header file for module bpf_share.
4  *
5  * Authors:
6  * Renaud Deraison <deraison@nessus.org> (Original pre-fork development)
7  *
8  * Copyright:
9  * Based on work Copyright (C) 1998 - 2007 Tenable Network Security, Inc.
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Library General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * Library General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24  */
25 
26 #ifndef OPENVAS_BPF_SHARE_H
27 #define OPENVAS_BPF_SHARE_H
28 
29 #include <sys/types.h>
30 
31 int bpf_open_live (char *, char *);
32 u_char *bpf_next (int, int *);
33 u_char *bpf_next_tv (int, int *, struct timeval *);
34 void bpf_close (int);
35 int bpf_datalink (int);
36 
37 #endif
void bpf_close(int)
Definition: bpf_share.c:152
u_char * bpf_next_tv(int, int *, struct timeval *)
Definition: bpf_share.c:103
int bpf_datalink(int)
Definition: bpf_share.c:145
u_char * bpf_next(int, int *)
Definition: bpf_share.c:136
struct timeval timeval(unsigned long val)
Definition: nasl_builtin_synscan.c:110
int bpf_open_live(char *, char *)
Definition: bpf_share.c:40