Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: net/base/net_util.h

Issue 213423004: Detect IPv6 interface is temporary or not. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/p2p/socket_dispatcher_host.cc ('k') | net/base/net_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util.h
diff --git a/net/base/net_util.h b/net/base/net_util.h
index 04a9b2dfbe918d7763703e763f0ca1dc607f2c48..8a20a258118d87403967361afe37388bb599c0fc 100644
--- a/net/base/net_util.h
+++ b/net/base/net_util.h
@@ -530,10 +530,13 @@ struct NET_EXPORT NetworkInterface {
typedef std::vector<NetworkInterface> NetworkInterfaceList;
-// Policy settings to include/exclude VMWare host only network interfaces.
-enum HostScopeVirtualInterfacePolicy {
- INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES,
- EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES,
+// Policy settings to include/exclude network interfaces.
+enum HostAddressSelectionPolicy {
+ EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES = 0x1,
+ INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES = 0x2,
agl 2014/03/28 15:31:41 These are again two different flags, but I believe
+ // Include temp address only when interface has both permanent and
+ // temp addresses.
+ INCLUDE_ONLY_TEMP_IPV6_ADDRESS_IF_POSSIBLE = 0x4,
};
// Returns list of network interfaces except loopback interface. If an
@@ -541,7 +544,7 @@ enum HostScopeVirtualInterfacePolicy {
// the list for each address.
// Can be called only on a thread that allows IO.
NET_EXPORT bool GetNetworkList(NetworkInterfaceList* networks,
- HostScopeVirtualInterfacePolicy policy);
+ int policy);
// General category of the IEEE 802.11 (wifi) physical layer operating mode.
enum WifiPHYLayerProtocol {
« no previous file with comments | « content/browser/renderer_host/p2p/socket_dispatcher_host.cc ('k') | net/base/net_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698