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

Unified Diff: net/base/network_interfaces_linux.h

Issue 2890773002: When creating sockets for ioctl() use AF_INET6 or AF_INET (Closed)
Patch Set: Created 3 years, 7 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 | « net/base/address_tracker_linux.cc ('k') | net/base/network_interfaces_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_interfaces_linux.h
diff --git a/net/base/network_interfaces_linux.h b/net/base/network_interfaces_linux.h
index 9dfea10fb3a1f09ecbe184a4076d06e05a17f197..45ad11e9846da6f72cbed87a5b1aa6109feb1b5e 100644
--- a/net/base/network_interfaces_linux.h
+++ b/net/base/network_interfaces_linux.h
@@ -11,6 +11,7 @@
#include <string>
#include <unordered_set>
+#include "base/files/scoped_file.h"
#include "net/base/address_tracker_linux.h"
#include "net/base/net_export.h"
#include "net/base/network_interfaces.h"
@@ -38,6 +39,9 @@ NET_EXPORT std::string GetWifiSSIDFromInterfaceListInternal(
const NetworkInterfaceList& interfaces,
internal::GetInterfaceSSIDFunction get_interface_ssid);
+// Returns a socket useful for performing ioctl()s.
+base::ScopedFD GetSocketForIoctl();
+
} // namespace internal
} // namespace net
« no previous file with comments | « net/base/address_tracker_linux.cc ('k') | net/base/network_interfaces_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698