show local SSU2 address

This commit is contained in:
orignal 2022-03-13 11:04:37 -04:00
parent f184f550b9
commit 6eba061c2a
4 changed files with 19 additions and 8 deletions

View file

@ -190,7 +190,7 @@ namespace data
void AddSSUAddress (const char * host, int port, const uint8_t * key, int mtu = 0);
void AddNTCP2Address (const uint8_t * staticKey, const uint8_t * iv,
const boost::asio::ip::address& host = boost::asio::ip::address(), int port = 0, uint8_t caps = 0);
void AddSSU2Address (const uint8_t * staticKey); // non published
void AddSSU2Address (const uint8_t * staticKey, uint8_t caps = 0); // non published
bool AddIntroducer (const Introducer& introducer);
bool RemoveIntroducer (const boost::asio::ip::udp::endpoint& e);
void SetUnreachableAddressesTransportCaps (uint8_t transports); // bitmask of AddressCaps