#include "components/webrtc/net_address_utils.h"
#include <stdint.h>
#include <memory>
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/values.h"
#include "net/base/ip_address.h"
#include "net/base/ip_endpoint.h"
#include "third_party/webrtc/rtc_base/byte_order.h"
#include "third_party/webrtc/rtc_base/socket_address.h"
namespace webrtc {
bool IPEndPointToSocketAddress(const net::IPEndPoint& ip_endpoint,
rtc::SocketAddress* address) { … }
bool SocketAddressToIPEndPoint(const rtc::SocketAddress& address,
net::IPEndPoint* ip_endpoint) { … }
rtc::IPAddress NetIPAddressToRtcIPAddress(const net::IPAddress& ip_address) { … }
net::IPAddress RtcIPAddressToNetIPAddress(const rtc::IPAddress& ip_address) { … }
}