27#ifndef NIDAS_UTIL_INET4NETWORKINTERFACE_H
28#define NIDAS_UTIL_INET4NETWORKINTERFACE_H
33namespace nidas {
namespace util {
Support for IP version 4 host address.
Definition Inet4Address.h:46
Definition Inet4NetworkInterface.h:36
int getMTU() const
The mtu of the interface.
Definition Inet4NetworkInterface.h:72
Inet4Address _baddr
Definition Inet4NetworkInterface.h:98
Inet4Address getNetMask() const
The IPV4 network mask of the interface.
Definition Inet4NetworkInterface.h:67
int _mtu
Definition Inet4NetworkInterface.h:100
Inet4Address getAddress() const
The IPV4 address of the interface.
Definition Inet4NetworkInterface.h:57
Inet4Address getBroadcastAddress() const
The IPV4 broadcast address of the interface.
Definition Inet4NetworkInterface.h:62
int getIndex() const
The index of the interface.
Definition Inet4NetworkInterface.h:52
std::string _name
Definition Inet4NetworkInterface.h:95
const std::string & getName() const
The name of the interface: like "lo", "eth0", etc.
Definition Inet4NetworkInterface.h:47
Inet4NetworkInterface()
Definition Inet4NetworkInterface.h:38
short _flags
Definition Inet4NetworkInterface.h:101
Inet4NetworkInterface(const std::string &name, Inet4Address addr, Inet4Address brdcastAddr, Inet4Address netmask, int mtu, int index, short flags)
Definition Inet4NetworkInterface.h:41
static Inet4NetworkInterface getInterface(const Inet4Address &addr)
Return an Inet4NetworkInterface corresponding to the given address.
Definition Inet4NetworkInterface.cc:37
Inet4Address _netmask
Definition Inet4NetworkInterface.h:99
short getFlags() const
The interface flags.
Definition Inet4NetworkInterface.h:79
Inet4Address _addr
Definition Inet4NetworkInterface.h:97
int _index
Definition Inet4NetworkInterface.h:96
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31