Searched refs:Icmp (Results 1 – 8 of 8) sorted by relevance
27 const int Icmp::kIcmpEchoCode = 0; // value specified in RFC 792.29 Icmp::Icmp() in Icmp() function in shill::Icmp33 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()
37 class Icmp {41 Icmp();42 virtual ~Icmp();72 DISALLOW_COPY_AND_ASSIGN(Icmp);
21 MockIcmp::MockIcmp() : Icmp() {} in MockIcmp()
89 return Icmp::ComputeIcmpChecksum(hdr, len); in ComputeIcmpChecksum()95 Icmp icmp_;171 icmp_header.code = Icmp::kIcmpEchoCode; in TEST_F()
28 class MockIcmp : public Icmp {
52 icmp_(new Icmp()), in IcmpSession()183 if (received_icmp_header->code != Icmp::kIcmpEchoCode) { in OnEchoReplyReceived()
133 std::unique_ptr<Icmp> icmp_;
1940 if (!Icmp().TransmitEchoRequest(ip_address, 1, 1)) { in ResolvePeerMacAddress()