![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
Go to the source code of this file.
Functions | |
| std::optional< CNetAddr > | QueryDefaultGateway (Network network) |
Query the OS for the default gateway for network. | |
| std::vector< CNetAddr > | GetLocalAddresses () |
| Return all local non-loopback IPv4 and IPv6 network addresses. | |
| std::vector< CNetAddr > GetLocalAddresses | ( | ) |
Query the OS for the default gateway for network.
This only makes sense for NET_IPV4 and NET_IPV6. Returns std::nullopt if it cannot be found, or there is no support for this OS.
Definition at line 298 of file netif.cpp.