Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
capture_wpcap_packet.h
1 /* capture_wpcap_packet.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 2001 Gerald Combs
6  *
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef CAPTURE_WPCAP_PACKET_H
12 #define CAPTURE_WPCAP_PACKET_H
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17 
18 extern void wpcap_packet_load(void);
19 
20 /* get the packet.dll version info */
21 extern char *wpcap_packet_get_version(void);
22 
23 /* open the interface */
24 extern void * wpcap_packet_open(char *if_name);
25 
26 /* close the interface */
27 extern void wpcap_packet_close(void * adapter);
28 
29 extern int wpcap_packet_request(void *a, ULONG Oid, int set, char *value, unsigned int *length);
30 
31 extern int wpcap_packet_request_uint(void *a, ULONG Oid, UINT *value);
32 
33 extern int wpcap_packet_request_ulong(void *a, ULONG Oid, ULONG *value);
34 
35 #ifdef __cplusplus
36 }
37 #endif /* __cplusplus */
38 
39 #endif /* CAPTURE_WPCAP_PACKET_H */