Home
last modified time | relevance | path

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

/tools/testing/selftests/net/
Dudpgso_bench_rx.c171 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp()
233 ret = recvmsg(fd, &msg, MSG_TRUNC | MSG_DONTWAIT); in recv_msg()
257 ret = recv(fd, rbuf, len, MSG_TRUNC | MSG_DONTWAIT); in do_flush_udp()
Dmsg_zerocopy.c193 flags = MSG_DONTWAIT; in do_sendmsg()
371 if (recvmsg(fd, &msg, MSG_DONTWAIT)) in do_recvmsg_completion()
609 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp()
628 ret = recv(fd, buf, sizeof(buf), MSG_DONTWAIT | MSG_TRUNC); in do_flush_datagram()
Dudpgso.c497 if (ret == -1 && errno == EAGAIN && (flags & MSG_DONTWAIT)) in recv_one()
552 ret = recv_one(fdr, MSG_DONTWAIT); in run_one()
Dtimestamping.c300 res = recvmsg(sock, &msg, recvmsg_flags|MSG_DONTWAIT); in recvpacket()
Dtls.c361 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); in TEST_F()
375 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); in TEST_F()
734 EXPECT_EQ(recv(self->cfd, buf, sizeof(buf), MSG_DONTWAIT), -1); in TEST_F()
/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c446 nread = recv(new_fd, &rcv_cmd, sizeof(rcv_cmd), MSG_DONTWAIT); in do_test()
454 nread = recv(srv_fd, &rcv_cmd, sizeof(rcv_cmd), MSG_DONTWAIT); in do_test()
/tools/perf/trace/beauty/include/linux/
Dsocket.h297 #define MSG_DONTWAIT 0x40 /* Nonblocking io */ macro
/tools/testing/selftests/bpf/
Dtest_flow_dissector.c498 ret = recv(fd, &rbuf, 1, MSG_DONTWAIT); in do_rx()
Dxdpxceiver.c550 ret = sendto(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in kick_tx()