Home
last modified time | relevance | path

Searched refs:tv_usec (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/tests/net/socket/select/src/
Dmain.c95 tval.tv_sec = tval.tv_usec = 0; in ZTEST_USER()
113 tval.tv_usec = TIMEOUT_MS * 1000; in ZTEST_USER()
128 tval.tv_usec = TIMEOUT_MS * 1000; in ZTEST_USER()
145 tval.tv_sec = tval.tv_usec = 0; in ZTEST_USER()
159 tval.tv_sec = tval.tv_usec = 0; in ZTEST_USER()
/Zephyr-latest/lib/libc/armstdc/include/sys/
D_timeval.h24 suseconds_t tv_usec; member
/Zephyr-latest/include/zephyr/net/
Dsocket_types.h37 suseconds_t tv_usec; member
Dsocket_select.h54 .tv_nsec = (long)((timeout == NULL) ? 0 : timeout->tv_usec * NSEC_PER_USEC)}; in zsock_select()
/Zephyr-latest/include/zephyr/posix/sys/
Dtime.h20 suseconds_t tv_usec; member
/Zephyr-latest/lib/libc/minimal/include/sys/
D_timeval.h24 suseconds_t tv_usec; member
/Zephyr-latest/tests/posix/headers/src/
Dsys_time_h.c23 zassert_not_equal(-1, offsetof(struct timeval, tv_usec)); in ZTEST()
/Zephyr-latest/samples/posix/gettimeofday/src/
Dmain.c33 (unsigned int)tv.tv_sec, (unsigned int)tv.tv_usec, in main()
/Zephyr-latest/drivers/net/
Dnsos_socket.h85 int64_t tv_usec; member
Dnsos_sockets.c1264 nsos_mid_tv.tv_usec = tv->tv_usec; in nsos_setsockopt()
1274 if (tv->tv_sec == 0 && tv->tv_usec == 0) { in nsos_setsockopt()
1277 sock->recv_timeout = K_USEC(tv->tv_sec * 1000000LL + tv->tv_usec); in nsos_setsockopt()
1293 nsos_mid_tv.tv_usec = tv->tv_usec; in nsos_setsockopt()
1303 if (tv->tv_sec == 0 && tv->tv_usec == 0) { in nsos_setsockopt()
1306 sock->send_timeout = K_USEC(tv->tv_sec * 1000000LL + tv->tv_usec); in nsos_setsockopt()
Dnsos_adapt.c773 .tv_usec = nsos_mid_tv->tv_usec, in nsos_adapt_setsockopt()
789 .tv_usec = nsos_mid_tv->tv_usec, in nsos_adapt_setsockopt()
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_udp_uploader.c66 .tv_usec = 0, in zperf_upload_fin()
75 datagram->tv_usec = htonl(usecs); in zperf_upload_fin()
217 datagram->tv_usec = htonl(usecs); in udp_upload()
Dzperf_internal.h59 uint32_t tv_usec; member
Dzperf_udp_receiver.c201 ntohl(hdr->tv_usec)); in udp_received()
/Zephyr-latest/drivers/ethernet/
Deth_native_posix_adapt.c105 timeout.tv_usec = 0; in eth_wait_data()
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c102 timeout.tv_usec = 0; in linux_socketcan_poll_data()
/Zephyr-latest/lib/posix/options/
Ddevice_io.c126 .tv_nsec = (long)((timeout == NULL) ? 0 : timeout->tv_usec * NSEC_PER_USEC)}; in select()
Dclock.c283 tv->tv_usec = ts.tv_nsec / NSEC_PER_USEC; in gettimeofday()
/Zephyr-latest/samples/net/sockets/packet/src/
Dpacket.c126 .tv_usec = 0, in recv_packet()
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c506 .tv_usec = 500000, in ZTEST()
1516 .tv_usec = 500000, in ZTEST()
1534 optval.tv_usec = 0; in ZTEST()
1583 .tv_usec = 500000, in ZTEST()
1601 optval.tv_usec = 0; in ZTEST()
1648 .tv_usec = 200000, in ZTEST()
1709 .tv_usec = 500000, in ZTEST()
1793 .tv_usec = 100000, in ZTEST()
1871 .tv_usec = 100000, in ZTEST()
2238 .tv_usec = 0 in ZTEST()
/Zephyr-latest/tests/posix/common/src/
Dclock.c39 ts->tv_nsec = tv->tv_usec * NSEC_PER_USEC; in tv_to_ts()
/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c419 .tv_usec = 500000, in ZTEST()
475 .tv_usec = 500000, in ZTEST()
1363 .tv_usec = 500000, in ZTEST()
1406 .tv_usec = 500000, in ZTEST()
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_test.c404 .tv_usec = 0, in set_up_recv_socket()
1099 .tv_usec = 0, in test_recv_and_send_ack_reply()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c2294 if (tv->tv_sec == 0 && tv->tv_usec == 0) { in zsock_setsockopt_ctx()
2298 + tv->tv_usec); in zsock_setsockopt_ctx()
2326 if (tv->tv_sec == 0 && tv->tv_usec == 0) { in zsock_setsockopt_ctx()
2330 + tv->tv_usec); in zsock_setsockopt_ctx()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c791 .tv_usec = 300000, in ZTEST()
807 optval.tv_usec = 400000; in ZTEST()
848 .tv_usec = 500000, in ZTEST()
864 optval.tv_usec = 0; in ZTEST()
1965 .tv_usec = 100000, in test_check_ttl()

12