| 
    rippled
    
   | 
 
Classes | |
| class | Endpoint | 
| A version-independent IP address and port combination.  More... | |
| class | IPEndpoint_test | 
Typedefs | |
| using | Address = boost::asio::ip::address | 
| using | AddressV4 = boost::asio::ip::address_v4 | 
| using | AddressV6 = boost::asio::ip::address_v6 | 
| using | Port = std::uint16_t | 
Functions | |
| std::string | to_string (Address const &addr) | 
| Returns the address represented as a string.   | |
| bool | is_loopback (Address const &addr) | 
Returns true if this is a loopback address.   | |
| bool | is_unspecified (Address const &addr) | 
Returns true if the address is unspecified.   | |
| bool | is_multicast (Address const &addr) | 
Returns true if the address is a multicast address.   | |
| bool | is_private (Address const &addr) | 
Returns true if the address is a private unroutable address.   | |
| bool | is_public (Address const &addr) | 
Returns true if the address is a public routable address.   | |
| Endpoint | from_asio (boost::asio::ip::address const &address) | 
| Convert to Endpoint.   | |
| Endpoint | from_asio (boost::asio::ip::tcp::endpoint const &endpoint) | 
| Convert to Endpoint.   | |
| boost::asio::ip::address | to_asio_address (Endpoint const &endpoint) | 
| Convert to asio::ip::address.   | |
| boost::asio::ip::tcp::endpoint | to_asio_endpoint (Endpoint const &endpoint) | 
| Convert to asio::ip::tcp::endpoint.   | |
| bool | is_private (AddressV4 const &addr) | 
Returns true if the address is a private unroutable address.   | |
| bool | is_public (AddressV4 const &addr) | 
Returns true if the address is a public routable address.   | |
| char | get_class (AddressV4 const &address) | 
| Returns the address class for the given address.   | |
| bool | is_private (AddressV6 const &addr) | 
Returns true if the address is a private unroutable address.   | |
| bool | is_public (AddressV6 const &addr) | 
Returns true if the address is a public routable address.   | |
| bool | is_loopback (Endpoint const &endpoint) | 
Returns true if the endpoint is a loopback address.   | |
| bool | is_unspecified (Endpoint const &endpoint) | 
Returns true if the endpoint is unspecified.   | |
| bool | is_multicast (Endpoint const &endpoint) | 
Returns true if the endpoint is a multicast address.   | |
| bool | is_private (Endpoint const &endpoint) | 
Returns true if the endpoint is a private unroutable address.   | |
| bool | is_public (Endpoint const &endpoint) | 
Returns true if the endpoint is a public routable address.   | |
| std::string | to_string (Endpoint const &endpoint) | 
| Returns the endpoint represented as a string.   | |
| template<typename OutputStream > | |
| OutputStream & | operator<< (OutputStream &os, Endpoint const &endpoint) | 
| Output stream conversion.   | |
| std::istream & | operator>> (std::istream &is, Endpoint &endpoint) | 
| Input stream conversion.   | |
| bool | operator== (Endpoint const &lhs, Endpoint const &rhs) | 
| bool | operator< (Endpoint const &lhs, Endpoint const &rhs) | 
| BEAST_DEFINE_TESTSUITE (IPEndpoint, beast, beast) | |
| Endpoint | randomEP (bool v4=true) | 
| using beast::IP::Address = typedef boost::asio::ip::address | 
Definition at line 39 of file IPAddress.h.
| using beast::IP::AddressV4 = typedef boost::asio::ip::address_v4 | 
Definition at line 30 of file IPAddressV4.h.
| using beast::IP::AddressV6 = typedef boost::asio::ip::address_v6 | 
Definition at line 30 of file IPAddressV6.h.
| using beast::IP::Port = typedef std::uint16_t | 
Definition at line 34 of file IPEndpoint.h.
| std::string beast::IP::to_string | ( | Address const & | addr | ) | 
Returns the address represented as a string.
Definition at line 43 of file IPAddress.h.
| bool beast::IP::is_loopback | ( | Address const & | addr | ) | 
Returns true if this is a loopback address. 
Definition at line 50 of file IPAddress.h.
| bool beast::IP::is_unspecified | ( | Address const & | addr | ) | 
Returns true if the address is unspecified. 
Definition at line 57 of file IPAddress.h.
| bool beast::IP::is_multicast | ( | Address const & | addr | ) | 
Returns true if the address is a multicast address. 
Definition at line 64 of file IPAddress.h.
| bool beast::IP::is_private | ( | Address const & | addr | ) | 
Returns true if the address is a private unroutable address. 
Definition at line 71 of file IPAddress.h.
| bool beast::IP::is_public | ( | Address const & | addr | ) | 
Returns true if the address is a public routable address. 
Definition at line 78 of file IPAddress.h.
| Endpoint beast::IP::from_asio | ( | boost::asio::ip::address const & | address | ) | 
Convert to Endpoint.
The port is set to zero.
Definition at line 30 of file IPAddressConversion.cpp.
| Endpoint beast::IP::from_asio | ( | boost::asio::ip::tcp::endpoint const & | endpoint | ) | 
Convert to Endpoint.
Definition at line 36 of file IPAddressConversion.cpp.
| boost::asio::ip::address beast::IP::to_asio_address | ( | Endpoint const & | endpoint | ) | 
Convert to asio::ip::address.
The port is ignored.
Definition at line 42 of file IPAddressConversion.cpp.
| boost::asio::ip::tcp::endpoint beast::IP::to_asio_endpoint | ( | Endpoint const & | endpoint | ) | 
Convert to asio::ip::tcp::endpoint.
Definition at line 48 of file IPAddressConversion.cpp.
| bool beast::IP::is_private | ( | AddressV4 const & | addr | ) | 
Returns true if the address is a private unroutable address. 
Definition at line 26 of file IPAddressV4.cpp.
| bool beast::IP::is_public | ( | AddressV4 const & | addr | ) | 
Returns true if the address is a public routable address. 
Definition at line 38 of file IPAddressV4.cpp.
| char beast::IP::get_class | ( | AddressV4 const & | address | ) | 
Returns the address class for the given address.
Definition at line 44 of file IPAddressV4.cpp.
| bool beast::IP::is_private | ( | AddressV6 const & | addr | ) | 
Returns true if the address is a private unroutable address. 
Definition at line 29 of file IPAddressV6.cpp.
| bool beast::IP::is_public | ( | AddressV6 const & | addr | ) | 
Returns true if the address is a public routable address. 
Definition at line 39 of file IPAddressV6.cpp.
| bool beast::IP::is_loopback | ( | Endpoint const & | endpoint | ) | 
Returns true if the endpoint is a loopback address. 
Definition at line 152 of file IPEndpoint.h.
| bool beast::IP::is_unspecified | ( | Endpoint const & | endpoint | ) | 
Returns true if the endpoint is unspecified. 
Definition at line 159 of file IPEndpoint.h.
| bool beast::IP::is_multicast | ( | Endpoint const & | endpoint | ) | 
Returns true if the endpoint is a multicast address. 
Definition at line 166 of file IPEndpoint.h.
| bool beast::IP::is_private | ( | Endpoint const & | endpoint | ) | 
Returns true if the endpoint is a private unroutable address. 
Definition at line 173 of file IPEndpoint.h.
| bool beast::IP::is_public | ( | Endpoint const & | endpoint | ) | 
Returns true if the endpoint is a public routable address. 
Definition at line 180 of file IPEndpoint.h.
| std::string beast::IP::to_string | ( | Endpoint const & | endpoint | ) | 
Returns the endpoint represented as a string.
Definition at line 189 of file IPEndpoint.h.
| OutputStream & beast::IP::operator<< | ( | OutputStream & | os, | 
| Endpoint const & | endpoint | ||
| ) | 
Output stream conversion.
Definition at line 196 of file IPEndpoint.h.
| std::istream & beast::IP::operator>> | ( | std::istream & | is, | 
| Endpoint & | endpoint | ||
| ) | 
Input stream conversion.
Definition at line 108 of file IPEndpoint.cpp.
Definition at line 90 of file IPEndpoint.cpp.
Definition at line 95 of file IPEndpoint.cpp.
| beast::IP::BEAST_DEFINE_TESTSUITE | ( | IPEndpoint | , | 
| beast | , | ||
| beast | |||
| ) | 
| Endpoint beast::IP::randomEP | ( | bool | v4 = true | ) | 
Definition at line 27 of file IPEndpointCommon.h.