webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions
ipaddress.cc File Reference
#include <stdio.h>
#include "webrtc/base/ipaddress.h"
#include "webrtc/base/byteorder.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/nethelpers.h"
#include "webrtc/base/stringutils.h"
#include "webrtc/base/win32.h"

Namespaces

 rtc
 

Functions

std::ostream & rtc::operator<< (std::ostream &os, const IPAddress &ip)
 
std::ostream & rtc::operator<< (std::ostream &os, const InterfaceAddress &ip)
 
bool rtc::IPFromAddrInfo (struct addrinfo *info, IPAddress *out)
 
bool rtc::IPFromString (const std::string &str, IPAddress *out)
 
bool rtc::IPFromString (const std::string &str, int flags, InterfaceAddress *out)
 
bool rtc::IPIsAny (const IPAddress &ip)
 
bool rtc::IPIsLoopback (const IPAddress &ip)
 
bool rtc::IPIsPrivate (const IPAddress &ip)
 
bool rtc::IPIsUnspec (const IPAddress &ip)
 
size_t rtc::HashIP (const IPAddress &ip)
 
IPAddress rtc::TruncateIP (const IPAddress &ip, int length)
 
int rtc::CountIPMaskBits (IPAddress mask)
 
bool rtc::IPIsHelper (const IPAddress &ip, const in6_addr &tomatch, int length)
 
bool rtc::IPIs6Bone (const IPAddress &ip)
 
bool rtc::IPIs6To4 (const IPAddress &ip)
 
bool rtc::IPIsLinkLocal (const IPAddress &ip)
 
bool rtc::IPIsMacBased (const IPAddress &ip)
 
bool rtc::IPIsSiteLocal (const IPAddress &ip)
 
bool rtc::IPIsULA (const IPAddress &ip)
 
bool rtc::IPIsTeredo (const IPAddress &ip)
 
bool rtc::IPIsV4Compatibility (const IPAddress &ip)
 
bool rtc::IPIsV4Mapped (const IPAddress &ip)
 
int rtc::IPAddressPrecedence (const IPAddress &ip)
 
IPAddress rtc::GetLoopbackIP (int family)
 
IPAddress rtc::GetAnyIP (int family)