Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
wsutil
wspcap.h
1
/* wspcap.h
2
*
3
* Wrapper around libpcap/WinPcap's pcap.h.
4
*
5
* If HAVE_PCAP_REMOTE is defined, it force the WinPcap header files to
6
* define things required for remote capture.
7
*
8
* Yes, this is q WinPcap bug; if your project has a public header file
9
* that checks or otherwise uses a #define that's defined by your project's
10
* configuration process, and don't ensure that it's always defined
11
* appropriately when that header file is included, before its first use,
12
* you have made a mistake.
13
*
14
* This bug is fixed in the master branch of libpcap, so any libpcap
15
* release with remote capture support will not have this problem, and
16
* any future WinPcap/NPcap release based on current libpcap code will
17
* not have this problem.
18
*
19
* Wireshark - Network traffic analyzer
20
* By Gerald Combs <gerald@wireshark.org>
21
* Copyright 2007 Gerald Combs
22
*
23
* SPDX-License-Identifier: GPL-2.0-or-later
24
*/
25
26
#ifndef __WSPCAP_H__
27
#define __WSPCAP_H__
28
29
#ifdef HAVE_PCAP_REMOTE
30
#define HAVE_REMOTE
31
#endif
32
33
#include <pcap.h>
34
35
#endif
/* __WSPCAP_H__ */
Generated by
1.8.11