Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture-wpcap.h
Go to the documentation of this file.
1
10#ifndef CAPTURE_WPCAP_H
11#define CAPTURE_WPCAP_H
12
13#ifdef __cplusplus
14extern "C" {
15#endif /* __cplusplus */
16
17#ifdef HAVE_LIBPCAP
18#ifdef __MINGW32__
19#include <_bsd_types.h>
20#endif
21#include <pcap/pcap.h>
22#endif
23
24extern bool has_npcap;
25
33extern void load_wpcap(void);
34
44extern bool caplibs_have_winpcap(void);
45
52
53#ifdef HAVE_LIBPCAP
54int
55ws_pcap_findalldevs_ex(const char *a, struct pcap_rmtauth *b, pcap_if_t **c, char *errbuf);
56#endif
57
58#ifdef __cplusplus
59}
60#endif /* __cplusplus */
61
62#endif /* CAPTURE_WPCAP_H */
bool npf_sys_is_running(void)
Check to see if npf.sys is running.
void load_wpcap(void)
Load WinPcap/Npcap libraries at runtime.
Definition capture-wpcap.c:937
bool caplibs_have_winpcap(void)
Check if WinPcap/Npcap libraries are loaded.