Home
last modified time | relevance | path

Searched refs:IpAndPort (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/stream_manager_test/
H A Dstream_manager_test.cpp73 Communication::SoftBus::IpAndPort *local =
74 … (Communication::SoftBus::IpAndPort*)SoftBusMalloc(sizeof(Communication::SoftBus::IpAndPort));
75 …d)memset_s(local, sizeof(Communication::SoftBus::IpAndPort), 0, sizeof(Communication::SoftBus::IpA…
76 Communication::SoftBus::IpAndPort *remote =
77 … (Communication::SoftBus::IpAndPort*)SoftBusMalloc(sizeof(Communication::SoftBus::IpAndPort));
78 …)memset_s(remote, sizeof(Communication::SoftBus::IpAndPort), 0, sizeof(Communication::SoftBus::IpA…
108 Communication::SoftBus::IpAndPort *local =
109 … (Communication::SoftBus::IpAndPort*)SoftBusMalloc(sizeof(Communication::SoftBus::IpAndPort));
110 …d)memset_s(local, sizeof(Communication::SoftBus::IpAndPort), 0, sizeof(Communication::SoftBus::IpA…
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Di_stream_socket.h66 virtual bool CreateClient(IpAndPort &local, int streamType,
68 virtual bool CreateClient(IpAndPort &local, const IpAndPort &remote, int streamType,
70 …virtual bool CreateServer(IpAndPort &local, int streamType, std::pair<uint8_t*, uint32_t> sessionK…
74 virtual bool Connect(const IpAndPort &remote) = 0;
94 virtual int CreateAndBindSocket(IpAndPort &local, bool isServer) = 0;
139 IpAndPort localIpPort_ {};
140 IpAndPort remoteIpPort_ {};
H A Dvtp_stream_socket.h57 …bool CreateClient(IpAndPort &local, int32_t streamType, std::pair<uint8_t *, uint32_t> sessionKey)…
58 bool CreateClient(IpAndPort &local, const IpAndPort &remote, int32_t streamType,
61 …bool CreateServer(IpAndPort &local, int32_t streamType, std::pair<uint8_t *, uint32_t> sessionKey)…
65 bool Connect(const IpAndPort &remote) override;
111 int32_t CreateAndBindSocket(IpAndPort &local, bool isServer) override;
H A Dstream_manager.h81 int CreateStreamClientChannel(IpAndPort &local, IpAndPort remote, Proto protocol,
84 int CreateStreamServerChannel(IpAndPort &local, Proto protocol, int streamType,
H A Dstream_manager.cpp44 int StreamManager::CreateStreamClientChannel(IpAndPort &local, IpAndPort remote, Proto protocol, in CreateStreamClientChannel()
75 int StreamManager::CreateStreamServerChannel(IpAndPort &local, Proto protocol, in CreateStreamServerChannel()
H A Dvtp_stream_socket.cpp419 bool VtpStreamSocket::CreateClient(IpAndPort &local, int32_t streamType, std::pair<uint8_t *, uint3… in CreateClient()
447 bool VtpStreamSocket::CreateClient(IpAndPort &local, const IpAndPort &remote, int32_t streamType, in CreateClient()
467 bool VtpStreamSocket::CreateServer(IpAndPort &local, int32_t streamType, std::pair<uint8_t *, uint3… in CreateServer()
548 bool VtpStreamSocket::Connect(const IpAndPort &remote) in Connect()
744 int32_t VtpStreamSocket::CreateAndBindSocket(IpAndPort &local, bool isServer) in CreateAndBindSocket()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/vtp_stream_socket_test/
H A Dvtp_stream_socket_test.cpp73 Communication::SoftBus::IpAndPort *local =
74 … (Communication::SoftBus::IpAndPort*)SoftBusMalloc(sizeof(Communication::SoftBus::IpAndPort));
76 …d)memset_s(local, sizeof(Communication::SoftBus::IpAndPort), 0, sizeof(Communication::SoftBus::IpA…
111 … (Communication::SoftBus::IpAndPort*)SoftBusMalloc(sizeof(Communication::SoftBus::IpAndPort));
113 …d)memset_s(local, sizeof(Communication::SoftBus::IpAndPort), 0, sizeof(Communication::SoftBus::IpA…
116 … (Communication::SoftBus::IpAndPort*)SoftBusMalloc(sizeof(Communication::SoftBus::IpAndPort));
118 …)memset_s(remote, sizeof(Communication::SoftBus::IpAndPort), 0, sizeof(Communication::SoftBus::IpA…
144 … (Communication::SoftBus::IpAndPort*)SoftBusMalloc(sizeof(Communication::SoftBus::IpAndPort));
146 …d)memset_s(local, sizeof(Communication::SoftBus::IpAndPort), 0, sizeof(Communication::SoftBus::IpA…
190 IpAndPort *remote = (IpAndPort*)SoftBusMalloc(sizeof(IpAndPort));
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/include/
H A Di_stream_manager.h58 virtual int CreateStreamClientChannel(IpAndPort &local, IpAndPort remote, Proto protocol,
60 virtual int CreateStreamServerChannel(IpAndPort &local, Proto protocol,
H A Dstream_common.h111 struct IpAndPort { struct
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/vtpstreamsocket_fuzzer/
H A Dvtpstreamsocket_fuzzer.cpp35 Communication::SoftBus::IpAndPort ipPort; in VtpCreateClientTest()
49 Communication::SoftBus::IpAndPort ipPort; in VtpCreateServerTest()
70 Communication::SoftBus::IpAndPort ipPort; in VtpConnectTest()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/src/
H A Dclient_trans_udp_stream_interface.cpp194 Communication::SoftBus::IpAndPort ipPort; in StartVtpStreamChannelServer()
239 Communication::SoftBus::IpAndPort ipPort; in StartVtpStreamChannelClient()
243 Communication::SoftBus::IpAndPort peerIpPort; in StartVtpStreamChannelClient()