1 // Copyright (c) 2014 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.
5 #ifndef NET_BASE_NET_UTIL_POSIX_H_
6 #define NET_BASE_NET_UTIL_POSIX_H_
8 // This file is only used to expose some of the internals of
9 // net_util_posix.cc to net_util_linux.cc and net_util_mac.cc.
18 bool ShouldIgnoreInterface(const std::string
& name
, int policy
);
19 bool IsLoopbackOrUnspecifiedAddress(const sockaddr
* addr
);
22 } // namespace internal
25 #endif // NET_BASE_NET_UTIL_POSIX_H_