Home
last modified time | relevance | path

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

12

/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Dtransport.cpp70 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 Dsocket.rs20 use libc::{c_int, getsockopt};
128 getsockopt( in get_sock_linger()
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_socket_outputstream.cpp46 int sockOptRet = getsockopt(socketFd_, SOL_SOCKET, SO_SNDBUF, &bufSize, &optlen); in Write()
H A Dbluetooth_socket.cpp234 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 Dlocal_socket_exec.cpp258 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 Dsocket_exec.cpp532 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 Dseq_packet_socket_server.cpp64 (void)getsockopt(acceptResult, SOL_SOCKET, SO_PEERCRED, &cred, &len); in AcceptingLoop()
/ohos5.0/base/startup/init/interfaces/innerkits/socket/
H A Dinit_socket.c50 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 Dsysio.h48 …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 Dsocket_opt.c138 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 Devent_server.cpp63 …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 Dnet_stats_client.cpp384 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 Dvpn_interface.cpp74 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 Dsocket.rs106 syscall!(getsockopt( in get_sock_linger()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dfwmark_network.cpp93 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 Dsoftbus_adapter_socket.c124 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 Dnstackx_socket.c45 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 Dmedia_service.seccomp.policy98 getsockopt;all
/ohos5.0/base/tee/tee_client/services/teecd/src/
H A Dtee_ca_daemon.c167 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 Drs_profiler_socket.cpp45 getsockopt(socket, SOL_SOCKET, SO_SNDTIMEO, reinterpret_cast<char*>(&timeout), &size); in GetTimeout()
/ohos5.0/base/startup/init/interfaces/innerkits/control_fd/
H A Dcontrol_fd_service.c43 if (getsockopt(LE_GetSocketFd(task), SOL_SOCKET, SO_PEERCRED, &uc, &len) < 0) { in CheckSocketPermission()
/ohos5.0/base/startup/init/services/param/linux/
H A Dparam_service.c169 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 Dinit_context.c183 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 Dimf_ext_secure_mode.seccomp.policy184 getsockopt;all
/ohos5.0/base/startup/init/services/modules/seccomp/seccomp_policy/
H A Dupdater.seccomp.policy218 getsockopt;all

12