/Zephyr-latest/lib/posix/options/ |
D | net.c | 332 int getsockopt(int sock, int level, int optname, void *optval, socklen_t *optlen) in getsockopt() argument 334 return zsock_getsockopt(sock, level, optname, optval, optlen); in getsockopt() 374 int setsockopt(int sock, int level, int optname, const void *optval, socklen_t optlen) in setsockopt() argument 376 return zsock_setsockopt(sock, level, optname, optval, optlen); in setsockopt()
|
/Zephyr-latest/drivers/net/ |
D | nsos.h | 153 void *optval, size_t *optlen); 155 const void *optval, size_t optlen);
|
D | nsos_adapt.c | 607 void *optval, size_t *nsos_mid_optlen) in nsos_adapt_getsockopt_int() argument 612 ret = getsockopt(fd, level, optname, optval, &optlen); in nsos_adapt_getsockopt_int() 747 const void *optval, size_t optlen) in nsos_adapt_setsockopt_int() argument 751 ret = setsockopt(fd, level, optname, optval, optlen); in nsos_adapt_setsockopt_int()
|
/Zephyr-latest/tests/net/dhcpv4/server/src/ |
D | main.c | 436 const void *optval, uint8_t optlen) in verify_option() argument 461 zassert_mem_equal(buf, optval, optlen, "Invalid option value"); in verify_option() 472 uint32_t optval) in verify_option_uint32() argument 474 optval = htonl(optval); in verify_option_uint32() 476 verify_option(pkt, opt_type, &optval, sizeof(optval)); in verify_option_uint32() 480 uint8_t optval) in verify_option_uint8() argument 482 verify_option(pkt, opt_type, &optval, sizeof(optval)); in verify_option_uint8()
|
/Zephyr-latest/samples/net/sockets/echo_client/src/ |
D | udp.c | 196 int optval; in start_udp_proto() local 237 optval = IPV6_PREFER_SRC_TMP; in start_udp_proto() 240 &optval, sizeof(optval)); in start_udp_proto()
|
/Zephyr-latest/tests/net/socket/reuseaddr_reuseport/src/ |
D | main.c | 106 static void test_getsocketopt_reuseaddr(int sock, void *optval, socklen_t *optlen) in test_getsocketopt_reuseaddr() argument 110 ret = zsock_getsockopt(sock, SOL_SOCKET, SO_REUSEADDR, optval, optlen); in test_getsocketopt_reuseaddr() 114 static void test_setsocketopt_reuseaddr(int sock, void *optval, socklen_t optlen) in test_setsocketopt_reuseaddr() argument 118 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, optval, optlen); in test_setsocketopt_reuseaddr() 129 static void test_getsocketopt_reuseport(int sock, void *optval, socklen_t *optlen) in test_getsocketopt_reuseport() argument 133 ret = zsock_getsockopt(sock, SOL_SOCKET, SO_REUSEPORT, optval, optlen); in test_getsocketopt_reuseport() 137 static void test_setsocketopt_reuseport(int sock, void *optval, socklen_t optlen) in test_setsocketopt_reuseport() argument 141 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_REUSEPORT, optval, optlen); in test_setsocketopt_reuseport()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_internal.h | 69 void *optval, socklen_t *optlen); 71 const void *optval, socklen_t optlen);
|
D | socketpair.c | 1145 void *optval, socklen_t *optlen) in spair_getsockopt() argument 1150 ARG_UNUSED(optval); in spair_getsockopt() 1158 const void *optval, socklen_t optlen) in spair_setsockopt() argument 1163 ARG_UNUSED(optval); in spair_setsockopt()
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_socket_offload.c | 169 static int map_credentials(int sd, const void *optval, socklen_t optlen) in map_credentials() argument 171 sec_tag_t *sec_tags = (sec_tag_t *)optval; in map_credentials() 234 static int map_credentials(int sd, const void *optval, socklen_t optlen) in map_credentials() argument 241 const void *optval, socklen_t optlen) in eswifi_socket_setsockopt() argument 249 ret = map_credentials(sd, optval, optlen); in eswifi_socket_setsockopt()
|
/Zephyr-latest/samples/net/sockets/txtime/src/ |
D | main.c | 266 int optval; in create_socket() local 333 optval = true; in create_socket() 334 ret = setsockopt(sock, SOL_SOCKET, SO_TXTIME, &optval, sizeof(optval)); in create_socket()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 617 void *optval, socklen_t *optlen); 633 const void *optval, socklen_t optlen);
|
/Zephyr-latest/subsys/tracing/ctf/ |
D | tracing_ctf.h | 504 #define sys_port_trace_socket_getsockopt_exit(sock, level, optname, optval, optlen, ret) \ argument 505 sys_trace_socket_getsockopt_exit(sock, level, optname, optval, optlen, ret) 506 #define sys_port_trace_socket_setsockopt_enter(sock, level, optname, optval, optlen) \ argument 507 sys_trace_socket_setsockopt_enter(sock, level, optname, optval, optlen) 562 void sys_trace_socket_getsockopt_exit(int sock, int level, int optname, void *optval, 564 void sys_trace_socket_setsockopt_enter(int sock, int level, int optname, const void *optval,
|
D | ctf_top.c | 582 void *optval, size_t optlen, int ret) in sys_trace_socket_getsockopt_exit() argument 585 (uint32_t)(uintptr_t)optval, optlen, ret); in sys_trace_socket_getsockopt_exit() 589 const void *optval, size_t optlen) in sys_trace_socket_setsockopt_enter() argument 592 (uint32_t)(uintptr_t)optval, optlen); in sys_trace_socket_setsockopt_enter()
|
D | ctf_top.h | 592 uint32_t optval, uint32_t optlen, int32_t ret) in ctf_top_socket_getsockopt_exit() argument 595 sock, level, optname, optval, optlen, ret); in ctf_top_socket_getsockopt_exit() 599 uint32_t optval, uint32_t optlen) in ctf_top_socket_setsockopt_enter() argument 602 optname, optval, optlen); in ctf_top_socket_setsockopt_enter()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_core.c | 170 int optval = 0; in http_server_init() local 172 (void)zsock_setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &optval, in http_server_init() 173 sizeof(optval)); in http_server_init()
|
/Zephyr-latest/drivers/modem/ |
D | ublox-sara-r4.c | 1837 static int map_credentials(struct modem_socket *sock, const void *optval, socklen_t optlen) in map_credentials() argument 1839 sec_tag_t *sec_tags = (sec_tag_t *)optval; in map_credentials() 1883 static int map_credentials(struct modem_socket *sock, const void *optval, socklen_t optlen) in map_credentials() argument 1890 const void *optval, socklen_t optlen) in offload_setsockopt() argument 1899 ret = map_credentials(sock, optval, optlen); in offload_setsockopt() 1905 if (*(uint32_t *)optval != TLS_PEER_VERIFY_REQUIRED) { in offload_setsockopt()
|
/Zephyr-latest/include/zephyr/tracing/ |
D | tracing.h | 2348 #define sys_port_trace_socket_getsockopt_exit(socket, level, optname, optval, optlen, ret) argument 2358 #define sys_port_trace_socket_setsockopt_enter(socket, level, optname, optval, optlen) argument
|
/Zephyr-latest/subsys/tracing/ctf/tsdl/ |
D | metadata | 625 uint32_t optval; 638 uint32_t optval;
|
/Zephyr-latest/subsys/tracing/user/ |
D | tracing_user.h | 430 #define sys_port_trace_socket_getsockopt_exit(sock, level, optname, optval, optlen, ret) argument 431 #define sys_port_trace_socket_setsockopt_enter(sock, level, optname, optval, optlen) argument
|
/Zephyr-latest/subsys/tracing/sysview/ |
D | tracing_sysview.h | 729 #define sys_port_trace_socket_getsockopt_exit(sock, level, optname, optval, optlen, ret) argument 730 #define sys_port_trace_socket_setsockopt_enter(sock, level, optname, optval, optlen) argument
|
/Zephyr-latest/tests/net/lib/http_server/core/src/ |
D | main.c | 2291 struct timeval optval = { in http_server_tests_before() local 2318 ret = zsock_setsockopt(client_fd, SOL_SOCKET, SO_RCVTIMEO, &optval, in http_server_tests_before() 2319 sizeof(optval)); in http_server_tests_before()
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_test.h | 735 #define sys_port_trace_socket_getsockopt_exit(sock, level, optname, optval, optlen, ret) argument 736 #define sys_port_trace_socket_setsockopt_enter(sock, level, optname, optval, optlen) argument
|