Home
last modified time | relevance | path

Searched defs:sockfd (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/
H A Dfaultloggerd_client.cpp76 int sockfd; in RequestFileDescriptorEx() local
90 static bool CheckReadResp(int sockfd) in CheckReadResp()
109 int sockfd = -1; in RequestFileDescriptorByCheck() local
136 static int SendUidToServer(int sockfd) in SendUidToServer()
159 int sockfd = -1; in CheckConnectStatus() local
170 int sockfd = -1; in SendRequestToServer() local
257 int sockfd = -1; in RequestPrintTHilog() local
324 int sockfd; in RequestDelPipeFd() local
338 int sockfd = -1; in ReportDumpStats() local
H A Dfaultloggerd_socket.cpp33 bool StartConnect(int& sockfd, const char* path, const int timeout) in StartConnect()
85 static bool GetServerSocket(int& sockfd, const char* name) in GetServerSocket()
121 bool StartListen(int& sockfd, const char* name, const int listenCnt) in StartListen()
146 static bool RecvMsgFromSocket(int sockfd, unsigned char* data, size_t& len) in RecvMsgFromSocket()
190 bool RecvMsgCredFromSocket(int sockfd, struct ucred* pucred) in RecvMsgCredFromSocket()
242 bool SendMsgIovToSocket(int sockfd, void *iovBase, const int iovLen) in SendMsgIovToSocket()
269 static bool SendMsgCtlToSocket(int sockfd, const void *cmsg, const int cmsgLen) in SendMsgCtlToSocket()
307 bool SendFileDescriptorToSocket(int sockfd, int fd) in SendFileDescriptorToSocket()
312 int ReadFileDescriptorFromSocket(int sockfd) in ReadFileDescriptorFromSocket()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/netvpnclient/src/
H A Dvpn_interface.cpp38 int32_t VpnInterface::ConnectControl(int32_t sockfd, int32_t nsec) in ConnectControl()
94 int32_t VpnInterface::RecvMsgFromUnixServer(int32_t sockfd) in RecvMsgFromUnixServer()
145 int32_t sockfd = socket(AF_UNIX, SOCK_STREAM, 0); in GetVpnInterfaceFd() local
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_dev.c175 static int32_t BindToDeviceInner(int32_t sockfd, const struct ifreq *ifBinding) in BindToDeviceInner()
199 int32_t BindToDevice(SocketDesc sockfd, const struct sockaddr_in *localAddr) in BindToDevice()
361 void BindToDevInTheSameLan(SocketDesc sockfd, const struct sockaddr_in *sockAddr) in BindToDevInTheSameLan()
379 int32_t BindToTargetDev(SocketDesc sockfd, const char *targetInterfaceName) in BindToTargetDev()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_dev.c175 static int32_t BindToDeviceInner(int32_t sockfd, const struct ifreq *ifBinding) in BindToDeviceInner()
199 int32_t BindToDevice(SocketDesc sockfd, const struct sockaddr_in *localAddr) in BindToDevice()
368 void BindToDevInTheSameLan(SocketDesc sockfd, const struct sockaddr_in *sockAddr) in BindToDevInTheSameLan()
386 int32_t BindToTargetDev(SocketDesc sockfd, const char *targetInterfaceName) in BindToTargetDev()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_socket.h31 SocketDesc sockfd; member
/ohos5.0/base/startup/init/ueventd/
H A Dueventd_socket.c42 …int sockfd = socket(PF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT); in UeventdSocketInit() local
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnetsys_native_client_test.cpp295 int32_t sockfd = socket(AF_INET, SOCK_STREAM, 0); variable
307 int32_t sockfd = socket(AF_INET, SOCK_STREAM, 0); variable
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/
H A Dnet_stats_client.cpp369 int32_t NetStatsClient::GetSockfdRxBytes(uint64_t &stats, int32_t sockfd) in GetSockfdRxBytes()
392 int32_t NetStatsClient::GetSockfdTxBytes(uint64_t &stats, int32_t sockfd) in GetSockfdTxBytes()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dlocal_socket_exec.cpp412 static bool SetSocketBufferSize(int sockfd, int type, uint32_t size) in SetSocketBufferSize()
426 static bool SetLocalSocketOptions(int sockfd, const LocalExtraOptions &options) in SetLocalSocketOptions()
455 static void SetSocketDefaultBufferSize(int sockfd, LocalSocketServerManager *mgr) in SetSocketDefaultBufferSize()
815 int sockfd = context->GetSocketFd(); in ExecLocalSocketConnect() local
935 static bool GetLocalSocketOptions(int sockfd, LocalExtraOptions &optionsRef) in GetLocalSocketOptions()
H A Dsocket_exec.cpp670 static bool IsTCPSocket(int sockfd) in IsTCPSocket()
1253 static bool SocketSetTcpExtraOptions(int sockfd, TCPExtraOptions& option) in SocketSetTcpExtraOptions()
/ohos5.0/foundation/communication/netstack/test/fuzztest/socket/fuzztest/socketexec_fuzzer/
H A Dsocket_exec_fuzzer.cpp65 int sockfd = ExecCommonUtils::MakeUdpSocket(family); in MakeUdpSocketFuzzTest() local
79 int sockfd = ExecCommonUtils::MakeTcpSocket(family); in MakeTcpSocketFuzzTest() local
375 int sockfd = ExecCommonUtils::MakeLocalSocket(SOCK_STREAM); in MakeLocalSocketFuzzTest() local
/ohos5.0/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Dnet_stats_client_test.cpp306 int32_t sockfd = 0; variable
/ohos5.0/base/hiviewdfx/faultloggerd/test/fuzztest/faultloggerdserver_fuzzer/
H A Dfaultloggerdserver_fuzzer.cpp195 bool CheckReadResp(int sockfd) in CheckReadResp()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket.cpp381 int Socket::Connect(const std::string &addr, const Uuid &uuid, int securityFlag, int &sockfd) in Connect()
413 int Socket::Listen(const std::string &name, const Uuid &uuid, int securityFlag, int &sockfd) in Listen()
/ohos5.0/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_protocol_impl.cpp121 int32_t MDnsProtocolImpl::ConnectControl(int32_t sockfd, sockaddr* serverAddr) in ConnectControl()
177 int32_t sockfd = socket(AF_INET, SOCK_STREAM, 0); in IsConnectivity() local
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp125 int32_t sockfd = socket(AF_INET, SOCK_DGRAM, 0); in SetMtu() local
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_uevent.c360 …int32_t sockfd = socket(PF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, NETLINK_KOBJECT_UEV… in DevMgrUeventSocketInit() local
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_socket.cpp1256 …cket::TLSSocketInternal::SendRetry(ssl_st *ssl, const char *curPos, size_t curSendSize, int sockfd) in SendRetry()
1291 bool TLSSocket::TLSSocketInternal::PollSend(int sockfd, ssl_st *ssl, const char *pdata, int sendSiz… in PollSend()