chromium/net/quic/address_utils.h

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_QUIC_ADDRESS_UTILS_H_
#define NET_QUIC_ADDRESS_UTILS_H_

#include <string.h>

#include "base/containers/span.h"
#include "net/base/ip_address.h"
#include "net/base/ip_endpoint.h"
#include "net/third_party/quiche/src/quiche/common/quiche_ip_address.h"
#include "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.h"
#include "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.h"

namespace net {

inline IPEndPoint ToIPEndPoint(quic::QuicSocketAddress address) {}

inline IPAddress ToIPAddress(quic::QuicIpAddress address) {}

inline quic::QuicSocketAddress ToQuicSocketAddress(IPEndPoint address) {}

inline quic::QuicIpAddress ToQuicIpAddress(net::IPAddress address) {}

}  // namespace net

#endif  // NET_QUIC_ADDRESS_UTILS_H_