1 /* capture_wpcap_packet.h
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 2001 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
11 #ifndef CAPTURE_WPCAP_PACKET_H
12 #define CAPTURE_WPCAP_PACKET_H
16 #endif /* __cplusplus */
18 extern void wpcap_packet_load(void);
20 /* get the packet.dll version info */
21 extern char *wpcap_packet_get_version(void);
23 /* open the interface */
24 extern void * wpcap_packet_open(char *if_name);
26 /* close the interface */
27 extern void wpcap_packet_close(void * adapter);
29 extern int wpcap_packet_request(void *a, ULONG Oid, int set, char *value, unsigned int *length);
31 extern int wpcap_packet_request_uint(void *a, ULONG Oid, UINT *value);
33 extern int wpcap_packet_request_ulong(void *a, ULONG Oid, ULONG *value);
37 #endif /* __cplusplus */
39 #endif /* CAPTURE_WPCAP_PACKET_H */