149 lines
8.8 KiB
HTML
149 lines
8.8 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: pcap_addr Struct 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 class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
|||
|
<li><a href="files.html"><span>Files</span></a></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<div class="tabs">
|
|||
|
<ul>
|
|||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|||
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="contents">
|
|||
|
<h1>pcap_addr Struct Reference<br/>
|
|||
|
<small>
|
|||
|
[<a class="el" href="group__wpcap__def.html">Definitions</a>]</small>
|
|||
|
</h1><!-- doxytag: class="pcap_addr" -->
|
|||
|
<p>Representation of an interface address, used by <a class="el" href="group__wpcapfunc.html#ga7b128eaeef627b408f6a6e2a2f5eb45d" title="Construct a list of network devices that can be opened with pcap_open_live().">pcap_findalldevs()</a>.
|
|||
|
<a href="#_details">More...</a></p>
|
|||
|
|
|||
|
<p><code>#include <<a class="el" href="incs_2pcap_8h_source.html">pcap.h</a>></code></p>
|
|||
|
<table border="0" cellpadding="0" cellspacing="0">
|
|||
|
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
|
|||
|
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structpcap__addr.html">pcap_addr</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__addr.html#ab151e8e96bdb23ae8dd8d644de561999">next</a></td></tr>
|
|||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">if not NULL, a pointer to the next element in the list; NULL for the last element of the list <a href="#ab151e8e96bdb23ae8dd8d644de561999"></a><br/></td></tr>
|
|||
|
<tr><td class="memItemLeft" align="right" valign="top">struct sockaddr * </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__addr.html#a4863f5b8767cd19fe6ea4db75456e5df">addr</a></td></tr>
|
|||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">a pointer to a struct sockaddr containing an address <a href="#a4863f5b8767cd19fe6ea4db75456e5df"></a><br/></td></tr>
|
|||
|
<tr><td class="memItemLeft" align="right" valign="top">struct sockaddr * </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__addr.html#ac43963e42e4d901e55e433ab9c3ea686">netmask</a></td></tr>
|
|||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">if not NULL, a pointer to a struct sockaddr that contains the netmask corresponding to the address pointed to by addr. <a href="#ac43963e42e4d901e55e433ab9c3ea686"></a><br/></td></tr>
|
|||
|
<tr><td class="memItemLeft" align="right" valign="top">struct sockaddr * </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__addr.html#a0077647e1560caa72d457120b36c248c">broadaddr</a></td></tr>
|
|||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">if not NULL, a pointer to a struct sockaddr that contains the broadcast address corre<72> sponding to the address pointed to by addr; may be null if the interface doesn't support broadcasts <a href="#a0077647e1560caa72d457120b36c248c"></a><br/></td></tr>
|
|||
|
<tr><td class="memItemLeft" align="right" valign="top">struct sockaddr * </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__addr.html#a4a32e00e83d4b1b582ba9cef24a5d62a">dstaddr</a></td></tr>
|
|||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">if not NULL, a pointer to a struct sockaddr that contains the destination address corre<72> sponding to the address pointed to by addr; may be null if the interface isn't a point- to-point interface <a href="#a4a32e00e83d4b1b582ba9cef24a5d62a"></a><br/></td></tr>
|
|||
|
</table>
|
|||
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|||
|
<p>Representation of an interface address, used by <a class="el" href="group__wpcapfunc.html#ga7b128eaeef627b408f6a6e2a2f5eb45d" title="Construct a list of network devices that can be opened with pcap_open_live().">pcap_findalldevs()</a>. </p>
|
|||
|
|
|||
|
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00161">161</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
|
|||
|
<hr/><h2>Field Documentation</h2>
|
|||
|
<a class="anchor" id="a4863f5b8767cd19fe6ea4db75456e5df"></a><!-- doxytag: member="pcap_addr::addr" ref="a4863f5b8767cd19fe6ea4db75456e5df" args="" -->
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">struct sockaddr* <a class="el" href="structpcap__addr.html#a4863f5b8767cd19fe6ea4db75456e5df">addr</a><code> [read]</code></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div class="memdoc">
|
|||
|
|
|||
|
<p>a pointer to a struct sockaddr containing an address </p>
|
|||
|
|
|||
|
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00163">163</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="a0077647e1560caa72d457120b36c248c"></a><!-- doxytag: member="pcap_addr::broadaddr" ref="a0077647e1560caa72d457120b36c248c" args="" -->
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">struct sockaddr* <a class="el" href="structpcap__addr.html#a0077647e1560caa72d457120b36c248c">broadaddr</a><code> [read]</code></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div class="memdoc">
|
|||
|
|
|||
|
<p>if not NULL, a pointer to a struct sockaddr that contains the broadcast address corre<72> sponding to the address pointed to by addr; may be null if the interface doesn't support broadcasts </p>
|
|||
|
|
|||
|
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00165">165</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="a4a32e00e83d4b1b582ba9cef24a5d62a"></a><!-- doxytag: member="pcap_addr::dstaddr" ref="a4a32e00e83d4b1b582ba9cef24a5d62a" args="" -->
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">struct sockaddr* <a class="el" href="structpcap__addr.html#a4a32e00e83d4b1b582ba9cef24a5d62a">dstaddr</a><code> [read]</code></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div class="memdoc">
|
|||
|
|
|||
|
<p>if not NULL, a pointer to a struct sockaddr that contains the destination address corre<72> sponding to the address pointed to by addr; may be null if the interface isn't a point- to-point interface </p>
|
|||
|
|
|||
|
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00166">166</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="ac43963e42e4d901e55e433ab9c3ea686"></a><!-- doxytag: member="pcap_addr::netmask" ref="ac43963e42e4d901e55e433ab9c3ea686" args="" -->
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">struct sockaddr* <a class="el" href="structpcap__addr.html#ac43963e42e4d901e55e433ab9c3ea686">netmask</a><code> [read]</code></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div class="memdoc">
|
|||
|
|
|||
|
<p>if not NULL, a pointer to a struct sockaddr that contains the netmask corresponding to the address pointed to by addr. </p>
|
|||
|
|
|||
|
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00164">164</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="ab151e8e96bdb23ae8dd8d644de561999"></a><!-- doxytag: member="pcap_addr::next" ref="ab151e8e96bdb23ae8dd8d644de561999" args="" -->
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">struct <a class="el" href="structpcap__addr.html">pcap_addr</a>* <a class="el" href="structpcap__addr.html#ab151e8e96bdb23ae8dd8d644de561999">next</a><code> [read]</code></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div class="memdoc">
|
|||
|
|
|||
|
<p>if not NULL, a pointer to the next element in the list; NULL for the last element of the list </p>
|
|||
|
|
|||
|
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00162">162</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|||
|
<li><a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a></li>
|
|||
|
</ul>
|
|||
|
</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>
|