D7net Mini Sh3LL v1
Current File : /var/www/html/../../../usr/share/doc/libsmartcols1/../libapr1-dev/html/structapr__sockaddr__t.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Portable Runtime: apr_sockaddr_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Apache Portable Runtime
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">apr_sockaddr_t Struct Reference<div class="ingroups"><a class="el" href="group___a_p_r.html">Apache Portability Runtime library</a> » <a class="el" href="group__apr__network__io.html">Network Routines</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="apr__network__io_8h_source.html">apr_network_io.h</a>></code></p>
<div class="dynheader">
Collaboration diagram for apr_sockaddr_t:</div>
<div class="dyncontent">
<div class="center"><img src="structapr__sockaddr__t__coll__graph.png" border="0" usemap="#apr__sockaddr__t_coll__map" alt="Collaboration graph"/></div>
<!-- MAP 0 -->
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a5f2d72a6a181cf2f54ba7c922aa0dfab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a5f2d72a6a181cf2f54ba7c922aa0dfab">pool</a></td></tr>
<tr class="separator:a5f2d72a6a181cf2f54ba7c922aa0dfab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e675775b407f25674aaa938a40de9cd"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a8e675775b407f25674aaa938a40de9cd">hostname</a></td></tr>
<tr class="separator:a8e675775b407f25674aaa938a40de9cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a668335161a8347b9a34c600bff80b52f"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a668335161a8347b9a34c600bff80b52f">servname</a></td></tr>
<tr class="separator:a668335161a8347b9a34c600bff80b52f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a174c19138de9c208f13ed71b5892e505"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__apr__network__io.html#gaa670a71960f6eb4fe0d0de2a1e7aba03">apr_port_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a174c19138de9c208f13ed71b5892e505">port</a></td></tr>
<tr class="separator:a174c19138de9c208f13ed71b5892e505"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac17f6e803928cfc29069a6e62dcb3a52"><td class="memItemLeft" align="right" valign="top">apr_int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#ac17f6e803928cfc29069a6e62dcb3a52">family</a></td></tr>
<tr class="separator:ac17f6e803928cfc29069a6e62dcb3a52"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef1d2a482f85eeab7b6bf0a7732a087a"><td class="memItemLeft" align="right" valign="top">apr_socklen_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#aef1d2a482f85eeab7b6bf0a7732a087a">salen</a></td></tr>
<tr class="separator:aef1d2a482f85eeab7b6bf0a7732a087a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81be21b2eb968b83ca36183213c99867"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a81be21b2eb968b83ca36183213c99867">ipaddr_len</a></td></tr>
<tr class="separator:a81be21b2eb968b83ca36183213c99867"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8f7cda5562e904a1398ed5a4a6f0a9d9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a8f7cda5562e904a1398ed5a4a6f0a9d9">addr_str_len</a></td></tr>
<tr class="separator:a8f7cda5562e904a1398ed5a4a6f0a9d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e1b71121ada4047acde36c6777b5442"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a6e1b71121ada4047acde36c6777b5442">ipaddr_ptr</a></td></tr>
<tr class="separator:a6e1b71121ada4047acde36c6777b5442"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a774835c6b8e3adf255b752e8b126c434"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a774835c6b8e3adf255b752e8b126c434">next</a></td></tr>
<tr class="separator:a774835c6b8e3adf255b752e8b126c434"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6aa3866aed7f527bf4f988b6dc9b5675"><td class="memItemLeft" >union {</td></tr>
<tr class="memitem:a988334e522b892d1cf4cf4b4ddf80721"><td class="memItemLeft" >   struct sockaddr_in   <a class="el" href="structapr__sockaddr__t.html#a7d5cf0290260c3c448360fc819b28714">sin</a></td></tr>
<tr class="separator:a988334e522b892d1cf4cf4b4ddf80721"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6aa3866aed7f527bf4f988b6dc9b5675"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sockaddr__t.html#a6aa3866aed7f527bf4f988b6dc9b5675">sa</a></td></tr>
<tr class="separator:a6aa3866aed7f527bf4f988b6dc9b5675"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>APRs socket address type, used to ensure protocol independence </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a8f7cda5562e904a1398ed5a4a6f0a9d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f7cda5562e904a1398ed5a4a6f0a9d9">◆ </a></span>addr_str_len</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int apr_sockaddr_t::addr_str_len</td>
</tr>
</table>
</div><div class="memdoc">
<p>How big should the address buffer be? 16 for v4 or 46 for v6 used in inet_ntop... </p>
</div>
</div>
<a id="ac17f6e803928cfc29069a6e62dcb3a52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac17f6e803928cfc29069a6e62dcb3a52">◆ </a></span>family</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">apr_int32_t apr_sockaddr_t::family</td>
</tr>
</table>
</div><div class="memdoc">
<p>The family </p>
</div>
</div>
<a id="a8e675775b407f25674aaa938a40de9cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e675775b407f25674aaa938a40de9cd">◆ </a></span>hostname</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* apr_sockaddr_t::hostname</td>
</tr>
</table>
</div><div class="memdoc">
<p>The hostname </p>
</div>
</div>
<a id="a81be21b2eb968b83ca36183213c99867"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81be21b2eb968b83ca36183213c99867">◆ </a></span>ipaddr_len</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int apr_sockaddr_t::ipaddr_len</td>
</tr>
</table>
</div><div class="memdoc">
<p>How big is the ip address structure we're using? </p>
</div>
</div>
<a id="a6e1b71121ada4047acde36c6777b5442"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e1b71121ada4047acde36c6777b5442">◆ </a></span>ipaddr_ptr</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* apr_sockaddr_t::ipaddr_ptr</td>
</tr>
</table>
</div><div class="memdoc">
<p>This points to the IP address structure within the appropriate sockaddr structure. <br />
</p>
</div>
</div>
<a id="a774835c6b8e3adf255b752e8b126c434"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a774835c6b8e3adf255b752e8b126c434">◆ </a></span>next</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structapr__sockaddr__t.html">apr_sockaddr_t</a>* apr_sockaddr_t::next</td>
</tr>
</table>
</div><div class="memdoc">
<p>If multiple addresses were found by <a class="el" href="group__apr__network__io.html#gaa2f399ca2b60b35c0abf7630298c6c9f">apr_sockaddr_info_get()</a>, this points to a representation of the next address. </p>
</div>
</div>
<a id="a5f2d72a6a181cf2f54ba7c922aa0dfab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f2d72a6a181cf2f54ba7c922aa0dfab">◆ </a></span>pool</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__pools.html#gaf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a>* apr_sockaddr_t::pool</td>
</tr>
</table>
</div><div class="memdoc">
<p>The pool to use... </p>
</div>
</div>
<a id="a174c19138de9c208f13ed71b5892e505"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a174c19138de9c208f13ed71b5892e505">◆ </a></span>port</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__apr__network__io.html#gaa670a71960f6eb4fe0d0de2a1e7aba03">apr_port_t</a> apr_sockaddr_t::port</td>
</tr>
</table>
</div><div class="memdoc">
<p>The numeric port </p>
</div>
</div>
<a id="a6aa3866aed7f527bf4f988b6dc9b5675"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6aa3866aed7f527bf4f988b6dc9b5675">◆ </a></span>sa</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">union { ... } apr_sockaddr_t::sa</td>
</tr>
</table>
</div><div class="memdoc">
<p>Union of either IPv4 or IPv6 sockaddr. </p>
</div>
</div>
<a id="aef1d2a482f85eeab7b6bf0a7732a087a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef1d2a482f85eeab7b6bf0a7732a087a">◆ </a></span>salen</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">apr_socklen_t apr_sockaddr_t::salen</td>
</tr>
</table>
</div><div class="memdoc">
<p>How big is the sockaddr we're using? </p>
</div>
</div>
<a id="a668335161a8347b9a34c600bff80b52f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a668335161a8347b9a34c600bff80b52f">◆ </a></span>servname</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* apr_sockaddr_t::servname</td>
</tr>
</table>
</div><div class="memdoc">
<p>Either a string of the port number or the service name for the port </p>
</div>
</div>
<a id="a7d5cf0290260c3c448360fc819b28714"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d5cf0290260c3c448360fc819b28714">◆ </a></span>sin</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct sockaddr_in apr_sockaddr_t::sin</td>
</tr>
</table>
</div><div class="memdoc">
<p>IPv4 sockaddr structure </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="apr__network__io_8h_source.html">apr_network_io.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
AnonSec - 2021 | Recode By D7net