Searched refs:zsock_fcntl (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | fcntl.c | 14 res = zsock_fcntl(fixture->sv[0], F_GETFL, 0); in ZTEST_USER_F() 22 res = zsock_fcntl(fixture->sv[0], F_SETFL, flags | O_NONBLOCK); in ZTEST_USER_F() 27 res = zsock_fcntl(fixture->sv[0], F_GETFL, 0); in ZTEST_USER_F()
|
D | nonblock.c | 22 res = zsock_fcntl(fixture->sv[i], F_GETFL, 0); in ZTEST_USER_F() 25 res = zsock_fcntl(fixture->sv[i], F_SETFL, res | O_NONBLOCK); in ZTEST_USER_F() 43 res = zsock_fcntl(fixture->sv[i], F_GETFL, 0); in ZTEST_USER_F() 46 res = zsock_fcntl(fixture->sv[i], F_SETFL, res | O_NONBLOCK); in ZTEST_USER_F()
|
D | poll.c | 57 res = zsock_fcntl(fixture->sv[0], F_GETFL, 0); in ZTEST_USER_F() 62 res = zsock_fcntl(fixture->sv[0], F_SETFL, O_NONBLOCK | flags); in ZTEST_USER_F() 65 res = zsock_fcntl(fixture->sv[1], F_SETFL, O_NONBLOCK | flags); in ZTEST_USER_F()
|
/Zephyr-latest/tests/net/socket/af_packet/src/ |
D | main.c | 160 fl = zsock_fcntl(fd, F_GETFL, 0); in setblocking() 169 res = zsock_fcntl(fd, F_SETFL, fl); in setblocking()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 548 #define zsock_fcntl zsock_fcntl_wrapper macro
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_server.c | 432 ret = zsock_fcntl(service->data->sock_fd, F_SETFL, O_NONBLOCK); in coap_service_start() 735 ret = zsock_fcntl(control_socks[i], F_SETFL, O_NONBLOCK); in coap_server_thread()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_engine.c | 1220 flags = zsock_fcntl(client_ctx->sock_fd, F_GETFL, 0); in lwm2m_socket_start() 1226 ret = zsock_fcntl(client_ctx->sock_fd, F_SETFL, flags | O_NONBLOCK); in lwm2m_socket_start()
|
/Zephyr-latest/tests/net/socket/tcp/src/ |
D | main.c | 100 zassert_equal(zsock_fcntl(sock, cmd, val), 0, "fcntl failed"); in test_fcntl() 2218 flags = zsock_fcntl(fd, F_GETFL, 0); in ZTEST() 2219 zsock_fcntl(fd, F_SETFL, flags | O_NONBLOCK); in ZTEST() 2287 flags = zsock_fcntl(fd, F_GETFL, 0); in ZTEST() 2288 zsock_fcntl(fd, F_SETFL, flags | O_NONBLOCK); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_tls.c | 796 int sock_flags = zsock_fcntl(sock, F_GETFL, 0); in is_blocking() 2146 sock_flags = zsock_fcntl(ctx->sock, F_GETFL, 0); in ztls_connect_ctx() 2153 (void)zsock_fcntl(ctx->sock, F_SETFL, in ztls_connect_ctx() 2163 (void)zsock_fcntl(ctx->sock, F_SETFL, sock_flags); in ztls_connect_ctx()
|
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/ |
D | main.c | 474 ret = zsock_fcntl(test_sock, F_SETFL, 0); in ZTEST()
|
/Zephyr-latest/tests/net/socket/tls/src/ |
D | main.c | 90 zassert_equal(zsock_fcntl(sock, cmd, val), 0, "fcntl failed"); in test_fcntl()
|