mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 19:57:48 +02:00
send raw follow-on datagrams
This commit is contained in:
parent
f077836bf5
commit
a8f227f759
2 changed files with 19 additions and 5 deletions
|
@ -237,6 +237,7 @@ namespace client
|
|||
private:
|
||||
|
||||
void HandleRecvFromI2P(const i2p::data::IdentityEx& from, uint16_t fromPort, uint16_t toPort, const uint8_t * buf, size_t len);
|
||||
void HandleRecvFromI2PRaw (uint16_t fromPort, uint16_t toPort, const uint8_t * buf, size_t len);
|
||||
UDPSessionPtr ObtainUDPSession(const i2p::data::IdentityEx& from, uint16_t localPort, uint16_t remotePort);
|
||||
|
||||
private:
|
||||
|
@ -248,6 +249,7 @@ namespace client
|
|||
std::mutex m_SessionsMutex;
|
||||
std::vector<UDPSessionPtr> m_Sessions;
|
||||
std::shared_ptr<i2p::client::ClientDestination> m_LocalDest;
|
||||
UDPSessionPtr m_LastSession;
|
||||
};
|
||||
|
||||
class I2PUDPClientTunnel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue