mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-27 02:30:33 +01:00
datagramversion param for UDP client tunnel
This commit is contained in:
parent
e47cc8495b
commit
c554f47c4d
8 changed files with 36 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2024, The PurpleI2P Project
|
||||
* Copyright (c) 2013-2025, The PurpleI2P Project
|
||||
*
|
||||
* This file is part of Purple i2pd project and licensed under BSD3
|
||||
*
|
||||
|
@ -130,7 +130,7 @@ namespace client
|
|||
|
||||
I2PUDPClientTunnel (const std::string & name, const std::string &remoteDest,
|
||||
const boost::asio::ip::udp::endpoint& localEndpoint, std::shared_ptr<i2p::client::ClientDestination> localDestination,
|
||||
uint16_t remotePort, bool gzip);
|
||||
uint16_t remotePort, bool gzip, i2p::datagram::DatagramVersion datagramVersion);
|
||||
~I2PUDPClientTunnel ();
|
||||
|
||||
void Start ();
|
||||
|
@ -175,6 +175,7 @@ namespace client
|
|||
uint16_t RemotePort, m_LastPort;
|
||||
bool m_cancel_resolve;
|
||||
bool m_Gzip;
|
||||
i2p::datagram::DatagramVersion m_DatagramVersion;
|
||||
std::shared_ptr<UDPConvo> m_LastSession;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue