Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture
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
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
26
extern
void
load_wpcap(
void
);
27
28
/*
29
* This returns true if we loaded WinPcap; we don't support WinPcap anymore,
30
* so this doesn't mean we can capture (has_npcap is still false), but we can
31
* produce a more informative error message.
32
*/
33
extern
bool
caplibs_have_winpcap(
void
);
34
40
bool
npf_sys_is_running
(
void
);
41
42
#ifdef HAVE_LIBPCAP
43
int
44
ws_pcap_findalldevs_ex(
const
char
*a,
struct
pcap_rmtauth *b, pcap_if_t **c,
char
*errbuf);
45
#endif
46
47
#ifdef __cplusplus
48
}
49
#endif
/* __cplusplus */
50
51
#endif
/* CAPTURE_WPCAP_H */
npf_sys_is_running
bool npf_sys_is_running(void)
Generated by
1.9.8