Struct InterfaceAddress


#include <src/uvw/util.h>

struct InterfaceAddress


Interface address.


Lines 349-355 in src/uvw/util.h.

struct InterfaceAddress {
    std::string name; /*!< The name of the interface (as an example _eth0_). */
    char physical[6]; /*!< The physical address. */
    bool internal; /*!< True if it is an internal interface (as an example _loopback_), false otherwise. */
    Addr address; /*!< The address of the given interface. */
    Addr netmask; /*!< The netmask of the given interface. */

Add Discussion as Guest

Log in