webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Friends | List of all members
rtc::IPAddress Class Reference

#include <ipaddress.h>

Inheritance diagram for rtc::IPAddress:
rtc::InterfaceAddress rtc::InterfaceAddress

Public Member Functions

 IPAddress ()
 
 IPAddress (const in_addr &ip4)
 
 IPAddress (const in6_addr &ip6)
 
 IPAddress (uint32_t ip_in_host_byte_order)
 
 IPAddress (const IPAddress &other)
 
virtual ~IPAddress ()
 
const IPAddressoperator= (const IPAddress &other)
 
bool operator== (const IPAddress &other) const
 
bool operator!= (const IPAddress &other) const
 
bool operator< (const IPAddress &other) const
 
bool operator> (const IPAddress &other) const
 
int family () const
 
WEBRTC_DYLIB_EXPORT in_addr ipv4_address () const
 
WEBRTC_DYLIB_EXPORT in6_addr ipv6_address () const
 
size_t Size () const
 
std::string ToString () const
 
std::string ToSensitiveString () const
 
IPAddress Normalized () const
 
IPAddress AsIPv6Address () const
 
uint32_t v4AddressAsHostOrderInteger () const
 
bool IsNil () const
 
 IPAddress ()
 
 IPAddress (const in_addr &ip4)
 
 IPAddress (const in6_addr &ip6)
 
 IPAddress (uint32_t ip_in_host_byte_order)
 
 IPAddress (const IPAddress &other)
 
virtual ~IPAddress ()
 
const IPAddressoperator= (const IPAddress &other)
 
bool operator== (const IPAddress &other) const
 
bool operator!= (const IPAddress &other) const
 
bool operator< (const IPAddress &other) const
 
bool operator> (const IPAddress &other) const
 
int family () const
 
WEBRTC_DYLIB_EXPORT in_addr ipv4_address () const
 
WEBRTC_DYLIB_EXPORT in6_addr ipv6_address () const
 
size_t Size () const
 
std::string ToString () const
 
std::string ToSensitiveString () const
 
IPAddress Normalized () const
 
IPAddress AsIPv6Address () const
 
uint32_t v4AddressAsHostOrderInteger () const
 
bool IsNil () const
 

Friends

std::ostream & operator<< (std::ostream &os, const IPAddress &addr)
 
std::ostream & operator<< (std::ostream &os, const IPAddress &addr)
 

Constructor & Destructor Documentation

◆ IPAddress() [1/10]

rtc::IPAddress::IPAddress ( )
inline

◆ IPAddress() [2/10]

rtc::IPAddress::IPAddress ( const in_addr &  ip4)
inlineexplicit

◆ IPAddress() [3/10]

rtc::IPAddress::IPAddress ( const in6_addr &  ip6)
inlineexplicit

◆ IPAddress() [4/10]

rtc::IPAddress::IPAddress ( uint32_t  ip_in_host_byte_order)
inlineexplicit

◆ IPAddress() [5/10]

rtc::IPAddress::IPAddress ( const IPAddress other)
inline

◆ ~IPAddress() [1/2]

virtual rtc::IPAddress::~IPAddress ( )
inlinevirtual

◆ IPAddress() [6/10]

rtc::IPAddress::IPAddress ( )
inline

◆ IPAddress() [7/10]

rtc::IPAddress::IPAddress ( const in_addr &  ip4)
inlineexplicit

◆ IPAddress() [8/10]

rtc::IPAddress::IPAddress ( const in6_addr &  ip6)
inlineexplicit

◆ IPAddress() [9/10]

rtc::IPAddress::IPAddress ( uint32_t  ip_in_host_byte_order)
inlineexplicit

◆ IPAddress() [10/10]

rtc::IPAddress::IPAddress ( const IPAddress other)
inline

◆ ~IPAddress() [2/2]

virtual rtc::IPAddress::~IPAddress ( )
inlinevirtual

Member Function Documentation

◆ AsIPv6Address() [1/2]

IPAddress rtc::IPAddress::AsIPv6Address ( ) const

◆ AsIPv6Address() [2/2]

IPAddress rtc::IPAddress::AsIPv6Address ( ) const

◆ family() [1/2]

int rtc::IPAddress::family ( ) const
inline

◆ family() [2/2]

int rtc::IPAddress::family ( ) const
inline

◆ ipv4_address() [1/2]

WEBRTC_DYLIB_EXPORT in_addr rtc::IPAddress::ipv4_address ( ) const

◆ ipv4_address() [2/2]

in_addr rtc::IPAddress::ipv4_address ( ) const

◆ ipv6_address() [1/2]

in6_addr rtc::IPAddress::ipv6_address ( ) const

◆ ipv6_address() [2/2]

WEBRTC_DYLIB_EXPORT in6_addr rtc::IPAddress::ipv6_address ( ) const

◆ IsNil() [1/2]

bool rtc::IPAddress::IsNil ( ) const

◆ IsNil() [2/2]

bool rtc::IPAddress::IsNil ( ) const

◆ Normalized() [1/2]

IPAddress rtc::IPAddress::Normalized ( ) const

◆ Normalized() [2/2]

IPAddress rtc::IPAddress::Normalized ( ) const

◆ operator!=() [1/2]

bool rtc::IPAddress::operator!= ( const IPAddress other) const

◆ operator!=() [2/2]

bool rtc::IPAddress::operator!= ( const IPAddress other) const

◆ operator<() [1/2]

bool rtc::IPAddress::operator< ( const IPAddress other) const

◆ operator<() [2/2]

bool rtc::IPAddress::operator< ( const IPAddress other) const

◆ operator=() [1/2]

const IPAddress& rtc::IPAddress::operator= ( const IPAddress other)
inline

◆ operator=() [2/2]

const IPAddress& rtc::IPAddress::operator= ( const IPAddress other)
inline

◆ operator==() [1/2]

bool rtc::IPAddress::operator== ( const IPAddress other) const

◆ operator==() [2/2]

bool rtc::IPAddress::operator== ( const IPAddress other) const

◆ operator>() [1/2]

bool rtc::IPAddress::operator> ( const IPAddress other) const

◆ operator>() [2/2]

bool rtc::IPAddress::operator> ( const IPAddress other) const

◆ Size() [1/2]

size_t rtc::IPAddress::Size ( ) const

◆ Size() [2/2]

size_t rtc::IPAddress::Size ( ) const

◆ ToSensitiveString() [1/2]

std::string rtc::IPAddress::ToSensitiveString ( ) const

◆ ToSensitiveString() [2/2]

std::string rtc::IPAddress::ToSensitiveString ( ) const

◆ ToString() [1/2]

std::string rtc::IPAddress::ToString ( ) const

◆ ToString() [2/2]

std::string rtc::IPAddress::ToString ( ) const

◆ v4AddressAsHostOrderInteger() [1/2]

uint32_t rtc::IPAddress::v4AddressAsHostOrderInteger ( ) const

◆ v4AddressAsHostOrderInteger() [2/2]

uint32_t rtc::IPAddress::v4AddressAsHostOrderInteger ( ) const

Friends And Related Function Documentation

◆ operator<< [1/2]

std::ostream& operator<< ( std::ostream &  os,
const IPAddress addr 
)
friend

◆ operator<< [2/2]

std::ostream& operator<< ( std::ostream &  os,
const IPAddress addr 
)
friend

Member Data Documentation

◆ ip4

in_addr rtc::IPAddress::ip4

◆ ip6

in6_addr rtc::IPAddress::ip6

The documentation for this class was generated from the following files: