445 lines
26 KiB
HTML
445 lines
26 KiB
HTML
<!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: remote-ext.h File Reference</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 Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>remote-ext.h File Reference</h1>
|
|
<p><a href="remote-ext_8h_source.html">Go to the source code of this file.</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__rmtauth.html">pcap_rmtauth</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">This structure keeps the information needed to autheticate the user on a remote machine. <a href="structpcap__rmtauth.html#_details">More...</a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__samp.html">pcap_samp</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">This structure defines the information related to sampling. <a href="structpcap__samp.html#_details">More...</a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Defines</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__struct.html#gacacb155b596f7511f714de129ae32c97">PCAP_BUF_SIZE</a> 1024</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Defines the maximum buffer size in which address, port, interface names are kept. <a href="group__remote__struct.html#gacacb155b596f7511f714de129ae32c97"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__source__ID.html#ga9188ad0fc0d12fc51d1e9f5e78bf9440">PCAP_SRC_FILE</a> 2</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal representation of the type of source in use (file, remote/local interface). <a href="group__remote__source__ID.html#ga9188ad0fc0d12fc51d1e9f5e78bf9440"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__source__ID.html#ga00c875af0185ead420787d4eaba6ff71">PCAP_SRC_IFLOCAL</a> 3</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal representation of the type of source in use (file, remote/local interface). <a href="group__remote__source__ID.html#ga00c875af0185ead420787d4eaba6ff71"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__source__ID.html#gae5558973e334926f6e7171e3a711e265">PCAP_SRC_IFREMOTE</a> 4</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal representation of the type of source in use (file, remote/local interface). <a href="group__remote__source__ID.html#gae5558973e334926f6e7171e3a711e265"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__source__string.html#gadb108815eb410ca0ab0b444ff2e56a26">PCAP_SRC_FILE_STRING</a> "file://"</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">String that will be used to determine the type of source in use (file, remote/local interface). <a href="group__remote__source__string.html#gadb108815eb410ca0ab0b444ff2e56a26"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__source__string.html#ga6d7103b8a7e1eca8c325bd8f32c361c3">PCAP_SRC_IF_STRING</a> "rpcap://"</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">String that will be used to determine the type of source in use (file, remote/local interface). <a href="group__remote__source__string.html#ga6d7103b8a7e1eca8c325bd8f32c361c3"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__open__flags.html#ga9134ce51a9a6a7d497c3dee5affdc3b9">PCAP_OPENFLAG_PROMISCUOUS</a> 1</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Defines if the adapter has to go in promiscuous mode. <a href="group__remote__open__flags.html#ga9134ce51a9a6a7d497c3dee5affdc3b9"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__open__flags.html#gaca53ea1423680167cf046752337b3381">PCAP_OPENFLAG_DATATX_UDP</a> 2</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Defines if the data trasfer (in case of a remote capture) has to be done with UDP protocol. <a href="group__remote__open__flags.html#gaca53ea1423680167cf046752337b3381"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__open__flags.html#ga1af46d0c195f9a3b66955acdd52b5375">PCAP_OPENFLAG_NOCAPTURE_RPCAP</a> 4</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Defines if the remote probe will capture its own generated traffic. <a href="group__remote__open__flags.html#ga1af46d0c195f9a3b66955acdd52b5375"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__open__flags.html#ga337712d5c8d26a0d984d6bb702d0118d">PCAP_OPENFLAG_NOCAPTURE_LOCAL</a> 8</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Defines if the local adapter will capture its own generated traffic. <a href="group__remote__open__flags.html#ga337712d5c8d26a0d984d6bb702d0118d"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__open__flags.html#gae54e5c810d75f23f69a0c78ca7f882b1">PCAP_OPENFLAG_MAX_RESPONSIVENESS</a> 16</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">This flag configures the adapter for maximum responsiveness. <a href="group__remote__open__flags.html#gae54e5c810d75f23f69a0c78ca7f882b1"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__samp__methods.html#ga1fc3a70120a1188f5ed4cc2af0ff0671">PCAP_SAMP_NOSAMP</a> 0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">No sampling has to be done on the current capture. <a href="group__remote__samp__methods.html#ga1fc3a70120a1188f5ed4cc2af0ff0671"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__samp__methods.html#ga79bf88faf9851bf82ee30beb302e3b5f">PCAP_SAMP_1_EVERY_N</a> 1</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">It defines that only 1 out of N packets must be returned to the user. <a href="group__remote__samp__methods.html#ga79bf88faf9851bf82ee30beb302e3b5f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__samp__methods.html#ga5a4ae1f017ece5c1d3b44c8a399d130b">PCAP_SAMP_FIRST_AFTER_N_MS</a> 2</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">It defines that we have to return 1 packet every N milliseconds. <a href="group__remote__samp__methods.html#ga5a4ae1f017ece5c1d3b44c8a399d130b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__auth__methods.html#gacf895bca5fa091307dcfa3a7cb6c8882">RPCAP_RMTAUTH_NULL</a> 0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">It defines the NULL authentication. <a href="group__remote__auth__methods.html#gacf895bca5fa091307dcfa3a7cb6c8882"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__auth__methods.html#gab73de990af3daaf44ff88119050634fb">RPCAP_RMTAUTH_PWD</a> 1</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">It defines the username/password authentication. <a href="group__remote__auth__methods.html#gab73de990af3daaf44ff88119050634fb"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__remote__struct.html#gad71cfa3b6dd1dacb2e8d6cef4ae67723">RPCAP_HOSTLIST_SIZE</a> 1024</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum lenght of an host name (needed for the RPCAP active mode). <a href="group__remote__struct.html#gad71cfa3b6dd1dacb2e8d6cef4ae67723"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">New WinPcap functions</div></td></tr>
|
|
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpa322029e82be137a79d8cb6e1319a414"></a> This section lists the new functions that are able to help considerably in writing WinPcap programs because of their easiness of use. </p>
|
|
<br/><br/></div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__wpcap__def.html#ga4711d025f83503ce692efa5e45ec60a7">pcap_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#a2b64c7b6490090d1d37088794f1f1791">pcap_open</a> (const char *source, int snaplen, int flags, int read_timeout, struct <a class="el" href="structpcap__rmtauth.html">pcap_rmtauth</a> *auth, char *errbuf)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#aa3111e10f930a9772a32a922b26948b0">pcap_createsrcstr</a> (char *source, int type, const char *<a class="el" href="wpcap__remote_8htm.html#a3c46d79c790748a5942fb43baa6b3073">host</a>, const char *port, const char *name, char *errbuf)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#a090e0afd3f463b4b60a64c47eddc1ba2">pcap_parsesrcstr</a> (const char *source, int *type, char *<a class="el" href="wpcap__remote_8htm.html#a3c46d79c790748a5942fb43baa6b3073">host</a>, char *port, char *name, char *errbuf)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#a98f36e62c95c6ad81eaa8b2bbeb8f16e">pcap_findalldevs_ex</a> (char *source, struct <a class="el" href="structpcap__rmtauth.html">pcap_rmtauth</a> *auth, <a class="el" href="structpcap__if.html">pcap_if_t</a> **alldevs, char *errbuf)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpcap__samp.html">pcap_samp</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#a84c7d55f5b0e7d545b38d6b8e7bde005">pcap_setsampling</a> (<a class="el" href="group__wpcap__def.html#ga4711d025f83503ce692efa5e45ec60a7">pcap_t</a> *p)</td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Remote Capture functions</div></td></tr>
|
|
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpcef4716e2c6764b8872a369500aa8e6f"></a> </p>
|
|
<br/><br/></div></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">SOCKET </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#a5495943cc8262db57f726e2a23f837dd">pcap_remoteact_accept</a> (const char *address, const char *port, const char *hostlist, char *connectinghost, struct <a class="el" href="structpcap__rmtauth.html">pcap_rmtauth</a> *auth, char *errbuf)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#a7ee8f666bff537aa457b7c05651cf815">pcap_remoteact_list</a> (char *hostlist, char sep, int size, char *errbuf)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#a6a84e03497f946d61c440696e57e2c95">pcap_remoteact_close</a> (const char *<a class="el" href="wpcap__remote_8htm.html#a3c46d79c790748a5942fb43baa6b3073">host</a>, char *errbuf)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="remote-ext_8h.html#a7b022e0a67f5ff62fd13df5c688d6d82">pcap_remoteact_cleanup</a> ()</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>The goal of this file it to include most of the new definitions that should be placed into the pcap.h file.</p>
|
|
<p>It includes all new definitions (structures and functions like <a class="el" href="group__wpcapfunc.html#ga2b64c7b6490090d1d37088794f1f1791" title="Open a generic source in order to capture / send (WinPcap only) traffic.">pcap_open()</a>. Some of the functions are not really a remote feature, but, right now, they are placed here. </p>
|
|
|
|
<p>Definition in file <a class="el" href="remote-ext_8h_source.html">remote-ext.h</a>.</p>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="aa3111e10f930a9772a32a922b26948b0"></a><!-- doxytag: member="remote-ext.h::pcap_createsrcstr" ref="aa3111e10f930a9772a32a922b26948b0" args="(char *source, int type, const char *host, const char *port, const char *name, char *errbuf)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int pcap_createsrcstr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>source</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>host</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>errbuf</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a98f36e62c95c6ad81eaa8b2bbeb8f16e"></a><!-- doxytag: member="remote-ext.h::pcap_findalldevs_ex" ref="a98f36e62c95c6ad81eaa8b2bbeb8f16e" args="(char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int pcap_findalldevs_ex </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>source</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">struct <a class="el" href="structpcap__rmtauth.html">pcap_rmtauth</a> * </td>
|
|
<td class="paramname"> <em>auth</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structpcap__if.html">pcap_if_t</a> ** </td>
|
|
<td class="paramname"> <em>alldevs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>errbuf</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2b64c7b6490090d1d37088794f1f1791"></a><!-- doxytag: member="remote-ext.h::pcap_open" ref="a2b64c7b6490090d1d37088794f1f1791" args="(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *errbuf)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__wpcap__def.html#ga4711d025f83503ce692efa5e45ec60a7">pcap_t</a>* pcap_open </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>source</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>snaplen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>flags</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>read_timeout</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">struct <a class="el" href="structpcap__rmtauth.html">pcap_rmtauth</a> * </td>
|
|
<td class="paramname"> <em>auth</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>errbuf</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a090e0afd3f463b4b60a64c47eddc1ba2"></a><!-- doxytag: member="remote-ext.h::pcap_parsesrcstr" ref="a090e0afd3f463b4b60a64c47eddc1ba2" args="(const char *source, int *type, char *host, char *port, char *name, char *errbuf)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int pcap_parsesrcstr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>source</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int * </td>
|
|
<td class="paramname"> <em>type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>host</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>errbuf</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5495943cc8262db57f726e2a23f837dd"></a><!-- doxytag: member="remote-ext.h::pcap_remoteact_accept" ref="a5495943cc8262db57f726e2a23f837dd" args="(const char *address, const char *port, const char *hostlist, char *connectinghost, struct pcap_rmtauth *auth, char *errbuf)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">SOCKET pcap_remoteact_accept </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>address</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>port</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>hostlist</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>connectinghost</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">struct <a class="el" href="structpcap__rmtauth.html">pcap_rmtauth</a> * </td>
|
|
<td class="paramname"> <em>auth</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>errbuf</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7b022e0a67f5ff62fd13df5c688d6d82"></a><!-- doxytag: member="remote-ext.h::pcap_remoteact_cleanup" ref="a7b022e0a67f5ff62fd13df5c688d6d82" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void pcap_remoteact_cleanup </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6a84e03497f946d61c440696e57e2c95"></a><!-- doxytag: member="remote-ext.h::pcap_remoteact_close" ref="a6a84e03497f946d61c440696e57e2c95" args="(const char *host, char *errbuf)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int pcap_remoteact_close </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>host</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>errbuf</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7ee8f666bff537aa457b7c05651cf815"></a><!-- doxytag: member="remote-ext.h::pcap_remoteact_list" ref="a7ee8f666bff537aa457b7c05651cf815" args="(char *hostlist, char sep, int size, char *errbuf)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int pcap_remoteact_list </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>hostlist</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"> <em>sep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"> <em>errbuf</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a84c7d55f5b0e7d545b38d6b8e7bde005"></a><!-- doxytag: member="remote-ext.h::pcap_setsampling" ref="a84c7d55f5b0e7d545b38d6b8e7bde005" args="(pcap_t *p)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct <a class="el" href="structpcap__samp.html">pcap_samp</a>* pcap_setsampling </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__wpcap__def.html#ga4711d025f83503ce692efa5e45ec60a7">pcap_t</a> * </td>
|
|
<td class="paramname"> <em>p</em></td>
|
|
<td> ) </td>
|
|
<td><code> [read]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</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>
|