Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dpsock_tpacket.c63 #define NUM_PACKETS 100 macro
236 pair_udp_send(udp_sock, NUM_PACKETS); in walk_v1_v2_rx()
238 while (total_packets < NUM_PACKETS * 2) { in walk_v1_v2_rx()
270 if (total_packets != 2 * NUM_PACKETS) { in walk_v1_v2_rx()
272 ring->version, total_packets, NUM_PACKETS); in walk_v1_v2_rx()
276 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx()
393 bug_on(nframes < NUM_PACKETS); in walk_tx()
415 total_packets = NUM_PACKETS; in walk_tx()
481 total_packets < NUM_PACKETS) { in walk_tx()
491 if (total_packets != NUM_PACKETS) { in walk_tx()
[all …]
H A Dgro.c65 #define NUM_PACKETS 4 macro
333 flag = NUM_PACKETS / 2; in send_flags()
345 for (i = 0; i < NUM_PACKETS + 1; i++) { in send_flags()
1092 static int correct_payload[NUM_PACKETS]; in gro_receiver()