From Robert Shade: Mobile IP NVSE (RFC3115) Decoding https://bugs.wireshark.org/bugzi...
[obnox/wireshark/wip.git] / capture_wpcap_packet.h
1 /* capture_wpcap_packet.h
2  *
3  * $Id$
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 2001 Gerald Combs
8  *
9  *
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.
14  *
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.
19  *
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.
23  */
24
25 #ifndef CAPTURE_WPCAP_PACKET_H
26 #define CAPTURE_WPCAP_PACKET_H
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
31
32 extern void wpcap_packet_load(void);
33
34 /* get the packet.dll version info */
35 extern char *wpcap_packet_get_version(void);
36
37 /* open the interface */
38 extern void * wpcap_packet_open(char *if_name);
39
40 /* close the interface */
41 extern void wpcap_packet_close(void * adapter);
42
43 extern int wpcap_packet_request(void *a, ULONG Oid, int set, char *value, unsigned int *length);
44
45 extern int wpcap_packet_request_uint(void *a, ULONG Oid, UINT *value);
46
47 extern int wpcap_packet_request_ulong(void *a, ULONG Oid, ULONG *value);
48
49 #ifdef __cplusplus
50 }
51 #endif /* __cplusplus */
52
53 #endif  /* CAPTURE_WPCAP_PACKET_H */