Home
last modified time | relevance | path

Searched defs:sock (Results 26 – 50 of 76) sorted by relevance

1234

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsysio_udp.c137 struct FtSocket *sock = (struct FtSocket *)argSock; in SysioListenUdp() local
211 struct FtSocket *sock = (struct FtSocket *)argSock; in SysioFreeSocketUdp() local
228 static void *SysioFetchPacketUdp(void *sock, void *buf, void *count) in SysioFetchPacketUdp()
491 struct FtSocket *sock = FILLP_NULL_PTR; in SysioGetListenSocketByOssock() local
537 struct FtSocket *sock = (struct FtSocket *)argSock; in SysioConnectedUdp() local
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_dfx.c277 static void FillpDfxSockQosNotify(const struct FtSocket *sock) in FillpDfxSockQosNotify()
311 void FillpDfxSockLinkAndQosNotify(const struct FtSocket *sock, FillpDfxLinkEvtType evtType) in FillpDfxSockLinkAndQosNotify()
489 struct FtSocket *sock = SockApiGetAndCheck(sockIndex); in FillpDumpShowSockResource() local
522 static FILLP_INT32 DoShowSockList(FILLP_CONST struct FtSocket *sock, FILLP_CHAR *data, FILLP_UINT32… in DoShowSockList()
560 struct FtSocket *sock = FILLP_NULL_PTR; in FillpDumpShowSockList() local
596 static FILLP_INT DoShowSockQos(FILLP_CONST struct FtSocket *sock, FILLP_CHAR *data, FILLP_UINT32 *l… in DoShowSockQos()
628 struct FtSocket *sock = SockApiGetAndCheck(sockIndex); in FillpDfxGetSock() local
648 struct FtSocket *sock = FillpDfxGetSock(sockIndex, softObj, dump, data, &len); in FillpDumpShowSockData() local
667 static FILLP_INT DoShowFrameStats(FILLP_CONST struct FtSocket *sock, FILLP_CHAR *data, FILLP_UINT32… in DoShowFrameStats()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_proxy_request_socket.cpp21 DnsProxyRequestSocket::DnsProxyRequestSocket(int32_t sock, std::unique_ptr<AlignedSockAddr> &&clien… in DnsProxyRequestSocket()
H A Ddns_proxy_listen.cpp376 for (const auto sock : sockTemp) { in CollectSocks() local
390 for (const auto sock : sockTemp) { in EpollTimeout() local
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dsource_fd.rs53 let sock = socket::socket_new(libc::AF_UNIX, libc::SOCK_STREAM).unwrap(); in ut_source_fd_debug_info() localVariable
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket.cpp663 void Socket::OnSocketReadReady(Socket &sock) in OnSocketReadReady()
679 void Socket::OnSocketWriteReady(Socket &sock) in OnSocketWriteReady()
697 void Socket::OnSocketWriteReadyNative(Socket &sock) in OnSocketWriteReadyNative()
893 void Socket::OnSocketException(Socket &sock) in OnSocketException()
904 void Socket::OnSocketExceptionNative(Socket &sock) in OnSocketExceptionNative()
968 void Socket::NotifyServiceDeleteSocket(Socket &sock) in NotifyServiceDeleteSocket()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_input.c35 static void FillpCalRecvJitter(struct FtSocket *sock, FILLP_LLONG arrival, FILLP_LLONG receiveTrans… in FillpCalRecvJitter()
78 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpProcessDataOptions() local
333 static void FillpNackInputTrace(FILLP_CONST struct FtSocket *sock, FILLP_CONST struct FillpPktNack … in FillpNackInputTrace()
653 static void FillpChangePackInterval(struct FillpPcb *pcb, FILLP_CONST struct FtSocket *sock, in FillpChangePackInterval()
678 struct FtSocket *sock = (struct FtSocket *)FILLP_GET_CONN(pcb)->sock; in FillpHandlePackFlag() local
H A Dfillp_timer.c46 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpCalFcAppStastics() local
151 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpPackTimerCb() local
H A Dfillp_common.c212 struct FtSocket *sock = (struct FtSocket *)conn->sock; in FillpAckUnrecvList() local
292 struct FtSocket *sock = (struct FtSocket *)conn->sock; in FillpAckUnackList() local
514 …struct FtSocket *sock = (struct FtSocket *)((struct FtNetconn *)((struct SpungePcb*)pcb->spcb)->co… in FillpAddNodeAtDelayNackListTail() local
736 struct FtSocket *sock = FILLP_NULL_PTR; in FillpCalNackDelayTimeByPackInterval() local
H A Dfillp_flow_control.c167 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpCalSendInterval() local
366 struct FtSocket *sock; in FillpFcCycle() local
H A Dfillp_output.c91 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpIsAskMoreBuf() local
243 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpBuildDataPkt() local
H A Dfillp_pcb.c646 struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpInitPcbTimeNode() local
755 FILLP_CONST struct FtSocket *sock = FILLP_GET_SOCKET(pcb); in FillpGetSockPackInterval() local
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/
H A Dmulticast_membership_context.cpp87 void MulticastMembershipContext::SetSocketFd(int sock) in SetSocketFd()
H A Dcommon_context.cpp65 void CloseContext::SetSocketFd(int sock) in SetSocketFd()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_module/src/
H A Dsocket_module.cpp133 int sock = static_cast<int>(reinterpret_cast<uint64_t>(manager->GetData())); in Finalize() local
185 static bool SetSocket(napi_env env, napi_value thisVal, BaseContext *context, int sock) in SetSocket()
222 int sock = ExecCommonUtils::MakeTcpSocket(context->address_.GetSaFamily()); in MakeTcpClientBindSocket() local
249 int sock = ExecCommonUtils::MakeTcpSocket(context->options.address.GetSaFamily()); in MakeTcpClientConnectSocket() local
267 int sock = ExecCommonUtils::MakeTcpSocket(context->address_.GetSaFamily(), false); in MakeTcpServerSocket() local
292 int sock = ExecCommonUtils::MakeUdpSocket(context->address_.GetSaFamily()); in MakeUdpSocket() local
314 int sock = ExecCommonUtils::MakeUdpSocket(context->address_.GetSaFamily()); in MakeMulticastUdpSocket() local
353 int sock = ExecCommonUtils::MakeLocalSocket(SOCK_STREAM); in MakeLocalSocketBind() local
377 int sock = ExecCommonUtils::MakeLocalSocket(SOCK_STREAM, false); in MakeLocalSocketConnect() local
397 if (int sock = context->GetSocketFd(); sock > 0) { in MakeLocalServerSocket() local
[all …]
/ohos5.0/base/startup/init/services/init/standard/
H A Dinit.c47 int sock = -1; in FdHolderSockInit() local
100 int sock = FdHolderSockInit(); in SystemInit() local
/ohos5.0/base/startup/init/interfaces/innerkits/fd_holder/
H A Dfd_holder_internal.c118 int *ReceiveFds(int sock, struct iovec iovec, size_t *outFdCount, bool nonblock, pid_t *requestPid) in ReceiveFds()
H A Dfd_holder.c76 int sock = BuildClientSocket(); in ServiceSendFds() local
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_exec.cpp383 int sock = static_cast<int>(reinterpret_cast<uint64_t>(manager_->GetData())); in OnMessage() local
416 …bool OnMessage(int sock, void *data, size_t dataLen, sockaddr *addr, EventManager *manager) const … in OnMessage()
478 int sock = static_cast<int>(reinterpret_cast<uint64_t>(manager_->GetData())); in OnMessage() local
528 static int ConfirmSocketTimeoutMs(int sock, int type, int defaultValue) in ConfirmSocketTimeoutMs()
540 static bool PollSendData(int sock, const char *data, size_t size, sockaddr *addr, socklen_t addrLen) in PollSendData()
659 static int ConfirmBufferSize(int sock) in ConfirmBufferSize()
699 static int ExitOrAbnormal(int sock, ssize_t recvLen, const MessageCallback &callback) in ExitOrAbnormal()
756 static void PollRecvData(int sock, sockaddr *addr, socklen_t addrLen, const MessageCallback &callba… in PollRecvData()
812 static bool NonBlockConnect(int sock, sockaddr *addr, socklen_t addrLen, uint32_t timeoutMSec) in NonBlockConnect()
860 static bool SetBaseOptions(int sock, ExtraOptionsBase *option) in SetBaseOptions()
[all …]
H A Dlocal_socket_exec.cpp254 static int ConfirmSocketTimeoutMs(int sock, int type, int defaultValue) in ConfirmSocketTimeoutMs()
266 static bool PollSendData(int sock, const char *data, size_t size, sockaddr *addr, socklen_t addrLen) in PollSendData()
469 static int ConfirmBufferSize(int sock) in ConfirmBufferSize()
691 static int UpdateRecvBuffer(int sock, int &bufferSize, std::unique_ptr<char[]> &buf, in UpdateRecvBuffer()
709 static void PollRecvData(int sock, const LocalSocketMessageCallback &callback) in PollRecvData()
781 static bool NonBlockConnect(int sock, sockaddr *addr, socklen_t addrLen, uint32_t timeoutMSec) in NonBlockConnect()
/ohos5.0/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_protocol_impl.cpp83 … [this](int sock, const MDnsPayload &payload) { return this->ReceivePacket(sock, payload); }); in Init()
84 listener_.SetFinishedHandler([this](int sock) { in Init()
521 void MDnsProtocolImpl::ReceivePacket(int sock, const MDnsPayload &payload) in ReceivePacket()
549 void MDnsProtocolImpl::ProcessQuestion(int sock, const MDnsMessage &msg) in ProcessQuestion()
633 void MDnsProtocolImpl::ProcessAnswer(int sock, const MDnsMessage &msg) in ProcessAnswer()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/fwmarkclient/src/
H A Dfwmark_client.cpp100 int32_t FwmarkClient::HandleError(int32_t ret, int32_t errorCode, int32_t sock) in HandleError()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnetlink_socket.cpp110 int32_t GetInfoFromKernel(int32_t sock, uint16_t clearThing, uint32_t table) in GetInfoFromKernel()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/
H A Dsocket_app.h96 #define SOCK_DESTROY_CONN(lock, conn, sock, err) \ argument
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_cmd_client.cpp111 int sock = socket(AF_INET, SOCK_DGRAM, 0); in SendCommandToDriverByInterfaceName() local

1234