chromium/net/third_party/quiche/src/quiche/common/quiche_ip_address_family.h

// Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef QUICHE_COMMON_QUICHE_IP_ADDRESS_FAMILY_H_
#define QUICHE_COMMON_QUICHE_IP_ADDRESS_FAMILY_H_

#include "quiche/common/platform/api/quiche_export.h"

namespace quiche {

// IP address family type used in QUIC. This hides platform dependant IP address
// family types.
enum class IpAddressFamily {};

QUICHE_EXPORT int ToPlatformAddressFamily(IpAddressFamily family);
QUICHE_EXPORT IpAddressFamily FromPlatformAddressFamily(int family);

}  // namespace quiche

#endif  // QUICHE_COMMON_QUICHE_IP_ADDRESS_FAMILY_H_