Home
last modified time | relevance | path

Searched refs:peerPort (Results 1 - 25 of 63) sorted by relevance

123

/foundation/CastEngine/castengine_wifi_display/services/network/socket/
H A Dtcp_socket.cpp70 bool TcpSocket::Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync, bool enableReuse, in Connect() argument
96 if (!SocketUtils::ConnectSocket(fd, isAsync, peerIp, peerPort, retCode)) { in Connect()
98 peerPort); in Connect()
102 peerPort); in Connect()
108 peerPort_ = peerPort; in Connect()
H A Dudp_socket.cpp66 bool UdpSocket::Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync, bool enableReuse, in Connect() argument
87 if (SocketUtils::ConnectSocket(fd, isAsync, peerIp, peerPort, retCode)) { in Connect()
92 peerPort_ = peerPort; in Connect()
H A Dudp_socket.h32 bool Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync = true,
H A Dtcp_socket.h32 bool Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync = true,
H A Dbase_socket.h33 virtual bool Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync = true,
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/core/
H A Dfilter_base.cpp80 auto peerPort = port->GetPeerPort(); in UnlinkPrevFilters() local
82 if (peerPort) { in UnlinkPrevFilters()
83 peerPort->Disconnect(); in UnlinkPrevFilters()
93 auto peerPort = port->GetPeerPort(); in GetNextFilters() local
94 if (!peerPort) { in GetNextFilters()
99 auto filter = const_cast<Filter *>(reinterpret_cast<const Filter *>(peerPort->GetOwnerFilter())); in GetNextFilters()
112 auto peerPort = inPort->GetPeerPort(); in GetPreFilters() local
113 if (!peerPort) { in GetPreFilters()
118 auto filter = const_cast<Filter *>(reinterpret_cast<const Filter *>(peerPort->GetOwnerFilter())); in GetPreFilters()
/foundation/CastEngine/castengine_wifi_display/services/network/
H A Dnetwork_factory.cpp50 bool NetworkFactory::CreateTcpClient(const std::string &peerIp, uint16_t peerPort, const IClientCallback::Ptr &callback, in CreateTcpClient() argument
57 if (clientPtr->Connect(peerIp, peerPort, localIp, localPort)) { in CreateTcpClient()
80 bool NetworkFactory::CreateUdpClient(const std::string &peerIp, uint16_t peerPort, const std::string &localIp, in CreateUdpClient() argument
87 if (clientPtr->Connect(peerIp, peerPort, localIp, localPort)) { in CreateUdpClient()
H A Dnetwork_factory.h34 static bool CreateTcpClient(const std::string &peerIp, uint16_t peerPort, const IClientCallback::Ptr &callback,
39 static bool CreateUdpClient(const std::string &peerIp, uint16_t peerPort, const std::string &localIp,
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/src/
H A Dconn_event_test.cpp41 .peerPort = "9000", in HWTEST_F()
86 .peerPort = "testPeerPort",
146 .peerPort = nullptr,
223 .peerPort = "3512",
H A Ddisc_event_test.cpp41 .peerPort = "9000", in HWTEST_F()
84 .peerPort = "testPeerPort", in HWTEST_F()
130 .peerPort = "", in HWTEST_F()
H A Dlnn_event_test.cpp42 .peerPort = "9000", in HWTEST_F()
88 .peerPort = "testPeerPort", in HWTEST_F()
142 .peerPort = "", in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/services/network/client/
H A Dtcp_client.cpp36 bool TcpClient::Connect(const std::string &peerIp, uint16_t peerPort, const std::string &localIp, uint16_t localPort) in Connect() argument
38 SHARING_LOGI("peerIp:%{public}s, peerPort:%{public}d, thread_id: %{public}llu.", GetAnonyString(peerIp).c_str(), in Connect()
39 peerPort, GetThreadId()); in Connect()
44 if (socket_->Connect(peerIp, peerPort, retCode, true, true, localIp, localPort)) { in Connect()
H A Dudp_client.cpp37 bool UdpClient::Connect(const std::string &peerHost, uint16_t peerPort, const std::string &localIp, uint16_t localPort) in Connect() argument
39 SHARING_LOGI("peerIp: %{public}s, peerPort: %{public}d, localPort: %{public}d, thread_id: %{public}llu.", in Connect()
40 GetAnonyString(peerHost).c_str(), peerPort, localPort, GetThreadId()); in Connect()
45 if (socket_->Connect(peerHost, peerPort, retCode, false, true, localIp, localPort)) { in Connect()
H A Dtcp_client.h40 bool Connect(const std::string &peerIp, uint16_t peerPort, const std::string &localIp, uint16_t localPort) override;
H A Dudp_client.h40 bool Connect(const std::string &peerHost, uint16_t peerPort, const std::string &localIp,
/foundation/CastEngine/castengine_wifi_display/services/network/data/
H A Dsocket_info.h41 uint16_t localPort, uint16_t peerPort) in SocketInfo()
42 : peerPort_(peerPort), socketPeerFd_(socketPeerFd), peerIp_(peerIp), localPort_(localPort), in SocketInfo()
40 SocketInfo(std::string localIp, std::string peerIp, int32_t socketLocalFd, int32_t socketPeerFd, uint16_t localPort, uint16_t peerPort) SocketInfo() argument
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/include/
H A Dfile_adapter.h31 int32_t StartNStackXDFileClient(const char *peerIp, int32_t peerPort, const uint8_t *key,
/foundation/multimedia/media_foundation/engine/pipeline/core/
H A Dfilter_base.cpp108 auto peerPort = outPort->GetPeerPort(); in GetNextFilters() local
109 if (!peerPort) { in GetNextFilters()
114 auto filter = const_cast<Filter*>(reinterpret_cast<const Filter*>(peerPort->GetOwnerFilter())); in GetNextFilters()
127 auto peerPort = inPort->GetPeerPort(); in GetPreFilters() local
128 if (!peerPort) { in GetPreFilters()
133 auto filter = const_cast<Filter*>(reinterpret_cast<const Filter*>(peerPort->GetOwnerFilter())); in GetPreFilters()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/
H A Ddstream_adaptor_client_test.c67 p1->peerPort = port; in ConstructVtpStreamOpenParam()
75 p2->peerPort = port2; in ConstructVtpStreamOpenParam()
/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/
H A Dconn_event_form.h94 const char *peerPort; // PEER_PORT member
176 const char *peerPort; // PEER_PORT member
H A Ddisc_event_form.h111 const char *peerPort; // PEER_PORT member
186 int32_t peerPort; // PEER_PORT member
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/
H A Dfile_adapter.c253 const char *peerIp, int32_t peerPort, const uint8_t *key, uint32_t keyLen, DFileMsgReceiver msgReceiver) in StartNStackXDFileClient()
263 int32_t ret = InitSockAddrIn6ByIpPort(peerIp, peerPort, &localAddr); in StartNStackXDFileClient()
272 int32_t ret = InitSockAddrInByIpPort(peerIp, peerPort, &localAddr); in StartNStackXDFileClient()
288 TRANS_LOGI(TRANS_FILE, "start dfile client, peerIp=%{public}s, peerPort=%{public}d", animizedIp, peerPort); in StartNStackXDFileClient()
252 StartNStackXDFileClient( const char *peerIp, int32_t peerPort, const uint8_t *key, uint32_t keyLen, DFileMsgReceiver msgReceiver) StartNStackXDFileClient() argument
/foundation/CastEngine/castengine_wifi_display/services/network/interfaces/
H A Diclient.h33 virtual bool Connect(const std::string &peerHost, uint16_t peerPort, const std::string &localIp,
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/mock/
H A Dmock_client.h37 (const std::string &peerHost, uint16_t peerPort, const std::string &localIp, uint16_t localPort));
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/include/
H A Dclient_trans_udp_stream_interface.h58 int32_t peerPort; member

Completed in 8 milliseconds

123