| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
capture-wpcap.h
Go to the documentation of this file.
1
9
10#ifndef CAPTURE_WPCAP_H
11#define CAPTURE_WPCAP_H
12
13#ifdef __cplusplus
14 extern "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
24 extern bool has_npcap;
25
33 extern void load_wpcap(void);
34
44 extern bool caplibs_have_winpcap(void);
45
51 bool npf_sys_is_running(void);
52
53#ifdef HAVE_LIBPCAP
54 int
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 */
npf_sys_is_running
bool npf_sys_is_running(void)
Check to see if npf.sys is running.
load_wpcap
void load_wpcap(void)
Load WinPcap/Npcap libraries at runtime.
Definition capture-wpcap.c:937
caplibs_have_winpcap
bool caplibs_have_winpcap(void)
Check if WinPcap/Npcap libraries are loaded.