Home
last modified time | relevance | path

Searched refs:Icmp (Results 1 – 8 of 8) sorted by relevance

/system/connectivity/shill/
Dicmp.cc27 const int Icmp::kIcmpEchoCode = 0; // value specified in RFC 792.
29 Icmp::Icmp() in Icmp() function in shill::Icmp
33 Icmp::~Icmp() {} in ~Icmp()
35 bool Icmp::Start() { in Start()
54 void Icmp::Stop() { in Stop()
59 bool Icmp::IsStarted() const { in IsStarted()
63 bool Icmp::TransmitEchoRequest(const IPAddress& destination, uint16_t id, in TransmitEchoRequest()
119 uint16_t Icmp::ComputeIcmpChecksum(const struct icmphdr& hdr, size_t len) { in ComputeIcmpChecksum()
Dicmp.h37 class Icmp {
41 Icmp();
42 virtual ~Icmp();
72 DISALLOW_COPY_AND_ASSIGN(Icmp);
Dmock_icmp.cc21 MockIcmp::MockIcmp() : Icmp() {} in MockIcmp()
Dicmp_unittest.cc89 return Icmp::ComputeIcmpChecksum(hdr, len); in ComputeIcmpChecksum()
95 Icmp icmp_;
171 icmp_header.code = Icmp::kIcmpEchoCode; in TEST_F()
Dmock_icmp.h28 class MockIcmp : public Icmp {
Dicmp_session.cc52 icmp_(new Icmp()), in IcmpSession()
183 if (received_icmp_header->code != Icmp::kIcmpEchoCode) { in OnEchoReplyReceived()
Dicmp_session.h133 std::unique_ptr<Icmp> icmp_;
Ddevice.cc1940 if (!Icmp().TransmitEchoRequest(ip_address, 1, 1)) { in ResolvePeerMacAddress()