Revert "LATER... ei_kerberos_kdc_session_key ..."
[wireshark-sm.git] / capture / capture-wpcap.h
blobf3397821a329a2fd4b8f1aab4f0374a4db8630b6
1 /** @file
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 2001 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef CAPTURE_WPCAP_H
11 #define CAPTURE_WPCAP_H
13 #ifdef __cplusplus
14 extern "C" {
15 #endif /* __cplusplus */
17 #ifdef HAVE_LIBPCAP
18 #ifdef __MINGW32__
19 #include <_bsd_types.h>
20 #endif
21 #include <pcap.h>
22 #endif
24 extern bool has_wpcap;
26 extern void load_wpcap(void);
28 /**
29 * Check to see if npf.sys is running.
30 * @return true if npf.sys is running, false if it's not or if there was
31 * an error checking its status.
33 bool npf_sys_is_running(void);
35 #ifdef HAVE_LIBPCAP
36 int
37 ws_pcap_findalldevs_ex(const char *a, struct pcap_rmtauth *b, pcap_if_t **c, char *errbuf);
38 #endif
40 #ifdef __cplusplus
42 #endif /* __cplusplus */
44 #endif /* CAPTURE_WPCAP_H */