/Zephyr-Core-3.4.0/tests/net/socket/tcp/src/ |
D | main.c | 512 rv = setsockopt(new_sock, SOL_SOCKET, SO_RCVTIMEO, &optval, in ZTEST() 1146 rv = getsockopt(sock1, SOL_SOCKET, SO_TYPE, &optval, &optlen); in ZTEST() 1151 rv = getsockopt(sock2, SOL_SOCKET, SO_TYPE, &optval, &optlen); in ZTEST() 1175 rv = getsockopt(sock1, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen); in ZTEST() 1180 rv = getsockopt(sock2, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen); in ZTEST() 1203 rv = setsockopt(sock1, SOL_SOCKET, SO_RCVBUF, &optval, sizeof(optval)); in ZTEST() 1205 rv = getsockopt(sock1, SOL_SOCKET, SO_RCVBUF, &retval, &optlen); in ZTEST() 1210 rv = setsockopt(sock2, SOL_SOCKET, SO_RCVBUF, &optval, sizeof(optval)); in ZTEST() 1212 rv = getsockopt(sock2, SOL_SOCKET, SO_RCVBUF, &retval, &optlen); in ZTEST() 1218 rv = setsockopt(sock2, SOL_SOCKET, SO_RCVBUF, &optval, sizeof(optval)); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/tests/net/socket/udp/src/ |
D | main.c | 330 rv = setsockopt(sock1, SOL_SOCKET, SO_PRIORITY, &optval, in ZTEST() 335 rv = setsockopt(sock2, SOL_SOCKET, SO_PRIORITY, &optval, in ZTEST() 450 cmsg->cmsg_level = SOL_SOCKET; in ZTEST_USER() 554 cmsg->cmsg_level = SOL_SOCKET; in ZTEST_USER() 615 cmsg->cmsg_level = SOL_SOCKET; in ZTEST_USER() 675 cmsg->cmsg_level = SOL_SOCKET; in ZTEST_USER() 704 rv = getsockopt(sock1, SOL_SOCKET, SO_TYPE, &optval, &optsize); in ZTEST() 709 rv = getsockopt(sock2, SOL_SOCKET, SO_TYPE, &optval, &optsize); in ZTEST() 738 rv = setsockopt(sock1, SOL_SOCKET, SO_TXTIME, &optval, in ZTEST() 743 rv = setsockopt(sock2, SOL_SOCKET, SO_TXTIME, &optval, in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/tests/net/socket/misc/src/ |
D | main.c | 179 ret = setsockopt(sock_s, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 190 ret = setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 213 ret = setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 239 ret = setsockopt(sock_s, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 249 ret = setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice()
|
/Zephyr-Core-3.4.0/tests/net/socket/offload_dispatcher/src/ |
D | main.c | 607 ret = zsock_getsockopt(test_sock, SOL_SOCKET, SO_RCVTIMEO, in ZTEST() 624 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_RCVTIMEO, in ZTEST() 697 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 726 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 770 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 813 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST()
|
/Zephyr-Core-3.4.0/tests/net/socket/tls/src/ |
D | main.c | 170 rv = getsockopt(sock1, SOL_SOCKET, SO_TYPE, &optval, &optlen); in ZTEST() 175 rv = getsockopt(sock2, SOL_SOCKET, SO_TYPE, &optval, &optlen); in ZTEST() 196 rv = getsockopt(sock1, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen); in ZTEST() 202 rv = getsockopt(sock2, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen); in ZTEST() 288 ret = setsockopt(new_sock, SOL_SOCKET, SO_RCVTIMEO, &timeo_optval, in ZTEST() 364 ret = setsockopt(new_sock, SOL_SOCKET, SO_RCVTIMEO, &timeo_optval, in ZTEST()
|
/Zephyr-Core-3.4.0/doc/connectivity/networking/api/ |
D | socks5.rst | 37 ret = setsockopt(sock, SOL_SOCKET, SO_SOCKS5,
|
D | sockets.rst | 245 setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, sizeof(ifreq)); 271 setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, sizeof(ifreq));
|
/Zephyr-Core-3.4.0/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 288 CHECK(setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &timeout, in download() 290 CHECK(setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, &timeout, in download()
|
/Zephyr-Core-3.4.0/scripts/coredump/ |
D | coredump_gdbserver.py | 107 gdbserver.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
/Zephyr-Core-3.4.0/subsys/net/lib/mqtt/ |
D | mqtt_transport_socket_tcp.c | 35 SOL_SOCKET, SO_SOCKS5, in mqtt_client_tcp_connect()
|
D | mqtt_transport_socket_tls.c | 38 SOL_SOCKET, SO_SOCKS5, in mqtt_client_tls_connect()
|
/Zephyr-Core-3.4.0/samples/net/sockets/txtime/src/ |
D | main.c | 179 cmsg->cmsg_level = SOL_SOCKET; in tx() 327 ret = setsockopt(sock, SOL_SOCKET, SO_TXTIME, &optval, sizeof(optval)); in create_socket() 334 ret = setsockopt(sock, SOL_SOCKET, SO_PRIORITY, &priority, in create_socket()
|
/Zephyr-Core-3.4.0/samples/net/sockets/packet/src/ |
D | packet.c | 157 ret = setsockopt(packet.recv_sock, SOL_SOCKET, SO_RCVTIMEO, in recv_packet()
|
/Zephyr-Core-3.4.0/samples/net/sockets/echo_client/src/ |
D | tcp.c | 130 ret = setsockopt(data->tcp.sock, SOL_SOCKET, SO_SOCKS5, in start_tcp_proto()
|
/Zephyr-Core-3.4.0/modules/thrift/src/thrift/transport/ |
D | TSSLSocket.cpp | 164 setsockopt(socket_, SOL_SOCKET, SO_NOSIGPIPE, &one, sizeof(one)); in openSecConnection() 224 int ret2 = getsockopt(socket_, SOL_SOCKET, SO_ERROR, cast_sockopt(&val), &lon); in openSecConnection()
|
/Zephyr-Core-3.4.0/tests/net/socket/tls_ext/src/ |
D | main.c | 222 r = setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)); in test_common()
|
/Zephyr-Core-3.4.0/subsys/net/lib/zperf/ |
D | zperf_udp_uploader.c | 99 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &rcvtimeo, in zperf_upload_fin()
|
/Zephyr-Core-3.4.0/subsys/net/lib/sockets/ |
D | socket_dispatcher.c | 319 if ((level == SOL_SOCKET) && (optname == SO_BINDTODEVICE)) { in sock_dispatch_setsockopt_vmeth()
|
D | sockets_tls.c | 2975 if ((level == SOL_SOCKET) && (optname == SO_PROTOCOL)) { in ztls_getsockopt_ctx() 3063 if ((level == SOL_SOCKET) && (optname == SO_SNDTIMEO)) { in ztls_setsockopt_ctx() 3068 if ((level == SOL_SOCKET) && (optname == SO_RCVTIMEO)) { in ztls_setsockopt_ctx()
|
D | sockets.c | 1859 case SOL_SOCKET: in zsock_getsockopt_ctx() 2032 case SOL_SOCKET: in zsock_setsockopt_ctx()
|
/Zephyr-Core-3.4.0/drivers/usb/device/ |
D | usb_dc_native_posix_adapt.c | 282 if (setsockopt(listenfd, SOL_SOCKET, SO_REUSEADDR, in usbip_start()
|
/Zephyr-Core-3.4.0/include/zephyr/net/ |
D | socket.h | 929 #define SOL_SOCKET 1 macro
|
/Zephyr-Core-3.4.0/tests/net/ieee802154/l2/src/ |
D | ieee802154_test.c | 336 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeo_optval, sizeof(timeo_optval))) { in set_up_recv_socket() 983 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeo_optval, sizeof(timeo_optval))) { in test_recv_and_send_ack_reply()
|
/Zephyr-Core-3.4.0/subsys/net/ip/ |
D | Kconfig | 628 setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, ...) function. 636 setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, ...) function.
|
D | net_context.c | 1458 cmsg->cmsg_level == SOL_SOCKET && in set_pkt_txtime()
|