History log of /system/connectivity/shill/mock_icmp.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 03-Sep-2015 Peter Qiu <zqiu@google.com> License shill to Apache2

This patch automatically replaced the license on all text files from
Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as
a reference.

The license header was added to .gyp and .gypi, the NOTICE was added with a copy
of the Apache2 license and MODULE_LICENSE_* file was added.

BUG=23587594
TEST=grep 'Chromium OS Authors' doesn't find anything.

Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/mock_icmp.h
f66080eb8e8826128d6ad57cce3e9722c8f5a31f 19-Jun-2015 Samuel Tan <samueltan@chromium.org> shill: implement ping in shill in IcmpSession

Add IcmpSession, a class which wraps around Icmp to allow us to
perform ping in shill. When an object of this class is created
and started via IcmpSession::Start, it keeps sending ICMP echo
requests to a given destination at 1 second intervals until 3
echo requests are succesfully sent. IcmpSession then waits until
all echo replies are received (or a timeout occurs) before
reporting the latency for each echo reply to the caller.

BUG=chromium:216691
TEST=Compile shill and run unit tests.

Change-Id: Ia7e4e9381b6a496daf2fdc4df3008599ce1b312f
Reviewed-on: https://chromium-review.googlesource.com/272513
Trybot-Ready: Samuel Tan <samueltan@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Samuel Tan <samueltan@chromium.org>
Tested-by: Samuel Tan <samueltan@chromium.org>
/system/connectivity/shill/mock_icmp.h