#include <folly/IPAddressV4.h>
#include <ostream>
#include <string>
#include <fmt/core.h>
#include <folly/Conv.h>
#include <folly/IPAddress.h>
#include <folly/IPAddressV6.h>
#include <folly/String.h>
#include <folly/detail/IPAddressSource.h>
ostream;
string;
namespace folly {
size_t hash_value(const IPAddressV4& addr) { … }
ostream& operator<<(ostream& os, const IPAddressV4& addr) { … }
void toAppend(IPAddressV4 addr, string* result) { … }
void toAppend(IPAddressV4 addr, fbstring* result) { … }
bool IPAddressV4::validate(StringPiece ip) noexcept { … }
IPAddressV4 IPAddressV4::fromLong(uint32_t src) { … }
IPAddressV4 IPAddressV4::fromLongHBO(uint32_t src) { … }
uint32_t IPAddressV4::toLong(StringPiece ip) { … }
uint32_t IPAddressV4::toLongHBO(StringPiece ip) { … }
IPAddressV4::IPAddressV4() = default;
IPAddressV4::IPAddressV4(const ByteArray4& src) noexcept : … { … }
IPAddressV4::IPAddressV4(StringPiece addr) : … { … }
Expected<IPAddressV4, IPAddressFormatError> IPAddressV4::tryFromString(
StringPiece str) noexcept { … }
IPAddressV4::IPAddressV4(const in_addr src) noexcept : … { … }
IPAddressV4 IPAddressV4::fromBinary(ByteRange bytes) { … }
Expected<IPAddressV4, IPAddressFormatError> IPAddressV4::tryFromBinary(
ByteRange bytes) noexcept { … }
Expected<Unit, IPAddressFormatError> IPAddressV4::trySetFromBinary(
ByteRange bytes) noexcept { … }
IPAddressV4 IPAddressV4::fromInverseArpaName(const std::string& arpaname) { … }
IPAddressV6 IPAddressV4::createIPv6() const { … }
IPAddressV6 IPAddressV4::getIPv6For6To4() const { … }
string IPAddressV4::toJson() const { … }
bool IPAddressV4::inSubnet(StringPiece cidrNetwork) const { … }
bool IPAddressV4::inSubnetWithMask(
const IPAddressV4& subnet, const ByteArray4 cidrMask) const { … }
bool IPAddressV4::isLoopback() const { … }
bool IPAddressV4::isLinkLocal() const { … }
bool IPAddressV4::isNonroutable() const { … }
bool IPAddressV4::isPrivate() const { … }
bool IPAddressV4::isMulticast() const { … }
IPAddressV4 IPAddressV4::mask(size_t numBits) const { … }
string IPAddressV4::str() const { … }
void IPAddressV4::toFullyQualifiedAppend(std::string& out) const { … }
string IPAddressV4::toInverseArpaName() const { … }
uint8_t IPAddressV4::getNthMSByte(size_t byteIndex) const { … }
ByteArray4 IPAddressV4::fetchMask(size_t numBits) { … }
CIDRNetworkV4 IPAddressV4::longestCommonPrefix(
const CIDRNetworkV4& one, const CIDRNetworkV4& two) { … }
}