|
|
@ -139,7 +139,7 @@ namespace tunnel |
|
|
|
Tunnel (config), m_Gateway (this), m_EndpointIdentHash (config->GetLastIdentHash ()) {}; |
|
|
|
Tunnel (config), m_Gateway (this), m_EndpointIdentHash (config->GetLastIdentHash ()) {}; |
|
|
|
|
|
|
|
|
|
|
|
void SendTunnelDataMsg (const uint8_t * gwHash, uint32_t gwTunnel, std::shared_ptr<i2p::I2NPMessage> msg); |
|
|
|
void SendTunnelDataMsg (const uint8_t * gwHash, uint32_t gwTunnel, std::shared_ptr<i2p::I2NPMessage> msg); |
|
|
|
virtual void SendTunnelDataMsg (const std::vector<TunnelMessageBlock>& msgs); // multiple messages
|
|
|
|
virtual void SendTunnelDataMsgs (const std::vector<TunnelMessageBlock>& msgs); // multiple messages
|
|
|
|
const i2p::data::IdentHash& GetEndpointIdentHash () const { return m_EndpointIdentHash; }; |
|
|
|
const i2p::data::IdentHash& GetEndpointIdentHash () const { return m_EndpointIdentHash; }; |
|
|
|
virtual size_t GetNumSentBytes () const { return m_Gateway.GetNumSentBytes (); }; |
|
|
|
virtual size_t GetNumSentBytes () const { return m_Gateway.GetNumSentBytes (); }; |
|
|
|
|
|
|
|
|
|
|
@ -190,7 +190,7 @@ namespace tunnel |
|
|
|
public: |
|
|
|
public: |
|
|
|
|
|
|
|
|
|
|
|
ZeroHopsOutboundTunnel (); |
|
|
|
ZeroHopsOutboundTunnel (); |
|
|
|
void SendTunnelDataMsg (const std::vector<TunnelMessageBlock>& msgs) override; |
|
|
|
void SendTunnelDataMsgs (const std::vector<TunnelMessageBlock>& msgs) override; |
|
|
|
size_t GetNumSentBytes () const override { return m_NumSentBytes; }; |
|
|
|
size_t GetNumSentBytes () const override { return m_NumSentBytes; }; |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|