/Zephyr-Core-3.7.0/drivers/net/ |
D | nsos_adapt.c | 547 ret = getsockopt(fd, SOL_SOCKET, SO_ERROR, &err, &optlen); in nsos_adapt_getsockopt() 562 ret = getsockopt(fd, SOL_SOCKET, SO_TYPE, &type, &optlen); in nsos_adapt_getsockopt() 580 ret = getsockopt(fd, SOL_SOCKET, SO_PROTOCOL, &proto, &optlen); in nsos_adapt_getsockopt() 598 ret = getsockopt(fd, SOL_SOCKET, SO_DOMAIN, &family, &optlen); in nsos_adapt_getsockopt() 611 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_RCVBUF, in nsos_adapt_getsockopt() 614 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_SNDBUF, in nsos_adapt_getsockopt() 617 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_REUSEADDR, in nsos_adapt_getsockopt() 620 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_REUSEPORT, in nsos_adapt_getsockopt() 623 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_LINGER, in nsos_adapt_getsockopt() 626 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_KEEPALIVE, in nsos_adapt_getsockopt() [all …]
|
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/ |
D | main.c | 530 rv = zsock_setsockopt(new_sock, SOL_SOCKET, SO_RCVTIMEO, &optval, in ZTEST() 1276 rv = zsock_getsockopt(sock1, SOL_SOCKET, SO_TYPE, &optval, &optlen); in ZTEST() 1281 rv = zsock_getsockopt(sock2, SOL_SOCKET, SO_TYPE, &optval, &optlen); in ZTEST() 1305 rv = zsock_getsockopt(sock1, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen); in ZTEST() 1310 rv = zsock_getsockopt(sock2, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen); in ZTEST() 1333 rv = zsock_setsockopt(sock1, SOL_SOCKET, SO_RCVBUF, &optval, sizeof(optval)); in ZTEST() 1335 rv = zsock_getsockopt(sock1, SOL_SOCKET, SO_RCVBUF, &retval, &optlen); in ZTEST() 1340 rv = zsock_setsockopt(sock2, SOL_SOCKET, SO_RCVBUF, &optval, sizeof(optval)); in ZTEST() 1342 rv = zsock_getsockopt(sock2, SOL_SOCKET, SO_RCVBUF, &retval, &optlen); in ZTEST() 1348 rv = zsock_setsockopt(sock2, SOL_SOCKET, SO_RCVBUF, &optval, sizeof(optval)); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/subsys/net/lib/ptp/ |
D | transport.c | 45 if (zsock_setsockopt(socket, SOL_SOCKET, SO_REUSEADDR, &feature_on, sizeof(feature_on))) { in transport_socket_open() 57 SOL_SOCKET, in transport_socket_open() 65 if (zsock_setsockopt(socket, SOL_SOCKET, SO_TIMESTAMPING, &ts_mask, sizeof(ts_mask))) { in transport_socket_open() 70 if (zsock_setsockopt(socket, SOL_SOCKET, SO_PRIORITY, &priority, sizeof(priority))) { in transport_socket_open() 311 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SO_TIMESTAMPING) { in ptp_transport_recv()
|
/Zephyr-Core-3.7.0/subsys/net/lib/zperf/ |
D | zperf_tcp_receiver.c | 139 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in tcp_recv_data() 141 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in tcp_recv_data() 164 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in tcp_recv_data() 194 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in tcp_recv_data()
|
D | zperf_udp_receiver.c | 325 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in udp_recv_data() 327 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in udp_recv_data() 343 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in udp_recv_data()
|
D | zperf_udp_uploader.c | 105 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &rcvtimeo, in zperf_upload_fin() 318 if (zsock_setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &req, in zperf_udp_upload()
|
D | zperf_common.c | 185 if (zsock_setsockopt(sock, SOL_SOCKET, SO_PRIORITY, in zperf_prepare_upload_sock()
|
/Zephyr-Core-3.7.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() 701 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 734 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 782 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 829 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST()
|
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/ |
D | main.c | 342 rv = zsock_setsockopt(sock1, SOL_SOCKET, SO_PRIORITY, &optval, in ZTEST() 347 rv = zsock_setsockopt(sock2, SOL_SOCKET, SO_PRIORITY, &optval, in ZTEST() 462 cmsg->cmsg_level = SOL_SOCKET; in ZTEST_USER() 566 cmsg->cmsg_level = SOL_SOCKET; in ZTEST_USER() 627 cmsg->cmsg_level = SOL_SOCKET; in ZTEST_USER() 687 cmsg->cmsg_level = SOL_SOCKET; in ZTEST_USER() 716 rv = zsock_getsockopt(sock1, SOL_SOCKET, SO_TYPE, &optval, &optsize); in ZTEST() 721 rv = zsock_getsockopt(sock2, SOL_SOCKET, SO_TYPE, &optval, &optsize); in ZTEST() 750 rv = zsock_setsockopt(sock1, SOL_SOCKET, SO_TXTIME, &optval, in ZTEST() 755 rv = zsock_setsockopt(sock2, SOL_SOCKET, SO_TXTIME, &optval, in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/net/socket/tls/src/ |
D | main.c | 214 rv = zsock_getsockopt(sock1, SOL_SOCKET, SO_TYPE, &optval, &optlen); in ZTEST() 219 rv = zsock_getsockopt(sock2, SOL_SOCKET, SO_TYPE, &optval, &optlen); in ZTEST() 239 rv = zsock_getsockopt(sock1, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen); in ZTEST() 245 rv = zsock_getsockopt(sock2, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen); in ZTEST() 443 ret = zsock_setsockopt(new_sock, SOL_SOCKET, SO_RCVTIMEO, &timeo_optval, in ZTEST() 499 ret = zsock_setsockopt(new_sock, SOL_SOCKET, SO_RCVTIMEO, &timeo_optval, in ZTEST() 1179 ret = zsock_setsockopt(new_sock, SOL_SOCKET, SO_RCVBUF, &buf_optval, in ZTEST() 1272 ret = zsock_setsockopt(new_sock, SOL_SOCKET, SO_RCVBUF, &buf_optval, in ZTEST() 1373 ret = zsock_setsockopt(c_sock, SOL_SOCKET, SO_RCVTIMEO, &optval, in ZTEST() 1416 ret = zsock_setsockopt(c_sock, SOL_SOCKET, SO_SNDTIMEO, &timeo_optval, in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/net/socket/misc/src/ |
D | main.c | 190 ret = zsock_setsockopt(sock_s, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 201 ret = zsock_setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 226 ret = zsock_setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 254 ret = zsock_setsockopt(sock_s, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 264 ret = zsock_setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 909 ret = zsock_getsockopt(sock_t, SOL_SOCKET, SO_DOMAIN, &domain, &optlen); in ZTEST() 914 ret = zsock_getsockopt(sock_u, SOL_SOCKET, SO_DOMAIN, &domain, &optlen); in ZTEST() 921 ret = zsock_setsockopt(sock_u, SOL_SOCKET, SO_DOMAIN, &domain, optlen); in ZTEST()
|
/Zephyr-Core-3.7.0/doc/connectivity/networking/api/ |
D | socks5.rst | 37 ret = setsockopt(sock, SOL_SOCKET, SO_SOCKS5,
|
/Zephyr-Core-3.7.0/subsys/net/lib/dns/ |
D | dispatcher.c | 109 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in recv_data() 114 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in recv_data()
|
D | llmnr_responder.c | 451 (void)zsock_getsockopt(sock, SOL_SOCKET, SO_DOMAIN, &family, &optlen); in dns_read() 511 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in recv_data() 513 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in recv_data()
|
/Zephyr-Core-3.7.0/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 293 CHECK(setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &timeout, in download() 295 CHECK(setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, &timeout, in download()
|
/Zephyr-Core-3.7.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.7.0/tests/net/socket/reuseaddr_reuseport/src/ |
D | main.c | 110 ret = zsock_getsockopt(sock, SOL_SOCKET, SO_REUSEADDR, optval, optlen); in test_getsocketopt_reuseaddr() 118 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, optval, optlen); in test_setsocketopt_reuseaddr() 133 ret = zsock_getsockopt(sock, SOL_SOCKET, SO_REUSEPORT, optval, optlen); in test_getsocketopt_reuseport() 141 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_REUSEPORT, optval, optlen); in test_setsocketopt_reuseport()
|
/Zephyr-Core-3.7.0/samples/net/sockets/txtime/src/ |
D | main.c | 186 cmsg->cmsg_level = SOL_SOCKET; in tx() 334 ret = setsockopt(sock, SOL_SOCKET, SO_TXTIME, &optval, sizeof(optval)); in create_socket() 341 ret = setsockopt(sock, SOL_SOCKET, SO_PRIORITY, &priority, in create_socket()
|
/Zephyr-Core-3.7.0/scripts/coredump/ |
D | coredump_gdbserver.py | 127 gdbserver.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
/Zephyr-Core-3.7.0/samples/net/sockets/packet/src/ |
D | packet.c | 135 ret = setsockopt(sock_packet.recv_sock, SOL_SOCKET, SO_RCVTIMEO, in recv_packet()
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | socket_obj_core.c | 177 ret = zsock_getsockopt(sock, SOL_SOCKET, SO_DOMAIN, &family, &optlen); in sock_obj_core_alloc_find()
|
/Zephyr-Core-3.7.0/samples/net/sockets/echo_client/src/ |
D | tcp.c | 133 ret = setsockopt(data->tcp.sock, SOL_SOCKET, SO_SOCKS5, in start_tcp_proto()
|
/Zephyr-Core-3.7.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.7.0/samples/net/cellular_modem/src/ |
D | main.c | 150 if (zsock_setsockopt(socket_fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) { in sample_echo_packet()
|