OpenVAS Libraries
4.0+rc3.SVN
|
00001 /* OpenVAS-Libraries 00002 * $Id$ 00003 * Description: Header file for module bpf_share. 00004 * 00005 * Authors: 00006 * Renaud Deraison <deraison@nessus.org> (Original pre-fork development) 00007 * 00008 * Copyright: 00009 * Based on work Copyright (C) 1998 - 2007 Tenable Network Security, Inc. 00010 * 00011 * This library is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU Library General Public 00013 * License as published by the Free Software Foundation; either 00014 * version 2 of the License, or (at your option) any later version. 00015 * 00016 * This library is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * Library General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00024 */ 00025 00026 #ifndef OPENVAS_BPF_SHARE_H 00027 #define OPENVAS_BPF_SHARE_H 00028 00029 #include <sys/types.h> 00030 00031 int bpf_server (); 00032 int bpf_open_live (char *, char *); 00033 u_char *bpf_next (int, int *); 00034 u_char *bpf_next_tv (int, int *, struct timeval *); 00035 void bpf_close (int); 00036 int bpf_datalink (int); 00037 00038 #endif