From 5bce46bd7561ae1857c7e17614133f01f984ae78 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 5 Mar 2020 21:23:21 +1100 Subject: Removed winpcap and cleaned up network module selection. (nw) The pcap.h header itself has the problematic original BSD license, including the obnoxious advertising clause. Using tap/tun networking on Windows provides a much better experience, so the extra setup is worth it. This patch also allows you to enable pcap on platforms where it's disabled by default with USE_PCAP=1 if you really want to use it. --- .../docs/html/group__remote__samp__methods.html | 95 ---------------------- 1 file changed, 95 deletions(-) delete mode 100644 3rdparty/winpcap/docs/html/group__remote__samp__methods.html (limited to '3rdparty/winpcap/docs/html/group__remote__samp__methods.html') diff --git a/3rdparty/winpcap/docs/html/group__remote__samp__methods.html b/3rdparty/winpcap/docs/html/group__remote__samp__methods.html deleted file mode 100644 index 10037d3fa13..00000000000 --- a/3rdparty/winpcap/docs/html/group__remote__samp__methods.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - -WinPcap: Sampling methods defined in the pcap_setsampling() function - - - - - - -
-

Sampling methods defined in the pcap_setsampling() function
- -[Exported Structures and Definitions] -

- - - - - - - -

Defines

#define PCAP_SAMP_NOSAMP   0
 No sampling has to be done on the current capture.
#define PCAP_SAMP_1_EVERY_N   1
 It defines that only 1 out of N packets must be returned to the user.
#define PCAP_SAMP_FIRST_AFTER_N_MS   2
 It defines that we have to return 1 packet every N milliseconds.
-

Define Documentation

- -
-
- - - - -
#define PCAP_SAMP_1_EVERY_N   1
-
-
- -

It defines that only 1 out of N packets must be returned to the user.

-

In this case, the 'value' field of the 'pcap_samp' structure indicates the number of packets (minus 1) that must be discarded before one packet got accepted. In other words, if 'value = 10', the first packet is returned to the caller, while the following 9 are discarded.

- -

Definition at line 275 of file remote-ext.h.

- -
-
- -
-
- - - - -
#define PCAP_SAMP_FIRST_AFTER_N_MS   2
-
-
- -

It defines that we have to return 1 packet every N milliseconds.

-

In this case, the 'value' field of the 'pcap_samp' structure indicates the 'waiting time' in milliseconds before one packet got accepted. In other words, if 'value = 10', the first packet is returned to the caller; the next returned one will be the first packet that arrives when 10ms have elapsed.

- -

Definition at line 285 of file remote-ext.h.

- -
-
- -
-
- - - - -
#define PCAP_SAMP_NOSAMP   0
-
-
- -

No sampling has to be done on the current capture.

-

In this case, no sampling algorithms are applied to the current capture.

- -

Definition at line 265 of file remote-ext.h.

- -
-
-
- -
-

-documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2009 -CACE Technologies. All rights reserved.

-- cgit v1.2.3-70-g09d2