Home
last modified time | relevance | path

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

/tools/include/uapi/asm-generic/
Dsocket.h135 #define SO_RCVTIMEO SO_RCVTIMEO_OLD macro
142 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) macro
/tools/testing/selftests/netfilter/
Dsctp_collision.c49 ret = setsockopt(sd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in main()
Dnf-queue.c250 SOL_SOCKET, SO_RCVTIMEO, in open_queue()
/tools/testing/selftests/net/
Dpsock_snd.c261 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) in setup_rx()
299 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) in setup_sniffer()
Dip_defrag.c360 if (setsockopt(fd_rx_udp, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) in run_test()
Dso_txtime.c316 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) in setup_rx()
Dudpgso.c584 if (setsockopt(fdr, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) in run_test()
Dgro.c737 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, (char *)&timeout, in set_timeout()
Dipsec.c650 if (setsockopt(sock[0], SOL_SOCKET, SO_RCVTIMEO, (const char *)&t, sizeof t)) { in udp_ping_init()
Dtls.c1736 ret = setsockopt(self->cfd2, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in TEST_F()
/tools/testing/selftests/bpf/prog_tests/
Dsk_assign.c84 if (CHECK_FAIL(setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeo_sec, in start_server()
Dsk_lookup.c135 err = setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeo, sizeof(timeo)); in make_socket()
/tools/testing/selftests/bpf/
Dnetwork_helpers.c63 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, in settimeo()
/tools/testing/vsock/
Dvsock_test.c640 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, (void *)&tv, sizeof(tv)) == -1) { in test_seqpacket_timeout_client()