Home
last modified time | relevance | path

Searched refs:ComputeIcmpChecksum (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/
Dicmp_unittest.cc88 uint16_t ComputeIcmpChecksum(const struct icmphdr &hdr, size_t len) { in ComputeIcmpChecksum() function in shill::IcmpTest
89 return Icmp::ComputeIcmpChecksum(hdr, len); in ComputeIcmpChecksum()
174 icmp_header.checksum = ComputeIcmpChecksum(icmp_header, sizeof(icmp_header)); in TEST_F()
203 TEST_F(IcmpTest, ComputeIcmpChecksum) { in TEST_F() argument
205 ComputeIcmpChecksum(*reinterpret_cast<const struct icmphdr*>( in TEST_F()
209 ComputeIcmpChecksum(*reinterpret_cast<const struct icmphdr*>( in TEST_F()
Dicmp.cc85 icmp_header.checksum = ComputeIcmpChecksum(icmp_header, sizeof(icmp_header)); in TransmitEchoRequest()
119 uint16_t Icmp::ComputeIcmpChecksum(const struct icmphdr& hdr, size_t len) { in ComputeIcmpChecksum() function in shill::Icmp
Dicmp.h66 static uint16_t ComputeIcmpChecksum(const struct icmphdr& hdr, size_t len);