Home
last modified time | relevance | path

Searched refs:sent (Results 1 – 25 of 30) sorted by relevance

12

/tools/testing/selftests/bpf/prog_tests/
A Dsockmap_strp.c171 int sent, recvd, total; in test_sockmap_strp_multiple_pkt() local
202 sent = xsend(c, snd, total, 0); in test_sockmap_strp_multiple_pkt()
203 if (!ASSERT_EQ(sent, total, "xsend(c)")) in test_sockmap_strp_multiple_pkt()
310 sent = xsend(c, packet, pkt_size, 0); in test_sockmap_strp_pass()
311 if (!ASSERT_EQ(sent, pkt_size, "xsend(pre-data)")) in test_sockmap_strp_pass()
329 sent = xsend(c, packet, pkt_size, 0); in test_sockmap_strp_pass()
330 if (!ASSERT_EQ(sent, pkt_size, "xsend(c)")) in test_sockmap_strp_pass()
342 sent = xsend(c, packet, pkt_size, 0); in test_sockmap_strp_pass()
370 int zero = 0, one = 1, sent, recvd, off; in test_sockmap_strp_verdict() local
397 sent = xsend(c0, packet, STRP_PKT_FULL_LEN, 0); in test_sockmap_strp_verdict()
[all …]
A Dsockmap_ktls.c137 int c = 0, p = 0, sent, recvd; in test_sockmap_ktls_offload() local
145 sent = send(c, msg, sizeof(msg), 0); in test_sockmap_ktls_offload()
151 !ASSERT_EQ(recvd, sent, "length mismatch")) in test_sockmap_ktls_offload()
168 int c = 0, p = 0, one = 1, sent, recvd; in test_sockmap_ktls_tx_cork() local
206 sent = send(c, msg, off, 0); in test_sockmap_ktls_tx_cork()
207 if (!ASSERT_EQ(sent, off, "send(msg)")) in test_sockmap_ktls_tx_cork()
215 sent = send(c, msg + off, sizeof(msg) - off, 0); in test_sockmap_ktls_tx_cork()
216 if (!ASSERT_EQ(sent, sizeof(msg) - off, "send remaining data")) in test_sockmap_ktls_tx_cork()
320 int c = 0, p = 0, one = 1, sent, recvd; in test_sockmap_ktls_tx_pop() local
370 sent = send(c, msg, sizeof(msg), 0); in test_sockmap_ktls_tx_pop()
[all …]
A Dsockmap_basic.c577 sent = xsend(p1, &buf, sizeof(buf), 0); in test_sockmap_skb_verdict_fionread()
578 ASSERT_EQ(sent, sizeof(buf), "xsend(p0)"); in test_sockmap_skb_verdict_fionread()
604 int c1, p1, sent, recvd; in test_sockmap_skb_verdict_change_tail() local
623 sent = xsend(p1, "Tr", 2, 0); in test_sockmap_skb_verdict_change_tail()
624 ASSERT_EQ(sent, 2, "xsend(p1)"); in test_sockmap_skb_verdict_change_tail()
629 sent = xsend(p1, "G", 1, 0); in test_sockmap_skb_verdict_change_tail()
630 ASSERT_EQ(sent, 1, "xsend(p1)"); in test_sockmap_skb_verdict_change_tail()
635 sent = xsend(p1, "E", 1, 0); in test_sockmap_skb_verdict_change_tail()
636 ASSERT_EQ(sent, 1, "xsend(p1)"); in test_sockmap_skb_verdict_change_tail()
662 sent = xsend(p1, snd, sizeof(snd), 0); in test_sockmap_skb_verdict_peek_helper()
[all …]
/tools/testing/selftests/net/packetdrill/
A Dtcp_close_close-on-syn-sent.pkt2 // Test to make sure no RST is being sent when close()
14 // Make sure no RST is sent after close().
18 // If a RESET were sent right after close(), it would have failed with
A Dtcp_eor_no-coalesce-retrans.pkt42 // The 9 remaining 400B chunks should be sent as individual packets.
52 // The last 10KB chunk should be sent separately.
61 // retransmissions should be sent out as individual packets.
A Dtcp_eor_no-coalesce-subsequent.pkt42 // The 9 remaining 400B chunks should be sent as individual packets.
52 // The last 10KB chunk should be sent separately.
A Dtcp_slow_start_slow-start-fq-ack-per-2pkt.pkt39 // when prior packet (11681:14601(2920)) was sent.
40 // So FQ will allow following packet to be sent a bit earlier (quantum/2)
A Dtcp_ts_recent_fin_tsval.pkt22 // Check that FIN TSval is updated properly, one second has passed since last sent packet.
A Dtcp_ts_recent_reset_tsval.pkt24 // Check that RST TSval is updated properly, one second has passed since last sent packet.
A Dtcp_fast_recovery_prr-ss-30pkt-lost1_4.pkt41 // should be sent right away
A Dtcp_eor_no-coalesce-large.pkt36 // This 2KB packet should be sent alone.
/tools/testing/selftests/bpf/benchs/
A Dbench_sockmap.c383 int rcv, sent; in consumer() local
407 sent = send(ctx.p2, buf, recv_buf_size, 0); in consumer()
408 if (sent < 0) { in consumer()
436 int off = 0, fp, need_sent, sent; in producer() local
480 sent = sendfile(target, fp, NULL, need_sent); in producer()
481 if (sent < 0) { in producer()
484 sent, errno, strerror(errno)); in producer()
488 } else if (sent < need_sent) { in producer()
489 need_sent -= sent; in producer()
490 atomic_add(&ctx.prod_send, sent); in producer()
/tools/testing/selftests/net/tcp_ao/lib/
A Dsock.c597 ssize_t bytes, sent; in _test_server_run() local
615 sent = send(sk, buf, bytes, 0); in _test_server_run()
616 if (sent == 0) in _test_server_run()
618 if (sent != bytes) in _test_server_run()
665 size_t sent, bytes = min(msg_len, buf_sz - i); in test_client_loop() local
672 sent = send(sk, buf + i, bytes, 0); in test_client_loop()
673 if (sent == 0) in test_client_loop()
675 if (sent != bytes) in test_client_loop()
691 } while (bytes < sent); in test_client_loop()
692 if (bytes > sent) in test_client_loop()
[all …]
/tools/testing/vsock/
A Dvsock_perf.c311 ssize_t sent; in run_sender() local
318 sent = send(fd, data, (rest_bytes > buf_size_bytes) ? in run_sender()
323 if (sent <= 0) in run_sender()
326 total_send += sent; in run_sender()
/tools/testing/selftests/net/
A Dudpgso.c433 bool sent; in run_one() local
453 sent = send_one(fdt, test->tlen, test->gso_len, addr, alen); in run_one()
454 if (sent && test->tfail) in run_one()
456 if (!sent && !test->tfail) in run_one()
464 if (!sent) in run_one()
/tools/testing/selftests/drivers/net/hw/
A Diou-zcrx.c340 ssize_t sent = 0; in run_client() local
352 void *src = &payload[sent]; in run_client()
357 error(1, 0, "send(): %zd", sent); in run_client()
358 sent += res; in run_client()
/tools/testing/selftests/bpf/
A Dtest_sockmap.c446 int sent; in msg_loop_sendpage() local
451 if (!drop && sent < 0) { in msg_loop_sendpage()
454 return sent; in msg_loop_sendpage()
457 sent, errno); in msg_loop_sendpage()
462 if (sent > 0) in msg_loop_sendpage()
463 s->bytes_sent += sent; in msg_loop_sendpage()
654 int sent; in msg_loop() local
659 if (!drop && sent < 0) { in msg_loop()
669 sent, errno); in msg_loop()
673 if (sent > 0) in msg_loop()
[all …]
/tools/perf/Documentation/
A Dperf-daemon.txt180 signal 12 sent to session 'cycles [603452]'
190 signal 12 sent to session 'cycles [603452]'
191 signal 12 sent to session 'sched [603453]'
A Dperf-intel-pt.txt448 CYC packets are only sent when another packet is also sent.
472 that must have passed before a CYC packet can be sent. The
478 can be sent. Note a CYC packet is still only sent when another
479 packet is sent, not at, e.g. every 8 CPU cycles.
709 Snapshot mode captures the available data when a signal is sent or "snapshot"
717 Note that the signal sent is SIGUSR2.
A Dperf-arm-spe.txt58 When the buffer fills, an interrupt is sent and the driver signals Perf to collect the records.
/tools/testing/selftests/net/mptcp/
A Dmptcp_inq.c245 size_t len, i, total, sent; in connect_one_server() local
282 sent = total; in connect_one_server()
309 wait_for_ack(fd, 5000, sent); in connect_one_server()
/tools/testing/selftests/bpf/progs/
A Dcore_kern.c44 *from_dev, const struct net_device *to_dev, int sent, int drops, in BPF_PROG() argument
/tools/testing/selftests/net/netfilter/packetdrill/
A Dconntrack_ack_loss_stall.pkt115 // only sent if above packet isn't flagged as invalid
/tools/testing/selftests/futex/
A DREADME38 sent to stderr. Tests shall support the -c option to print PASS, FAIL, and
/tools/testing/selftests/arm64/signal/
A DREADME57 - some fatal signal sent by the Kernel to the test process

Completed in 34 milliseconds

12