A 'sockaddr' wrapper class for IPv6 addresses.
More...
#include <gaddress6.h>
|
static int | domain () noexcept |
|
static unsigned short | af () noexcept |
|
static socklen_t | length () noexcept |
|
static bool | validString (const std::string &, std::string *=nullptr) |
|
static bool | validStrings (const std::string &, const std::string &, std::string *=nullptr) |
|
static bool | validPort (unsigned int port) |
|
static bool | validData (const sockaddr *addr, socklen_t len) |
|
A 'sockaddr' wrapper class for IPv6 addresses.
Definition at line 36 of file gaddress6.h.
◆ sockaddr_type
using GNet::Address6::sockaddr_type = sockaddr_in6 |
◆ Address6() [1/6]
GNet::Address6::Address6 |
( |
unsigned int |
port | ) |
|
|
explicit |
◆ Address6() [2/6]
GNet::Address6::Address6 |
( |
const std::string & |
display_string | ) |
|
|
explicit |
◆ Address6() [3/6]
GNet::Address6::Address6 |
( |
const std::string & |
host_part, |
|
|
const std::string & |
port_part |
|
) |
| |
◆ Address6() [4/6]
GNet::Address6::Address6 |
( |
const std::string & |
host_part, |
|
|
unsigned int |
port |
|
) |
| |
◆ Address6() [5/6]
GNet::Address6::Address6 |
( |
unsigned int |
port, |
|
|
int |
|
|
) |
| |
◆ Address6() [6/6]
GNet::Address6::Address6 |
( |
const sockaddr * |
addr, |
|
|
socklen_t |
len, |
|
|
bool |
ipv6_scope_id_fixup = false |
|
) |
| |
◆ address() [1/2]
sockaddr * GNet::Address6::address |
( |
| ) |
|
◆ address() [2/2]
const sockaddr * GNet::Address6::address |
( |
| ) |
const |
◆ af()
unsigned short GNet::Address6::af |
( |
| ) |
|
|
staticnoexcept |
◆ bits()
unsigned int GNet::Address6::bits |
( |
| ) |
const |
◆ displayString()
std::string GNet::Address6::displayString |
( |
bool |
ipv6_with_scope = false | ) |
const |
◆ domain()
int GNet::Address6::domain |
( |
| ) |
|
|
staticnoexcept |
◆ hostPartString()
std::string GNet::Address6::hostPartString |
( |
bool |
raw = false | ) |
const |
◆ isAny()
bool GNet::Address6::isAny |
( |
| ) |
const |
◆ isLinkLocal()
bool GNet::Address6::isLinkLocal |
( |
| ) |
const |
◆ isLocal()
bool GNet::Address6::isLocal |
( |
std::string & |
reason | ) |
const |
◆ isLoopback()
bool GNet::Address6::isLoopback |
( |
| ) |
const |
◆ isUniqueLocal()
bool GNet::Address6::isUniqueLocal |
( |
| ) |
const |
◆ length()
socklen_t GNet::Address6::length |
( |
| ) |
|
|
staticnoexcept |
◆ port()
unsigned int GNet::Address6::port |
( |
| ) |
const |
◆ queryString()
std::string GNet::Address6::queryString |
( |
| ) |
const |
◆ same()
bool GNet::Address6::same |
( |
const Address6 & |
other, |
|
|
bool |
ipv6_compare_with_scope = false |
|
) |
| const |
◆ sameHostPart()
bool GNet::Address6::sameHostPart |
( |
const Address6 & |
other, |
|
|
bool |
ipv6_compare_with_scope = false |
|
) |
| const |
◆ scopeId()
unsigned long GNet::Address6::scopeId |
( |
unsigned long |
default_ = 0UL | ) |
const |
◆ setPort()
void GNet::Address6::setPort |
( |
unsigned int |
port | ) |
|
◆ setScopeId()
void GNet::Address6::setScopeId |
( |
unsigned long |
ipv6_scope_id | ) |
|
◆ setZone()
bool GNet::Address6::setZone |
( |
const std::string & |
ipv6_zone_name_or_scope_id | ) |
|
◆ validData()
bool GNet::Address6::validData |
( |
const sockaddr * |
addr, |
|
|
socklen_t |
len |
|
) |
| |
|
static |
◆ validPort()
bool GNet::Address6::validPort |
( |
unsigned int |
port | ) |
|
|
static |
◆ validString()
bool GNet::Address6::validString |
( |
const std::string & |
s, |
|
|
std::string * |
reason_p = nullptr |
|
) |
| |
|
static |
◆ validStrings()
bool GNet::Address6::validStrings |
( |
const std::string & |
host_part, |
|
|
const std::string & |
port_part, |
|
|
std::string * |
reason_p = nullptr |
|
) |
| |
|
static |
◆ wildcards()
The documentation for this class was generated from the following files:
- /usr/src/slapt-src-x86_64/network/emailrelay/emailrelay-2.3/src/gnet/gaddress6.h
- /usr/src/slapt-src-x86_64/network/emailrelay/emailrelay-2.3/src/gnet/gaddress6.cpp