Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/tests/net/socket/tcp/src/
Dmain.c512 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/
Dmain.c330 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/
Dmain.c179 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/
Dmain.c607 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/
Dmain.c170 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/
Dsocks5.rst37 ret = setsockopt(sock, SOL_SOCKET, SO_SOCKS5,
Dsockets.rst245 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/
Dbig_http_download.c288 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/
Dcoredump_gdbserver.py107 gdbserver.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/Zephyr-Core-3.4.0/subsys/net/lib/mqtt/
Dmqtt_transport_socket_tcp.c35 SOL_SOCKET, SO_SOCKS5, in mqtt_client_tcp_connect()
Dmqtt_transport_socket_tls.c38 SOL_SOCKET, SO_SOCKS5, in mqtt_client_tls_connect()
/Zephyr-Core-3.4.0/samples/net/sockets/txtime/src/
Dmain.c179 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/
Dpacket.c157 ret = setsockopt(packet.recv_sock, SOL_SOCKET, SO_RCVTIMEO, in recv_packet()
/Zephyr-Core-3.4.0/samples/net/sockets/echo_client/src/
Dtcp.c130 ret = setsockopt(data->tcp.sock, SOL_SOCKET, SO_SOCKS5, in start_tcp_proto()
/Zephyr-Core-3.4.0/modules/thrift/src/thrift/transport/
DTSSLSocket.cpp164 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/
Dmain.c222 r = setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)); in test_common()
/Zephyr-Core-3.4.0/subsys/net/lib/zperf/
Dzperf_udp_uploader.c99 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &rcvtimeo, in zperf_upload_fin()
/Zephyr-Core-3.4.0/subsys/net/lib/sockets/
Dsocket_dispatcher.c319 if ((level == SOL_SOCKET) && (optname == SO_BINDTODEVICE)) { in sock_dispatch_setsockopt_vmeth()
Dsockets_tls.c2975 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()
Dsockets.c1859 case SOL_SOCKET: in zsock_getsockopt_ctx()
2032 case SOL_SOCKET: in zsock_setsockopt_ctx()
/Zephyr-Core-3.4.0/drivers/usb/device/
Dusb_dc_native_posix_adapt.c282 if (setsockopt(listenfd, SOL_SOCKET, SO_REUSEADDR, in usbip_start()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dsocket.h929 #define SOL_SOCKET 1 macro
/Zephyr-Core-3.4.0/tests/net/ieee802154/l2/src/
Dieee802154_test.c336 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/
DKconfig628 setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, ...) function.
636 setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, ...) function.
Dnet_context.c1458 cmsg->cmsg_level == SOL_SOCKET && in set_pkt_txtime()