|
|
@ -1,5 +1,5 @@ |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2013-2021, The PurpleI2P Project |
|
|
|
* Copyright (c) 2013-2022, The PurpleI2P Project |
|
|
|
* |
|
|
|
* |
|
|
|
* This file is part of Purple i2pd project and licensed under BSD3 |
|
|
|
* This file is part of Purple i2pd project and licensed under BSD3 |
|
|
|
* |
|
|
|
* |
|
|
@ -81,7 +81,6 @@ namespace tunnel |
|
|
|
std::shared_ptr<InboundTunnel> GetNextInboundTunnel (std::shared_ptr<InboundTunnel> excluded = nullptr, |
|
|
|
std::shared_ptr<InboundTunnel> GetNextInboundTunnel (std::shared_ptr<InboundTunnel> excluded = nullptr, |
|
|
|
i2p::data::RouterInfo::CompatibleTransports compatible = i2p::data::RouterInfo::eAllTransports) const; |
|
|
|
i2p::data::RouterInfo::CompatibleTransports compatible = i2p::data::RouterInfo::eAllTransports) const; |
|
|
|
std::shared_ptr<OutboundTunnel> GetNewOutboundTunnel (std::shared_ptr<OutboundTunnel> old) const; |
|
|
|
std::shared_ptr<OutboundTunnel> GetNewOutboundTunnel (std::shared_ptr<OutboundTunnel> old) const; |
|
|
|
void TestTunnels (); |
|
|
|
|
|
|
|
void ManageTunnels (uint64_t ts); |
|
|
|
void ManageTunnels (uint64_t ts); |
|
|
|
void ProcessGarlicMessage (std::shared_ptr<I2NPMessage> msg); |
|
|
|
void ProcessGarlicMessage (std::shared_ptr<I2NPMessage> msg); |
|
|
|
void ProcessDeliveryStatus (std::shared_ptr<I2NPMessage> msg); |
|
|
|
void ProcessDeliveryStatus (std::shared_ptr<I2NPMessage> msg); |
|
|
@ -118,6 +117,7 @@ namespace tunnel |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void TestTunnels (); |
|
|
|
void CreateInboundTunnel (); |
|
|
|
void CreateInboundTunnel (); |
|
|
|
void CreateOutboundTunnel (); |
|
|
|
void CreateOutboundTunnel (); |
|
|
|
void CreatePairedInboundTunnel (std::shared_ptr<OutboundTunnel> outboundTunnel); |
|
|
|
void CreatePairedInboundTunnel (std::shared_ptr<OutboundTunnel> outboundTunnel); |
|
|
|