1 /* capture_wpcap_packet.h
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 2001 Gerald Combs
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #ifndef CAPTURE_WPCAP_PACKET_H
26 #define CAPTURE_WPCAP_PACKET_H
29 extern void wpcap_packet_load(void);
31 /* get the packet.dll version info */
32 extern char *wpcap_packet_get_version(void);
34 /* open the interface */
35 extern void * wpcap_packet_open(char *if_name);
37 /* close the interface */
38 extern void wpcap_packet_close(void * adapter);
40 extern int wpcap_packet_request(void *a, ULONG Oid, int set, char *value, unsigned int *length);
42 extern int wpcap_packet_request_uint(void *a, ULONG Oid, UINT *value);
44 extern int wpcap_packet_request_ulong(void *a, ULONG Oid, ULONG *value);
47 #endif /* CAPTURE_WPCAP_PACKET_H */