summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/winpcap/docs/html/group__remote__samp__methods.html
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-01-10 12:21:12 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-01-10 12:21:12 +0100
commitc4fa7719b1d79734d15da03ade1068c83dc6f8bf (patch)
tree9bbeb26117114ce0a52a15b0be43577bef2bd493 /3rdparty/winpcap/docs/html/group__remote__samp__methods.html
parente427c5471b902c18b073d24ca012d3945b11176a (diff)
Added integral version of WinPcap SDK (nw)
Diffstat (limited to '3rdparty/winpcap/docs/html/group__remote__samp__methods.html')
-rw-r--r--3rdparty/winpcap/docs/html/group__remote__samp__methods.html95
1 files changed, 95 insertions, 0 deletions
diff --git a/3rdparty/winpcap/docs/html/group__remote__samp__methods.html b/3rdparty/winpcap/docs/html/group__remote__samp__methods.html
new file mode 100644
index 00000000000..10037d3fa13
--- /dev/null
+++ b/3rdparty/winpcap/docs/html/group__remote__samp__methods.html
@@ -0,0 +1,95 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>WinPcap: Sampling methods defined in the pcap_setsampling() function</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="style.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<!-- Generated by Doxygen 1.6.1 -->
+<div class="navigation" id="top">
+ <div class="tabs">
+ <ul>
+ <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
+ <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
+ <li><a href="files.html"><span>Files</span></a></li>
+ </ul>
+ </div>
+</div>
+<div class="contents">
+<h1>Sampling methods defined in the pcap_setsampling() function<br/>
+<small>
+[<a class="el" href="group__remote__struct.html">Exported Structures and Definitions</a>]</small>
+</h1><table border="0" cellpadding="0" cellspacing="0">
+<tr><td colspan="2"><h2>Defines</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__samp__methods.html#ga1fc3a70120a1188f5ed4cc2af0ff0671">PCAP_SAMP_NOSAMP</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">No sampling has to be done on the current capture. <a href="#ga1fc3a70120a1188f5ed4cc2af0ff0671"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__samp__methods.html#ga79bf88faf9851bf82ee30beb302e3b5f">PCAP_SAMP_1_EVERY_N</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">It defines that only 1 out of N packets must be returned to the user. <a href="#ga79bf88faf9851bf82ee30beb302e3b5f"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__samp__methods.html#ga5a4ae1f017ece5c1d3b44c8a399d130b">PCAP_SAMP_FIRST_AFTER_N_MS</a>&nbsp;&nbsp;&nbsp;2</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">It defines that we have to return 1 packet every N milliseconds. <a href="#ga5a4ae1f017ece5c1d3b44c8a399d130b"></a><br/></td></tr>
+</table>
+<hr/><h2>Define Documentation</h2>
+<a class="anchor" id="ga79bf88faf9851bf82ee30beb302e3b5f"></a><!-- doxytag: member="remote&#45;ext.h::PCAP_SAMP_1_EVERY_N" ref="ga79bf88faf9851bf82ee30beb302e3b5f" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define PCAP_SAMP_1_EVERY_N&nbsp;&nbsp;&nbsp;1</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>It defines that only 1 out of N packets must be returned to the user. </p>
+<p>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. </p>
+
+<p>Definition at line <a class="el" href="remote-ext_8h_source.html#l00275">275</a> of file <a class="el" href="remote-ext_8h_source.html">remote-ext.h</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="ga5a4ae1f017ece5c1d3b44c8a399d130b"></a><!-- doxytag: member="remote&#45;ext.h::PCAP_SAMP_FIRST_AFTER_N_MS" ref="ga5a4ae1f017ece5c1d3b44c8a399d130b" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define PCAP_SAMP_FIRST_AFTER_N_MS&nbsp;&nbsp;&nbsp;2</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>It defines that we have to return 1 packet every N milliseconds. </p>
+<p>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. </p>
+
+<p>Definition at line <a class="el" href="remote-ext_8h_source.html#l00285">285</a> of file <a class="el" href="remote-ext_8h_source.html">remote-ext.h</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="ga1fc3a70120a1188f5ed4cc2af0ff0671"></a><!-- doxytag: member="remote&#45;ext.h::PCAP_SAMP_NOSAMP" ref="ga1fc3a70120a1188f5ed4cc2af0ff0671" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">#define PCAP_SAMP_NOSAMP&nbsp;&nbsp;&nbsp;0</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>No sampling has to be done on the current capture. </p>
+<p>In this case, no sampling algorithms are applied to the current capture. </p>
+
+<p>Definition at line <a class="el" href="remote-ext_8h_source.html#l00265">265</a> of file <a class="el" href="remote-ext_8h_source.html">remote-ext.h</a>.</p>
+
+</div>
+</div>
+</div>
+
+<hr>
+<p align="right"><img border="0" src="winpcap_small.gif" align="absbottom" width="91" height="27">
+documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2009
+CACE Technologies. All rights reserved.</p>