logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ost::NetworkDeviceInfo - Network device information class.

Author

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

GNU CommonC++                                    Sun Dec 27 2020                       ost::NetworkDeviceInfo(3)

Constructor & Destructor Documentation

ost::NetworkDeviceInfo::NetworkDeviceInfo(constString&name,constInetHostAddress&addr,constBroadcastAddress&broadcast,constInetMaskAddress&netmask,intmtu)[protected]ost::NetworkDeviceInfo::NetworkDeviceInfo(constNetworkDeviceInfo&ndi)ost::NetworkDeviceInfo::~NetworkDeviceInfo()

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

Member Function Documentation

constInetHostAddress&ost::NetworkDeviceInfo::address()const[inline]
       Returns the Address of the network device.

   constBroadcastAddress&ost::NetworkDeviceInfo::broadcast()const[inline]
       Returns the Broadcast address of the network device.

   constintost::NetworkDeviceInfo::mtu()const[inline]
       Returns the MTU.

   constString&ost::NetworkDeviceInfo::name()const[inline]
       Returns the Name of the network device.

   constInetMaskAddress&ost::NetworkDeviceInfo::netmask()const[inline]
       Returns the Netmask of the network device.

Name

       ost::NetworkDeviceInfo - Network device information class.

Synopsis

       #include <network.h>

   PublicMemberFunctionsNetworkDeviceInfo (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.

   ProtectedMemberFunctionsNetworkDeviceInfo (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.

See Also