E-MailRelay
Public Attributes | List of all members
GNet::Interfaces::Item Struct Reference

Used by GNet::Interfaces to describe an interface address binding. More...

#include <ginterfaces.h>

+ Collaboration diagram for GNet::Interfaces::Item:

Public Attributes

std::string name
 
std::string altname
 
int ifindex {0}
 
unsigned int address_family {0}
 
bool valid_address {false}
 
Address address
 
bool has_netmask {false}
 
unsigned int netmask_bits {0U}
 
bool up {false}
 
bool loopback {false}
 

Detailed Description

Used by GNet::Interfaces to describe an interface address binding.

Definition at line 50 of file ginterfaces.h.

Constructor & Destructor Documentation

◆ Item()

GNet::Interfaces::Item::Item ( )

Definition at line 143 of file ginterfaces_common.cpp.

Member Data Documentation

◆ address

Address GNet::Interfaces::Item::address

Definition at line 57 of file ginterfaces.h.

◆ address_family

unsigned int GNet::Interfaces::Item::address_family {0}

Definition at line 55 of file ginterfaces.h.

◆ altname

std::string GNet::Interfaces::Item::altname

Definition at line 53 of file ginterfaces.h.

◆ has_netmask

bool GNet::Interfaces::Item::has_netmask {false}

Definition at line 58 of file ginterfaces.h.

◆ ifindex

int GNet::Interfaces::Item::ifindex {0}

Definition at line 54 of file ginterfaces.h.

◆ loopback

bool GNet::Interfaces::Item::loopback {false}

Definition at line 61 of file ginterfaces.h.

◆ name

std::string GNet::Interfaces::Item::name

Definition at line 52 of file ginterfaces.h.

◆ netmask_bits

unsigned int GNet::Interfaces::Item::netmask_bits {0U}

Definition at line 59 of file ginterfaces.h.

◆ up

bool GNet::Interfaces::Item::up {false}

Definition at line 60 of file ginterfaces.h.

◆ valid_address

bool GNet::Interfaces::Item::valid_address {false}

Definition at line 56 of file ginterfaces.h.


The documentation for this struct was generated from the following files: