ost::NetworkDeviceInfo(3)

๐Ÿ“ฆ version 1.8.1, in ubuntu jammy

๐Ÿ’– 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. ๐ŸŽญ


__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