mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 20:27:49 +02:00
check local address
This commit is contained in:
parent
05c7aacfa5
commit
a74f685a5d
3 changed files with 14 additions and 1 deletions
|
@ -189,6 +189,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 IsLocalAddress (const boost::asio::ip::address& addr);
|
||||
bool IsInReservedRange (const boost::asio::ip::address& host);
|
||||
bool IsYggdrasilAddress (const boost::asio::ip::address& addr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue