Home
last modified time | relevance | path

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

/system/uapp/ping/
A Dping.cpp169 bool ValidateReceivedPacket(const packet_t& sent_packet, size_t sent_packet_size, in ValidateReceivedPacket() argument
172 if (received_packet_size != sent_packet_size) { in ValidateReceivedPacket()
174 received_packet_size, sent_packet_size); in ValidateReceivedPacket()
249 ssize_t sent_packet_size = 0; in main() local
261 sent_packet_size = sizeof(packet.hdr) + options.payload_size_bytes; in main()
262 r = sendto(s, &packet, sent_packet_size, 0, saddr, sizeof(*saddr)); in main()
275 … if (!ValidateReceivedPacket(packet, sent_packet_size, received_packet, r, options)) { in main()

Completed in 5 milliseconds