|
|
@ -186,7 +186,7 @@ namespace tunnel |
|
|
|
{ |
|
|
|
{ |
|
|
|
for (auto& it: m_Hops) |
|
|
|
for (auto& it: m_Hops) |
|
|
|
{ |
|
|
|
{ |
|
|
|
s << " ⇒ "; |
|
|
|
s << " ⇒ "; |
|
|
|
s << i2p::data::GetIdentHashAbbreviation (it->ident->GetIdentHash ()); |
|
|
|
s << i2p::data::GetIdentHashAbbreviation (it->ident->GetIdentHash ()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -203,7 +203,7 @@ namespace tunnel |
|
|
|
void InboundTunnel::Print (std::stringstream& s) const |
|
|
|
void InboundTunnel::Print (std::stringstream& s) const |
|
|
|
{ |
|
|
|
{ |
|
|
|
PrintHops (s); |
|
|
|
PrintHops (s); |
|
|
|
s << " ⇒ " << GetTunnelID () << ":me"; |
|
|
|
s << " ⇒ " << GetTunnelID () << ":me"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ZeroHopsInboundTunnel::ZeroHopsInboundTunnel (): |
|
|
|
ZeroHopsInboundTunnel::ZeroHopsInboundTunnel (): |
|
|
@ -224,7 +224,7 @@ namespace tunnel |
|
|
|
|
|
|
|
|
|
|
|
void ZeroHopsInboundTunnel::Print (std::stringstream& s) const |
|
|
|
void ZeroHopsInboundTunnel::Print (std::stringstream& s) const |
|
|
|
{ |
|
|
|
{ |
|
|
|
s << " ⇒ " << GetTunnelID () << ":me"; |
|
|
|
s << " ⇒ " << GetTunnelID () << ":me"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void OutboundTunnel::SendTunnelDataMsg (const uint8_t * gwHash, uint32_t gwTunnel, std::shared_ptr<i2p::I2NPMessage> msg) |
|
|
|
void OutboundTunnel::SendTunnelDataMsg (const uint8_t * gwHash, uint32_t gwTunnel, std::shared_ptr<i2p::I2NPMessage> msg) |
|
|
@ -265,7 +265,7 @@ namespace tunnel |
|
|
|
{ |
|
|
|
{ |
|
|
|
s << GetTunnelID () << ":me"; |
|
|
|
s << GetTunnelID () << ":me"; |
|
|
|
PrintHops (s); |
|
|
|
PrintHops (s); |
|
|
|
s << " ⇒ "; |
|
|
|
s << " ⇒ "; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ZeroHopsOutboundTunnel::ZeroHopsOutboundTunnel (): |
|
|
|
ZeroHopsOutboundTunnel::ZeroHopsOutboundTunnel (): |
|
|
@ -297,7 +297,7 @@ namespace tunnel |
|
|
|
|
|
|
|
|
|
|
|
void ZeroHopsOutboundTunnel::Print (std::stringstream& s) const |
|
|
|
void ZeroHopsOutboundTunnel::Print (std::stringstream& s) const |
|
|
|
{ |
|
|
|
{ |
|
|
|
s << GetTunnelID () << ":me ⇒ "; |
|
|
|
s << GetTunnelID () << ":me ⇒ "; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Tunnels tunnels; |
|
|
|
Tunnels tunnels; |
|
|
@ -882,4 +882,3 @@ namespace tunnel |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|