EtcPal
HEAD (unstable)
ETC Platform Abstraction Layer (EtcPal)
|
View other versions:
|
C++ wrapper and utilities for etcpal/netint.h.
Go to the source code of this file.
Functions | |
etcpal::Expected< std::vector< etcpal::NetintInfo > > | GetInterfaces () noexcept |
Get a list of network interfaces on the system. More... | |
etcpal::Expected< std::vector< etcpal::NetintInfo > > | GetInterfacesForIndex (NetintIndex index) noexcept |
Get a list of network interfaces that have the index specified. More... | |
etcpal::Expected< etcpal::NetintInfo > | GetInterfaceWithIp (const IpAddr &ip) noexcept |
Get the network interface that has the specified IP address. More... | |
etcpal::Expected< NetintIndex > | GetDefaultInterface (etcpal::IpAddrType type) noexcept |
Get information about the default network interface. More... | |
etcpal::Expected< NetintIndex > | GetInterfaceForDest (const etcpal::IpAddr &dest) noexcept |
Get the network interface that the system will choose when routing an IP packet to the specified destination. More... | |
etcpal::Error | RefreshInterfaces () noexcept |
Refresh the list of network interfaces. More... | |
bool | IsUp (NetintIndex index) noexcept |
Determine whether a network interface is currently up and running. More... | |