get local yggdrasil ipv6 address

This commit is contained in:
orignal 2021-01-24 19:42:44 -05:00
parent 2d998aba43
commit 07282ec39f
2 changed files with 31 additions and 0 deletions

View file

@ -188,6 +188,7 @@ namespace util
{
int GetMTU (const boost::asio::ip::address& localAddress);
const boost::asio::ip::address GetInterfaceAddress (const std::string & ifname, bool ipv6=false);
boost::asio::ip::address_v6 GetYggdrasilAddress ();
bool IsInReservedRange (const boost::asio::ip::address& host);
}
}