/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/ |
H A D | sysio.h | 48 int (*getsockopt)(void *argSock, FILLP_INT level, FILLP_INT optName, void *optVal, FILLP_INT *optLen); member
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | socket_opt.c | 138 if (!OS_SOCK_OPS_FUNC_VALID(osSock, getsockopt)) { in SockGetSockOpt() 142 err = osSock->ioSock->ops->getsockopt(osSock->ioSock, level, optName, optVal, optLen); in SockGetSockOpt()
|
/foundation/communication/netmanager_ext/frameworks/native/netvpnclient/src/ |
H A D | vpn_interface.cpp | 74 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &result, &len) < 0) { in ConnectControl() 75 NETMGR_EXT_LOG_E("getsockopt error: %{public}d", errno); in ConnectControl()
|
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/ |
H A D | local_socket_exec.cpp | 258 if (getsockopt(sock, SOL_SOCKET, type, reinterpret_cast<void *>(&timeout), &optlen) < 0) { in ConfirmSocketTimeoutMs() 271 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, reinterpret_cast<void *>(&opt), &optLen) >= 0 && opt > 0) { in PollSendData() 276 if (getsockopt(sock, SOL_SOCKET, SO_TYPE, reinterpret_cast<void *>(&sockType), &optLen) < 0) { in PollSendData() 474 if (getsockopt(sock, SOL_SOCKET, SO_RCVBUF, reinterpret_cast<void *>(&opt), &optLen) >= 0 && opt > 0) { in ConfirmBufferSize() 799 if (getsockopt(sock, SOL_SOCKET, SO_ERROR, &error, &errorLen) < 0 || error != 0) { in NonBlockConnect() 939 if (getsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, &result, &len) == -1) { in GetLocalSocketOptions() 940 NETSTACK_LOGE("getsockopt error, SO_RCVBUF"); in GetLocalSocketOptions() 944 if (getsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, &result, &len) == -1) { in GetLocalSocketOptions() 945 NETSTACK_LOGE("getsockopt error, SO_SNDBUF"); in GetLocalSocketOptions() 951 if (getsockopt(sockf in GetLocalSocketOptions() [all...] |
H A D | socket_exec.cpp | 532 if (getsockopt(sock, SOL_SOCKET, type, reinterpret_cast<void *>(&timeout), &optlen) < 0) { in ConfirmSocketTimeoutMs() 546 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, reinterpret_cast<void *>(&opt), &optLen) >= 0 && opt > 0) { in PollSendData() 551 if (getsockopt(sock, SOL_SOCKET, SO_TYPE, reinterpret_cast<void *>(&sockType), &optLen) < 0) { in PollSendData() 664 if (getsockopt(sock, SOL_SOCKET, SO_RCVBUF, reinterpret_cast<void *>(&opt), &optLen) >= 0 && opt > 0) { in ConfirmBufferSize() 675 if (getsockopt(sockfd, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen) != 0) { in IsTCPSocket() 853 ret = getsockopt(sock, SOL_SOCKET, SO_ERROR, reinterpret_cast<void *>(&err), &optLen); in NonBlockConnect() 1121 int r = getsockopt(context->GetSocketFd(), SOL_SOCKET, SO_TYPE, &opt, &optLen); in CheckClosed() 1515 if (getsockopt(context->GetSocketFd(), (family == AF_INET) ? IPPROTO_IP : IPPROTO_IPV6, (family == AF_INET) ? in ExecGetMulticastTTL() 1547 if (getsockopt(context->GetSocketFd(), (family == AF_INET) ? IPPROTO_IP : IPPROTO_IPV6, (family == AF_INET) ? in ExecGetLoopbackMode() 2075 if (getsockopt(contex in GetTcpServerState() [all...] |
/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/ |
H A D | net_stats_client.cpp | 384 if (getsockopt(sockfd, SOL_SOCKET, SO_COOKIE, &optrval, &optlen) == -1) { in GetSockfdRxBytes() 385 NETMGR_LOG_E("getsockopt error"); in GetSockfdRxBytes() 407 if (getsockopt(sockfd, SOL_SOCKET, SO_COOKIE, &optrval, &optlen) == -1) { in GetSockfdTxBytes() 408 NETMGR_LOG_E("getsockopt error"); in GetSockfdTxBytes()
|
/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_socket.c | 124 int32_t ret = getsockopt(socketFd, level, optName, optVal, (socklen_t *)optLen); in SoftBusSocketGetOpt() 126 COMM_LOGE(COMM_ADAPTER, "getsockopt errno=%{public}s, ret=%{public}d", strerror(errno), ret); in SoftBusSocketGetOpt() 136 int32_t ret = getsockopt(socketFd, SOL_SOCKET, SO_ERROR, &err, &errSize); in SoftBusSocketGetError() 138 COMM_LOGE(COMM_ADAPTER, "getsockopt fd=%{public}d, errno=%{public}s, ret=%{public}d", in SoftBusSocketGetError() 143 COMM_LOGD(COMM_ADAPTER, "getsockopt fd=%{public}d, err=%{public}d", socketFd, err); in SoftBusSocketGetError()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_socket.c | 45 ret = getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &bufSize, &optLen); in GetTcpSocketBufSize() 47 LOGE(TAG, "getsockopt SO_SNDBUF failed"); in GetTcpSocketBufSize() 52 ret = getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &bufSize, &optLen); in GetTcpSocketBufSize() 54 LOGE(TAG, "getsockopt SO_RCVBUF failed"); in GetTcpSocketBufSize()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_socket.cpp | 45 getsockopt(socket, SOL_SOCKET, SO_SNDTIMEO, reinterpret_cast<char*>(&timeout), &size); in GetTimeout()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | fwmark_network.cpp | 66 NETNATIVE_LOGE("getsockopt failed, socketFd:%{public}d, ret:%{public}d, errno: %{public}d", *socket, ret, in CloseSocket() 93 int32_t ret = getsockopt(*socketFd, SOL_SOCKET, SO_MARK, &fwmark.intValue, &fwmarkLen); in SetMark()
|
H A D | netsys_client.c | 109 ret = getsockopt(sock, SOL_SOCKET, SO_ERROR, (void *)(&err), &optLen); in NonBlockConnect()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_socket.cpp | 231 if (getsockopt(fd_, SOL_SOCKET, opt.second, &curSize, &optlen) != 0) { in SetBufferSize() 232 HILOGE("SetBufferSize getsockopt %{public}s failed.", opt.first); in SetBufferSize() 245 if (getsockopt(fd_, SOL_SOCKET, opt.second, &curSize, &optlen) != 0) { in SetBufferSize() 246 HILOGE("SetBufferSize after getsockopt %{public}s failed.", opt.first); in SetBufferSize()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
H A D | http_request.cpp | 431 int ret = getsockopt(iSockFd, SOL_SOCKET, SO_ERROR, error, &len); in SocketFdCheck() 437 LOGE("HttpRequest::SocketFdCheck getsockopt failed. error code:%{public}d", errno); in SocketFdCheck() 441 LOGE("HttpRequest::SocketFdCheck getsockopt failed. error code:%{public}d", errno); in SocketFdCheck()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | callbacks.c | 1156 return getsockopt(sockFd, level, optName, (char *)optVal, (int *)optLen); in FillpFuncGetSockOpt() 1158 return getsockopt(sockFd, level, optName, optVal, (socklen_t *)optLen); in FillpFuncGetSockOpt()
|
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocket_exec.cpp | 55 if (getsockopt(sockFD, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen) != 0) { in IsTCPSocket()
|
H A D | tls_socket.cpp | 872 int r = getsockopt(sockFd_, SOL_SOCKET, SO_TYPE, &opt, &optLen); in GetState()
|
H A D | tls_socket_server.cpp | 396 int r = getsockopt(listenSocketFd_, SOL_SOCKET, SO_TYPE, &opt, &optLen);
in GetState()
|
/foundation/communication/netmanager_ext/services/mdnsmanager/src/ |
H A D | mdns_protocol_impl.cpp | 157 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &result, &len) < 0) { in ConnectControl() 158 NETMGR_EXT_LOG_E("getsockopt error: %{public}d", errno); in ConnectControl()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_s_server.cpp | 182 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, (char *)&optrval, &optlen) == -1) { in InitServer()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile.c | 1040 if (getsockopt(socket->sockfd, SOL_SOCKET, SO_RCVBUF, (void *)&optVal, &optLen) == 0) { in DFileRecverInit()
|