Home
last modified time | relevance | path

Searched defs:socketFd (Results 1 – 25 of 31) sorted by relevance

12

/foundation/communication/dsoftbus/tests/adapter/unittest/
Dsoftbus_socket_test.cpp76 int32_t socketFd = -1; in SocketServiceStart() local
132 static void ClientConnect(int32_t *socketFd) in ClientConnect()
148 static void ClientExit(int32_t socketFd) in ClientExit()
168 int32_t socketFd = -1; variable
189 int32_t socketFd = -1; variable
202 int32_t socketFd = -1; variable
217 int32_t socketFd = -1; variable
242 int32_t socketFd = -1; variable
262 int socketFd; variable
282 int socketFd; variable
[all …]
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
Dsoftbus_adapter_socket.c73 int32_t SoftBusSocketCreate(int32_t domain, int32_t type, int32_t protocol, int32_t *socketFd) in SoftBusSocketCreate()
90 int32_t SoftBusSocketSetOpt(int32_t socketFd, int32_t level, int32_t optName, const void *optVal, i… in SoftBusSocketSetOpt()
101 int32_t SoftBusSocketGetOpt(int32_t socketFd, int32_t level, int32_t optName, void *optVal, int32_t… in SoftBusSocketGetOpt()
111 int32_t SoftBusSocketGetError(int32_t socketFd) in SoftBusSocketGetError()
165 int32_t SoftBusSocketGetLocalName(int32_t socketFd, SoftBusSockAddr *addr, int32_t *addrLen) in SoftBusSocketGetLocalName()
188 int32_t SoftBusSocketGetPeerName(int32_t socketFd, SoftBusSockAddr *addr, int32_t *addrLen) in SoftBusSocketGetPeerName()
211 int32_t SoftBusSocketBind(int32_t socketFd, SoftBusSockAddr *addr, int32_t addrLen) in SoftBusSocketBind()
231 int32_t SoftBusSocketListen(int32_t socketFd, int32_t backLog) in SoftBusSocketListen()
242 int32_t SoftBusSocketAccept(int32_t socketFd, SoftBusSockAddr *addr, int32_t *addrLen, int32_t *acc… in SoftBusSocketAccept()
266 int32_t SoftBusSocketConnect(int32_t socketFd, const SoftBusSockAddr *addr, int32_t addrLen) in SoftBusSocketConnect()
[all …]
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
Dnetwork_mock.cpp41 int32_t SoftBusSocketCreate(int32_t domain, int32_t type, int32_t protocol, int32_t *socketFd) in SoftBusSocketCreate()
46 int32_t SoftBusSocketSetOpt(int32_t socketFd, int32_t level, int32_t optName, const void *optVal, i… in SoftBusSocketSetOpt()
51 int32_t SoftBusSocketClose(int32_t socketFd) in SoftBusSocketClose()
56 int32_t SoftBusSocketBind(int32_t socketFd, SoftBusSockAddr *addr, int32_t addrLen) in SoftBusSocketBind()
71 int32_t SoftBusSocketRecv(int32_t socketFd, void *buf, uint32_t len, int32_t flags) in SoftBusSocketRecv()
/foundation/communication/netstack/test/unittest/tlssocket/server/
DTlsSocketServerTest.cpp121 int socketFd = tlsServerSendOptions.GetSocket(); variable
138 int socketFd = tlsServerSendOptions.GetSocket(); variable
163 int socketFd = tlsServerSendOptions.GetSocket(); variable
199 int socketFd = tlsServerSendOptions.GetSocket(); variable
227 int socketFd = tlsServerSendOptions.GetSocket(); variable
248 int socketFd = tlsServerSendOptions.GetSocket(); variable
285 int socketFd = tlsServerSendOptions.GetSocket(); variable
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
Dfwmark_network_test.cpp192 int32_t socketFd = 0; variable
204 int32_t socketFd = 1111; variable
295 int32_t socketFd = 1111; variable
/foundation/communication/bluetooth/frameworks/inner/src/
Dbluetooth_socket_outputstream.cpp24 OutputStream::OutputStream(int socketFd) : socketFd_(socketFd) in OutputStream()
Dbluetooth_socket_inputstream.cpp24 InputStream::InputStream(int socketFd) : socketFd_(socketFd) in InputStream()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
Dfwmark_network.cpp85 int32_t SetMark(int32_t *socketFd, FwmarkCommand *command) in SetMark()
141 int32_t socketFd = -1; in SendMessage() local
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
Dsocket_service.cpp103 int socketFd = SOCK_INVALID_FD; in Connect() local
122 int socketFd = SOCK_INVALID_FD; in Listen() local
/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbussocketrecv_fuzzer/
Dsoftbussocketrecv_fuzzer.cpp36 int32_t socketFd = *(reinterpret_cast<const int32_t*>(data)); in DoSomethingInterestingWithMyAPI() local
/foundation/communication/netstack/frameworks/native/tls_socket/src/
Dtls_socket_server.cpp148 void TLSServerSendOptions::SetSocket(const int &socketFd) in SetSocket()
280 int socketFd = data.GetSocket(); in Send() local
316 void TLSSocketServer::Close(const int socketFd, const TlsSocket::CloseCallback &callback) in Close()
354 void TLSSocketServer::GetRemoteAddress(const int socketFd, const TlsSocket::GetRemoteAddressCallbac… in GetRemoteAddress()
468 void TLSSocketServer::GetRemoteCertificate(const int socketFd, const TlsSocket::GetRemoteCertificat… in GetRemoteCertificate()
498 void TLSSocketServer::GetCipherSuite(const int socketFd, const TlsSocket::GetCipherSuiteCallback &c… in GetCipherSuite()
519 void TLSSocketServer::GetSignatureAlgorithms(const int socketFd, in GetSignatureAlgorithms()
1208 void TLSSocketServer::RemoveConnect(int socketFd) in RemoveConnect()
1228 int TLSSocketServer::RecvRemoteInfo(int socketFd, int index) in RecvRemoteInfo()
1259 void TLSSocketServer::Connection::CallOnMessageCallback(int32_t socketFd, const std::string &data, in CallOnMessageCallback()
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/test/
Dnetlink_handler_test.cpp91 int32_t StartSocket(int32_t& socketFd) in StartSocket()
Dnetlink_listener_test.cpp89 int32_t StartSocket(int32_t& socketFd) in StartSocket()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/
Ddata_receiver.cpp29 DataReceiver::DataReceiver(int32_t socketFd, int32_t format) : socket_(socketFd), format_(format) in DataReceiver()
Dnetlink_manager.cpp58 int32_t socketFd; in CreateNetlinkDistributor() local
/foundation/communication/netmanager_base/services/netmanagernative/fwmarkclient/src/
Dfwmark_client.cpp53 int32_t FwmarkClient::ProtectFromVpn(int32_t socketFd) in ProtectFromVpn()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
Draw_socket.cpp74 int socketFd = socket(PF_PACKET, SOCK_DGRAM, htons(protocol)); in CreateSocket() local
/foundation/communication/dsoftbus/tests/core/connection/common/fuzztest/connectioncommon_fuzzer/
Dconnectioncommon_fuzzer.cpp78 int socketFd = ConnOpenClientSocket(&connectOption, "127.0.0.1", false); in DoSocketFuzz() local
/foundation/communication/netmanager_ext/frameworks/native/netvpnclient/src/
Dnetworkvpn_client.cpp49 int32_t NetworkVpnClient::Protect(int32_t socketFd) in Protect()
/foundation/communication/netmanager_base/services/netsyscontroller/src/
Dnetsys_controller_service_impl.cpp396 int32_t NetsysControllerServiceImpl::BindSocket(int32_t socketFd, uint32_t netId) in BindSocket()
472 int32_t NetsysControllerServiceImpl::BindNetworkServiceVpn(int32_t socketFd) in BindNetworkServiceVpn()
481 int32_t NetsysControllerServiceImpl::EnableVirtualNetIfaceCard(int32_t socketFd, struct ifreq &ifRe… in EnableVirtualNetIfaceCard()
491 int32_t NetsysControllerServiceImpl::SetIpAddress(int32_t socketFd, const std::string &ipAddress, i… in SetIpAddress()
Dnetsys_controller.cpp511 int32_t NetsysController::BindSocket(int32_t socketFd, uint32_t netId) in BindSocket()
624 int32_t NetsysController::BindNetworkServiceVpn(int32_t socketFd) in BindNetworkServiceVpn()
638 int32_t NetsysController::EnableVirtualNetIfaceCard(int32_t socketFd, struct ifreq &ifRequest, int3… in EnableVirtualNetIfaceCard()
652 int32_t NetsysController::SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_t pref… in SetIpAddress()
Dmock_netsys_native_client.cpp549 int32_t MockNetsysNativeClient::BindNetworkServiceVpn(int32_t socketFd) in BindNetworkServiceVpn()
555 int32_t MockNetsysNativeClient::EnableVirtualNetIfaceCard(int32_t socketFd, struct ifreq &ifRequest… in EnableVirtualNetIfaceCard()
565 int32_t MockNetsysNativeClient::SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_… in SetIpAddress()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
Ddns_proxy_listen.cpp66 int32_t socketFd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, IPPROTO_UDP); in DnsParseBySocket() local
/foundation/communication/netmanager_base/utils/common_utils/include/
Devent_report.h70 int32_t socketFd = 0; member
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
Dkernel_talker.cpp75 int socketFd = session->GetHandle(); in SinkSessionTokernel() local

12