QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 1 | // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef QUICHE_QUIC_PLATFORM_API_QUIC_IP_ADDRESS_FAMILY_H_ |
| 6 | #define QUICHE_QUIC_PLATFORM_API_QUIC_IP_ADDRESS_FAMILY_H_ |
| 7 | |
| 8 | namespace quic { |
| 9 | |
| 10 | // IP address family type used in QUIC. This hides platform dependant IP address |
| 11 | // family types. |
| 12 | enum class IpAddressFamily { |
| 13 | IP_V4, |
| 14 | IP_V6, |
| 15 | IP_UNSPEC, |
| 16 | }; |
| 17 | |
| 18 | } // namespace quic |
| 19 | |
| 20 | #endif // QUICHE_QUIC_PLATFORM_API_QUIC_IP_ADDRESS_FAMILY_H_ |