mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
deploy: 023f5704d0
This commit is contained in:
@@ -92,38 +92,41 @@ $(function() {
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define BEAST_NET_IPADDRESSV4_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/beast/hash/hash_append.h></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a>></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/functional.html">functional</a>></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/ios.html">ios</a>></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>></span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a>></span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <boost/asio/ip/address_v4.hpp></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <boost/asio/ip/address_v4.hpp></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a>></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/functional.html">functional</a>></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/ios.html">ios</a>></span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>></span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a>></span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span><a class="code" href="namespacebeast.html">beast</a> {</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span>IP {</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5"> 34</a></span> <span class="keyword">using</span> <a class="code" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a> = boost::asio::ip::address_v4;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">bool</span> <a class="code" href="namespacebeast_1_1IP.html#aab5302f0a96d55a125cd4e0dd5d03288">is_private</a> (<a class="code" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a> <span class="keyword">const</span>& addr);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">bool</span> <a class="code" href="namespacebeast_1_1IP.html#af5a04b94fad7e242325069c5f730bde6">is_public</a> (<a class="code" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a> <span class="keyword">const</span>& addr);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keywordtype">char</span> <a class="code" href="namespacebeast_1_1IP.html#ab6d4810c9fcab20d3ad143fd2df49cd5">get_class</a> (<a class="code" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a> <span class="keyword">const</span>& address);</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> }</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> }</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <a class="code" href="namespacebeast_1_1IP.html#aab5302f0a96d55a125cd4e0dd5d03288">is_private</a>(<a class="code" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a> <span class="keyword">const</span>& addr);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <a class="code" href="namespacebeast_1_1IP.html#af5a04b94fad7e242325069c5f730bde6">is_public</a>(<a class="code" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a> <span class="keyword">const</span>& addr);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keywordtype">char</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <a class="code" href="namespacebeast_1_1IP.html#ab6d4810c9fcab20d3ad143fd2df49cd5">get_class</a>(<a class="code" href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">AddressV4</a> <span class="keyword">const</span>& address);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> } <span class="comment">// namespace IP</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> } <span class="comment">// namespace beast</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="autility_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a></div></div>
|
||||
<div class="ttc" id="afunctional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/functional.html">functional</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_1_1IP_html_ab6d4810c9fcab20d3ad143fd2df49cd5"><div class="ttname"><a href="namespacebeast_1_1IP.html#ab6d4810c9fcab20d3ad143fd2df49cd5">beast::IP::get_class</a></div><div class="ttdeci">char get_class(AddressV4 const &addr)</div><div class="ttdoc">Returns the address class for the given address.</div><div class="ttdef"><b>Definition:</b> <a href="IPAddressV4_8cpp_source.html#l00044">IPAddressV4.cpp:44</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_1_1IP_html_aab5302f0a96d55a125cd4e0dd5d03288"><div class="ttname"><a href="namespacebeast_1_1IP.html#aab5302f0a96d55a125cd4e0dd5d03288">beast::IP::is_private</a></div><div class="ttdeci">bool is_private(AddressV4 const &addr)</div><div class="ttdoc">Returns true if the address is a private unroutable address.</div><div class="ttdef"><b>Definition:</b> <a href="IPAddressV4_8cpp_source.html#l00028">IPAddressV4.cpp:28</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_1_1IP_html_ab6d4810c9fcab20d3ad143fd2df49cd5"><div class="ttname"><a href="namespacebeast_1_1IP.html#ab6d4810c9fcab20d3ad143fd2df49cd5">beast::IP::get_class</a></div><div class="ttdeci">char get_class(AddressV4 const &addr)</div><div class="ttdoc">Returns the address class for the given address.</div><div class="ttdef"><b>Definition:</b> <a href="IPAddressV4_8cpp_source.html#l00047">IPAddressV4.cpp:47</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_1_1IP_html_aab5302f0a96d55a125cd4e0dd5d03288"><div class="ttname"><a href="namespacebeast_1_1IP.html#aab5302f0a96d55a125cd4e0dd5d03288">beast::IP::is_private</a></div><div class="ttdeci">bool is_private(AddressV4 const &addr)</div><div class="ttdoc">Returns true if the address is a private unroutable address.</div><div class="ttdef"><b>Definition:</b> <a href="IPAddressV4_8cpp_source.html#l00029">IPAddressV4.cpp:29</a></div></div>
|
||||
<div class="ttc" id="acstdint_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_1_1IP_html_af5a04b94fad7e242325069c5f730bde6"><div class="ttname"><a href="namespacebeast_1_1IP.html#af5a04b94fad7e242325069c5f730bde6">beast::IP::is_public</a></div><div class="ttdeci">bool is_public(AddressV4 const &addr)</div><div class="ttdoc">Returns true if the address is a public routable address.</div><div class="ttdef"><b>Definition:</b> <a href="IPAddressV4_8cpp_source.html#l00037">IPAddressV4.cpp:37</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_1_1IP_html_af5a04b94fad7e242325069c5f730bde6"><div class="ttname"><a href="namespacebeast_1_1IP.html#af5a04b94fad7e242325069c5f730bde6">beast::IP::is_public</a></div><div class="ttdeci">bool is_public(AddressV4 const &addr)</div><div class="ttdoc">Returns true if the address is a public routable address.</div><div class="ttdef"><b>Definition:</b> <a href="IPAddressV4_8cpp_source.html#l00041">IPAddressV4.cpp:41</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_1_1IP_html_ad2074ed8068d52be937bf6895918bcb5"><div class="ttname"><a href="namespacebeast_1_1IP.html#ad2074ed8068d52be937bf6895918bcb5">beast::IP::AddressV4</a></div><div class="ttdeci">boost::asio::ip::address_v4 AddressV4</div><div class="ttdef"><b>Definition:</b> <a href="IPAddressV4_8h_source.html#l00034">IPAddressV4.h:34</a></div></div>
|
||||
<div class="ttc" id="aios_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/ios.html">ios</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00582">base_uint.h:582</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00646">base_uint.h:646</a></div></div>
|
||||
<div class="ttc" id="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user