mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
inbound zero-hops tunnel
This commit is contained in:
parent
81b72d5481
commit
fa67e90767
3 changed files with 35 additions and 7 deletions
1
Tunnel.h
1
Tunnel.h
|
@ -119,6 +119,7 @@ namespace tunnel
|
|||
|
||||
InboundTunnel (std::shared_ptr<const TunnelConfig> config): Tunnel (config), m_Endpoint (true) {};
|
||||
void HandleTunnelDataMsg (std::shared_ptr<const I2NPMessage> msg);
|
||||
void SendTunnelDataMsg (std::shared_ptr<i2p::I2NPMessage> msg); // for zero-hops only
|
||||
size_t GetNumReceivedBytes () const { return m_Endpoint.GetNumReceivedBytes (); };
|
||||
void Print (std::stringstream& s) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue