4 #ifndef RUDIMENTS_NETWORKINTERFACES_H
5 #define RUDIMENTS_NETWORKINTERFACES_H
7 #include <rudiments/private/networkinterfacesincludes.h>
9 #ifdef RUDIMENTS_NAMESPACE
15 typedef listnode< networkinterface * > networkinterfacelistnode;
16 typedef list< networkinterface *, networkinterfacelistnode >
19 class networkinterfaceprivate;
22 class RUDIMENTS_DLLSPEC networkinterface {
27 sockaddr getAddress();
28 sockaddr getDestinationAddress();
29 sockaddr getBroadcastAddress();
30 sockaddr getNetmask();
31 sockaddr getHardwareAddress();
35 int32_t getMaximumTransmitUnit();
37 int32_t getSlaveDevice();
38 int32_t getForUseByInterfaceData();
40 int32_t getLinkBandwidth();
41 int32_t getQueueLength();
42 const char *getNewName();
44 #include <rudiments/private/networkinterface.h>
47 class RUDIMENTS_DLLSPEC networkinterfaces {
49 static networkinterfacelist *getList();
50 static networkinterface *getInterface(
const char *name);
51 #include <rudiments/private/networkinterfaces.h>
56 #ifdef RUDIMENTS_NAMESPACE