ost::NetworkDeviceInfo(3)
๐ ost::NetworkDeviceInfo โ like, the Network Device Info class, bestie ๐
okay so this is a page from the Library Functions Manual, and it's all about ost::NetworkDeviceInfo. it's giving "tell me everything about your network card" energy and honestly? we're obsessed. ๐ฆ
โจ NAME โจ
ost::NetworkDeviceInfo โ Network device information class. literally what it says on the tin, no cap. ๐
๐ธ SYNOPSIS ๐ธ
#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. ๐
so basically this class is the little info-holder for all the deets about a TCP/IP network device. and the way you get one? you call enumNetworkDevices(). that's the plug. ๐ฅ
๐ Author
Christian Prochnow cproch@seculogix.de
๐ 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. ๐ญ
๐ซ Friends And Related Function Documentation ๐ซ
__EXPORT bool enumNetworkDevices (std::vector< NetworkDeviceInfo > & devs) [friend]
Enumerate all available network devices. this is the main character function btw, it's the one that hands you the whole squad of devices. ๐
๐ธ Author ๐ธ
Generated automatically by Doxygen for GNU CommonC++ from the source code. (yes bestie, a robot wrote this, and it ate. ๐)
that's the whole page, you're fully caught up, go forth and enumerate some network devices fr fr ๐
okay bye ily, this page was brought to you by GNU CommonC++, dated Sun Dec 27 2020 โ mwah, periodt. ๐ โจ
๐ฆ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms