#include "quiche/common/quiche_ip_address.h"
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <string>
#include "absl/strings/str_cat.h"
#include "quiche/common/platform/api/quiche_bug_tracker.h"
#include "quiche/common/platform/api/quiche_logging.h"
#include "quiche/common/quiche_ip_address_family.h"
namespace quiche {
QuicheIpAddress QuicheIpAddress::Loopback4() { … }
QuicheIpAddress QuicheIpAddress::Loopback6() { … }
QuicheIpAddress QuicheIpAddress::Any4() { … }
QuicheIpAddress QuicheIpAddress::Any6() { … }
QuicheIpAddress::QuicheIpAddress() : … { … }
QuicheIpAddress::QuicheIpAddress(const in_addr& ipv4_address)
: … { … }
QuicheIpAddress::QuicheIpAddress(const in6_addr& ipv6_address)
: … { … }
bool operator==(QuicheIpAddress lhs, QuicheIpAddress rhs) { … }
bool operator!=(QuicheIpAddress lhs, QuicheIpAddress rhs) { … }
bool QuicheIpAddress::IsInitialized() const { … }
IpAddressFamily QuicheIpAddress::address_family() const { … }
int QuicheIpAddress::AddressFamilyToInt() const { … }
std::string QuicheIpAddress::ToPackedString() const { … }
std::string QuicheIpAddress::ToString() const { … }
static const uint8_t kMappedAddressPrefix[] = …;
QuicheIpAddress QuicheIpAddress::Normalized() const { … }
QuicheIpAddress QuicheIpAddress::DualStacked() const { … }
bool QuicheIpAddress::FromPackedString(const char* data, size_t length) { … }
bool QuicheIpAddress::FromString(std::string str) { … }
bool QuicheIpAddress::IsIPv4() const { … }
bool QuicheIpAddress::IsIPv6() const { … }
bool QuicheIpAddress::InSameSubnet(const QuicheIpAddress& other,
int subnet_length) { … }
in_addr QuicheIpAddress::GetIPv4() const { … }
in6_addr QuicheIpAddress::GetIPv6() const { … }
QuicheIpPrefix::QuicheIpPrefix() : … { … }
QuicheIpPrefix::QuicheIpPrefix(const QuicheIpAddress& address)
: … { … }
QuicheIpPrefix::QuicheIpPrefix(const QuicheIpAddress& address,
uint8_t prefix_length)
: … { … }
std::string QuicheIpPrefix::ToString() const { … }
bool operator==(const QuicheIpPrefix& lhs, const QuicheIpPrefix& rhs) { … }
bool operator!=(const QuicheIpPrefix& lhs, const QuicheIpPrefix& rhs) { … }
}