#pragma once #include #include #include "ip_range.hpp" namespace llarp::net { /// info about a network interface lokinet does not own struct InterfaceInfo { /// human readable name of interface std::string name; /// interface's index int index; /// the addresses owned by this interface std::vector addrs; /// a gateway we can use if it exists std::optional gateway; }; } // namespace llarp::net