IPv6 address class.
More...
#include <IPv6Address.h>
|
static IPv6Address::Ptr | create (const char *address, uint16_t port) |
|
static IPv6Address::Ptr | localhost (uint16_t port=0) |
|
static IPv6Address::Ptr | any (uint16_t port=0) |
|
static Ptr | create (const char *address, uint16_t port=0) |
|
static Ptr | create (const sockaddr *address, socklen_t address_len) |
|
static bool | lookUp (std::vector< Address::Ptr > &result, const std::string &host, int family=AF_INET, int type=0, int protocol=0) |
|
static Address::Ptr | lookUpAny (const std::string &host, int family=AF_INET, int type=0, int protocol=0) |
|
◆ Ptr
◆ IPv6Address() [1/3]
IPv6Address::IPv6Address |
( |
| ) |
|
|
explicitnoexcept |
◆ IPv6Address() [2/3]
IPv6Address::IPv6Address |
( |
const sockaddr_in6 & | address | ) |
|
|
explicitnoexcept |
◆ IPv6Address() [3/3]
IPv6Address::IPv6Address |
( |
const uint8_t * | address, |
|
|
uint16_t | port = 0 ) |
|
explicit |
◆ any()
◆ create()
◆ getAddress()
std::string IPv6Address::getAddress |
( |
| ) |
const |
|
nodiscardoverridevirtualnoexcept |
◆ getBroadcastAddress()
IPAddress::Ptr IPv6Address::getBroadcastAddress |
( |
uint32_t | prefix_len | ) |
const |
|
nodiscardoverridevirtualnoexcept |
◆ getFamily()
uint16_t sese::net::IPv6Address::getFamily |
( |
| ) |
|
|
inlineoverridevirtualnoexcept |
◆ getNetworkAddress()
IPAddress::Ptr IPv6Address::getNetworkAddress |
( |
uint32_t | prefix_len | ) |
const |
|
nodiscardoverridevirtualnoexcept |
◆ getPort()
uint16_t sese::net::IPv6Address::getPort |
( |
| ) |
const |
|
inlinenodiscardoverridevirtualnoexcept |
◆ getRawAddress()
sockaddr * IPv6Address::getRawAddress |
( |
| ) |
const |
|
nodiscardoverridevirtualnoexcept |
◆ getRawAddressLength()
socklen_t IPv6Address::getRawAddressLength |
( |
| ) |
const |
|
nodiscardoverridevirtualnoexcept |
◆ getSubnetMask()
IPAddress::Ptr IPv6Address::getSubnetMask |
( |
uint32_t | prefix_len | ) |
const |
|
nodiscardoverridevirtualnoexcept |
◆ localhost()
◆ setFamily()
void sese::net::IPv6Address::setFamily |
( |
uint16_t | family | ) |
|
|
inlineoverridevirtualnoexcept |
◆ setPort()
void sese::net::IPv6Address::setPort |
( |
uint16_t | port | ) |
|
|
inlineoverridevirtualnoexcept |
◆ address
sockaddr_in6 sese::net::IPv6Address::address {0} |
|
private |
The documentation for this class was generated from the following files: