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 D | stream_manager_test.cpp | 73 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 D | i_stream_socket.h | 66 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 D | vtp_stream_socket.h | 57 …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 D | stream_manager.h | 81 int CreateStreamClientChannel(IpAndPort &local, IpAndPort remote, Proto protocol, 84 int CreateStreamServerChannel(IpAndPort &local, Proto protocol, int streamType,
|
H A D | stream_manager.cpp | 44 int StreamManager::CreateStreamClientChannel(IpAndPort &local, IpAndPort remote, Proto protocol, in CreateStreamClientChannel() 75 int StreamManager::CreateStreamServerChannel(IpAndPort &local, Proto protocol, in CreateStreamServerChannel()
|
H A D | vtp_stream_socket.cpp | 419 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 D | vtp_stream_socket_test.cpp | 73 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 D | i_stream_manager.h | 58 virtual int CreateStreamClientChannel(IpAndPort &local, IpAndPort remote, Proto protocol, 60 virtual int CreateStreamServerChannel(IpAndPort &local, Proto protocol,
|
H A D | stream_common.h | 111 struct IpAndPort { struct
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/vtpstreamsocket_fuzzer/ |
H A D | vtpstreamsocket_fuzzer.cpp | 35 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 D | client_trans_udp_stream_interface.cpp | 194 Communication::SoftBus::IpAndPort ipPort; in StartVtpStreamChannelServer() 239 Communication::SoftBus::IpAndPort ipPort; in StartVtpStreamChannelClient() 243 Communication::SoftBus::IpAndPort peerIpPort; in StartVtpStreamChannelClient()
|