mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
MTU for ipv6
This commit is contained in:
parent
7e82686818
commit
d84a7ebc7e
3 changed files with 17 additions and 9 deletions
3
SSU.h
3
SSU.h
|
@ -72,6 +72,7 @@ namespace transport
|
|||
void WaitForIntroduction ();
|
||||
void Close ();
|
||||
boost::asio::ip::udp::endpoint& GetRemoteEndpoint () { return m_RemoteEndpoint; };
|
||||
bool IsV6 () const { return m_RemoteEndpoint.address ().is_v6 (); };
|
||||
void SendI2NPMessage (I2NPMessage * msg);
|
||||
void SendPeerTest (); // Alice
|
||||
|
||||
|
@ -188,7 +189,7 @@ namespace transport
|
|||
boost::asio::ip::udp::endpoint m_SenderEndpoint;
|
||||
boost::asio::deadline_timer m_IntroducersUpdateTimer;
|
||||
std::list<boost::asio::ip::udp::endpoint> m_Introducers; // introducers we are connected to
|
||||
uint8_t m_ReceiveBuffer[2*SSU_MTU];
|
||||
uint8_t m_ReceiveBuffer[2*SSU_MTU_V4];
|
||||
std::map<boost::asio::ip::udp::endpoint, SSUSession *> m_Sessions;
|
||||
std::map<uint32_t, boost::asio::ip::udp::endpoint> m_Relays; // we are introducer
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue