ost_NetworkDeviceInfo(3)

ost_NetworkDeviceInfo3

Network device information class.

Usage

#include <network.h>

Public Member Functions

NetworkDeviceInfo (const NetworkDeviceInfo &ndi)
~NetworkDeviceInfo ()
const String & name () const
Returns the Name of the network device. const InetHostAddress & address () const
Returns the Address of the network device. const BroadcastAddress & broadcast () const
Returns the Broadcast address of the network device. const InetMaskAddress & netmask () const
Returns the Netmask of the network device. const int mtu () const
Returns the MTU.

Protected Member Functions

NetworkDeviceInfo (const String &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const InetMaskAddress &netmask, int mtu)

Friends

__EXPORT bool enumNetworkDevices (std::vector< NetworkDeviceInfo > &devs)
Enumerate all available network devices.

Detailed Description

Network device information class.

This class is used to hold various informations about a TCP/IP network device. Which can be obtained by a call to enumNetworkDevices()

Author

Christian Prochnow [email protected]

Constructor & Destructor Documentation

ost::NetworkDeviceInfo::NetworkDeviceInfo (const String & name, const InetHostAddress & addr, const BroadcastAddress & broadcast, const InetMaskAddress & netmask, int mtu) [protected]

ost::NetworkDeviceInfo::NetworkDeviceInfo (const NetworkDeviceInfo & ndi)

ost::NetworkDeviceInfo::~NetworkDeviceInfo ()

Member Function Documentation

const InetHostAddress& ost::NetworkDeviceInfo::address () const [inline]

Returns the Address of the network device.

const BroadcastAddress& ost::NetworkDeviceInfo::broadcast () const [inline]

Returns the Broadcast address of the network device.

const int ost::NetworkDeviceInfo::mtu () const [inline]

Returns the MTU.

const String& ost::NetworkDeviceInfo::name () const [inline]

Returns the Name of the network device.

const InetMaskAddress& ost::NetworkDeviceInfo::netmask () const [inline]

Returns the Netmask of the network device.

Releases

8 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.

From libcommoncpp2-doc 1.8.1-10 in Debian 11 (Bullseye). Parsed by carta from the page's man source.