diff options
author | ikarienator@chromium.org <ikarienator@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 13:59:08 +0000 |
---|---|---|
committer | ikarienator@chromium.org <ikarienator@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 13:59:08 +0000 |
commit | 8f7605a810e8c9fed575d69d42bf96d78678728e (patch) | |
tree | 967f91579043180ffd1ff7fb736c6144ceda4ac9 /chromeos/dbus/debug_daemon_client.h | |
parent | 19fce418b7e0292a5010d40925c7f07963888e22 (diff) | |
download | chromium_src-8f7605a810e8c9fed575d69d42bf96d78678728e.zip chromium_src-8f7605a810e8c9fed575d69d42bf96d78678728e.tar.gz chromium_src-8f7605a810e8c9fed575d69d42bf96d78678728e.tar.bz2 |
Connectivity Diagnostics Private API
Proposal:https://docs.google.com/a/chromium.org/document/d/1U_exKvPmT4AXyqFuHgVBbgBZ2RAKNBjk6MwSPcceWXw/edit
Overview
We’d like to have a set of APIs useful for diagnostics tools, and initially, an API that can be used to replicate ping and traceroute functionality.
Use cases
The sendPacket API is used by a diagnostics tool to find problems in the network configuration of an environment and determine latency issues.
BUG=250851
Review URL: https://chromiumcodereview.appspot.com/17210002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/debug_daemon_client.h')
-rw-r--r-- | chromeos/dbus/debug_daemon_client.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h index 1ed0215..af332d5 100644 --- a/chromeos/dbus/debug_daemon_client.h +++ b/chromeos/dbus/debug_daemon_client.h @@ -127,6 +127,13 @@ class CHROMEOS_EXPORT DebugDaemonClient { virtual void TestICMP(const std::string& ip_address, const TestICMPCallback& callback) = 0; + // Tests ICMP connectivity to a specified host. The |ip_address| contains the + // IPv4 or IPv6 address of the host, for example "8.8.8.8". + virtual void TestICMPWithOptions( + const std::string& ip_address, + const std::map<std::string, std::string>& options, + const TestICMPCallback& callback) = 0; + // Factory function, creates a new instance and returns ownership. // For normal usage, access the singleton via DBusThreadManager::Get(). static DebugDaemonClient* Create(DBusClientImplementationType type, |