summaryrefslogtreecommitdiffstats
path: root/net/base/address_family.h
blob: faa9193edd1f4c4d78d640d5e09c671edea456a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2009 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 NET_BASE_ADDRESS_FAMILY_H_
#define NET_BASE_ADDRESS_FAMILY_H_

namespace net {

// Enum wrapper around the address family types supported by host resolver
// procedures. These correspond with AF_UNSPEC and AF_INET.
enum AddressFamily {
  ADDRESS_FAMILY_UNSPECIFIED,
  ADDRESS_FAMILY_IPV4_ONLY,
};

}  // namesapce net

#endif  // NET_BASE_ADDRESS_FAMILY_H_