| // 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" |
| // IP address family type used in QUIC. This hides platform dependant IP address |
| enum class IpAddressFamily { |
| QUICHE_EXPORT int ToPlatformAddressFamily(IpAddressFamily family); |
| QUICHE_EXPORT IpAddressFamily FromPlatformAddressFamily(int family); |
| #endif // QUICHE_COMMON_QUICHE_IP_ADDRESS_FAMILY_H_ |