Searched refs:payload_sum (Results 1 – 1 of 1) sorted by relevance
/external/android-clat/ |
D | clatd_microbenchmark.c | 139 uint8_t payload[], int len, uint32_t payload_sum) { in benchmark() argument 146 if (send_packet(fd, payload, len, payload_sum) == -1) write_err++; in benchmark() 193 uint32_t payload_sum = ip_checksum_add(0, payload, sizeof(payload)); in main() local 197 if (send_packet(fd, payload, sizeof(payload), payload_sum) == -1) die("send_packet"); in main() 200 benchmark("Blocking", fd, sock, NUMPACKETS, 1, payload, sizeof(payload), payload_sum); in main() 205 benchmark("No read", fd, sock, NUMPACKETS, 0, payload, sizeof(payload), payload_sum); in main() 210 benchmark("Nonblocking", fd, sock, NUMPACKETS, 1, payload, sizeof(payload), payload_sum); in main()
|