Poster of Linux kernelThe best gift for a Linux geek
ost::NetworkDeviceInfo

ost::NetworkDeviceInfo

Section: C Library Functions (3) Updated: 16 Feb 2010
Local index Up
 

NAME

ost::NetworkDeviceInfo -

Network device information class.

 

SYNOPSIS


#include <network.h>  

Public Member Functions


NetworkDeviceInfo (const NetworkDeviceInfo &ndi)

~NetworkDeviceInfo ()

const String & name () const
Returns the Name of the network device.
const IPV4Host & address () const
Returns the Address of the network device.
const IPV4Broadcast & broadcast () const
Returns the Broadcast address of the network device.
const IPV4Mask & netmask () const
Returns the Netmask of the network device.
const int mtu () const
Returns the MTU.  

Protected Member Functions


NetworkDeviceInfo (const String &name, const IPV4Host &addr, const IPV4Broadcast &broadcast, const IPV4Mask &netmask, int mtu)
 

Friends


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 <cproch@seculogix.de>

 

Constructor & Destructor Documentation

 

ost::NetworkDeviceInfo::NetworkDeviceInfo (const String & name, const IPV4Host & addr, const IPV4Broadcast & broadcast, const IPV4Mask & netmask, int mtu) [protected]

 

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

 

ost::NetworkDeviceInfo::~NetworkDeviceInfo ()

 

Member Function Documentation

 

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

Returns the Address of the network device.  

const IPV4Broadcast& 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 IPV4Mask& ost::NetworkDeviceInfo::netmask () const [inline]

Returns the Netmask of the network device.  

Friends And Related Function Documentation

 

bool enumNetworkDevices (std::vector< NetworkDeviceInfo > & devs) [friend]

Enumerate all available network devices.

 

Author

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


 

Index

NAME
SYNOPSIS
Public Member Functions
Protected Member Functions
Friends
Detailed Description
Constructor & Destructor Documentation
ost::NetworkDeviceInfo::NetworkDeviceInfo (const String & name, const IPV4Host & addr, const IPV4Broadcast & broadcast, const IPV4Mask & netmask, int mtu) [protected]
ost::NetworkDeviceInfo::NetworkDeviceInfo (const NetworkDeviceInfo & ndi)
ost::NetworkDeviceInfo::~NetworkDeviceInfo ()
Member Function Documentation
const IPV4Host& ost::NetworkDeviceInfo::address () const [inline]
const IPV4Broadcast& ost::NetworkDeviceInfo::broadcast () const [inline]
const int ost::NetworkDeviceInfo::mtu () const [inline]
const String& ost::NetworkDeviceInfo::name () const [inline]
const IPV4Mask& ost::NetworkDeviceInfo::netmask () const [inline]
Friends And Related Function Documentation
bool enumNetworkDevices (std::vector< NetworkDeviceInfo > & devs) [friend]
Author

This document was created by man2html, using the manual pages.
Time: 21:51:51 GMT, April 16, 2011