/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
H A D | transport.cpp | 70 if (getsockopt(socketId, SOL_SOCKET, SO_SNDBUF, static_cast<void *>(&oldN), &oldOutSize) < 0) { in InitRecvBuffer() 81 if (getsockopt(socketId, SOL_SOCKET, SO_SNDBUF, static_cast<void *>(&newN), &newOutSize) < 0) { in InitRecvBuffer()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/ |
H A D | socket.rs | 20 use libc::{c_int, getsockopt}; 128 getsockopt( in get_sock_linger()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_socket_outputstream.cpp | 46 int sockOptRet = getsockopt(socketFd_, SOL_SOCKET, SO_SNDBUF, &bufSize, &optlen); in Write()
|
H A D | bluetooth_socket.cpp | 234 if (getsockopt(fd_, SOL_SOCKET, opt.second, &curSize, &optlen) != 0) { in SetBufferSize() 248 if (getsockopt(fd_, SOL_SOCKET, opt.second, &curSize, &optlen) != 0) { in SetBufferSize()
|
/ohos5.0/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 >… 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 >… 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() 944 if (getsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, &result, &len) == -1) { in GetLocalSocketOptions() 951 if (getsockopt(sockfd, SOL_SOCKET, SO_SNDTIMEO, &timeout, &timeLen) == -1) { in GetLocalSocketOptions()
|
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 >… 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 >… in ConfirmBufferSize() 675 if (getsockopt(sockfd, SOL_SOCKET, SO_PROTOCOL, &optval, &optlen) != 0) { in IsTCPSocket() 849 ret = getsockopt(sock, SOL_SOCKET, SO_ERROR, reinterpret_cast<void *>(&err), &optLen); in NonBlockConnect() 1105 int r = getsockopt(context->GetSocketFd(), SOL_SOCKET, SO_TYPE, &opt, &optLen); in CheckClosed() 1499 …if (getsockopt(context->GetSocketFd(), (family == AF_INET) ? IPPROTO_IP : IPPROTO_IPV6, (family ==… in ExecGetMulticastTTL() 1531 …if (getsockopt(context->GetSocketFd(), (family == AF_INET) ? IPPROTO_IP : IPPROTO_IPV6, (family ==… in ExecGetLoopbackMode() 2061 if (getsockopt(context->GetSocketFd(), SOL_SOCKET, SO_TYPE, &opt, &optLen) < 0) { in GetTcpServerState()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
H A D | seq_packet_socket_server.cpp | 64 (void)getsockopt(acceptResult, SOL_SOCKET, SO_PEERCRED, &cred, &len); in AcceptingLoop()
|
/ohos5.0/base/startup/init/interfaces/innerkits/socket/ |
H A D | init_socket.c | 50 int ret = getsockopt(fd, SOL_SOCKET, SO_DOMAIN, &addrFamily, &afLen); in GetControlSocket()
|
/ohos5.0/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 *optL… member
|
/ohos5.0/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()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/ |
H A D | event_server.cpp | 63 …if (getsockopt(socketId, SOL_SOCKET, optName, static_cast<void *>(&bufferSizeOld), &sizeOfInt) < 0… in InitSocketBuf() 74 …if (getsockopt(socketId, SOL_SOCKET, optName, static_cast<void *>(&bufferSizeNew), &sizeOfInt) < 0… in InitSocketBuf()
|
/ohos5.0/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() 407 if (getsockopt(sockfd, SOL_SOCKET, SO_COOKIE, &optrval, &optlen) == -1) { in GetSockfdTxBytes()
|
/ohos5.0/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()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/ |
H A D | socket.rs | 106 syscall!(getsockopt( in get_sock_linger()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | fwmark_network.cpp | 93 int32_t ret = getsockopt(*socketFd, SOL_SOCKET, SO_MARK, &fwmark.intValue, &fwmarkLen); in SetMark()
|
/ohos5.0/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() 136 int32_t ret = getsockopt(socketFd, SOL_SOCKET, SO_ERROR, &err, &errSize); in SoftBusSocketGetError()
|
/ohos5.0/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() 52 ret = getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &bufSize, &optLen); in GetTcpSocketBufSize()
|
/ohos5.0/foundation/multimedia/player_framework/services/seccomp_policy/ |
H A D | media_service.seccomp.policy | 98 getsockopt;all
|
/ohos5.0/base/tee/tee_client/services/teecd/src/ |
H A D | tee_ca_daemon.c | 167 if (getsockopt(s2, SOL_SOCKET, SO_PEERCRED, &cr, &len) < 0) { in ProcessAccept()
|
/ohos5.0/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()
|
/ohos5.0/base/startup/init/interfaces/innerkits/control_fd/ |
H A D | control_fd_service.c | 43 if (getsockopt(LE_GetSocketFd(task), SOL_SOCKET, SO_PEERCRED, &uc, &len) < 0) { in CheckSocketPermission()
|
/ohos5.0/base/startup/init/services/param/linux/ |
H A D | param_service.c | 169 if (getsockopt(LE_GetSocketFd(worker), SOL_SOCKET, SO_PEERCRED, &cr, &crSize) < 0) { in HandleParamSet() 320 if (getsockopt(LE_GetSocketFd(worker), SOL_SOCKET, SO_PEERCRED, &cr, &crSize) < 0) { in HandleParamSave()
|
/ohos5.0/base/startup/init/services/modules/init_context/ |
H A D | init_context.c | 183 if (getsockopt(subInfo->recvFd, SOL_SOCKET, SO_PEERCRED, &uc, &len) < 0 || uc.uid != 0) { in CheckSocketPermission()
|
/ohos5.0/base/inputmethod/imf/seccomp_policy/ |
H A D | imf_ext_secure_mode.seccomp.policy | 184 getsockopt;all
|
/ohos5.0/base/startup/init/services/modules/seccomp/seccomp_policy/ |
H A D | updater.seccomp.policy | 218 getsockopt;all
|