4 #ifndef RUDIMENTS_NETWORKINTERFACES_H
5 #define RUDIMENTS_NETWORKINTERFACES_H
7 #include <rudiments/private/networkinterfacesincludes.h>
11 typedef listnode< networkinterface * > networkinterfacelistnode;
12 typedef list< networkinterface *, networkinterfacelistnode >
15 class networkinterfaceprivate;
18 class RUDIMENTS_DLLSPEC networkinterface {
23 sockaddr getAddress();
24 sockaddr getDestinationAddress();
25 sockaddr getBroadcastAddress();
26 sockaddr getNetmask();
27 sockaddr getHardwareAddress();
31 int32_t getMaximumTransmitUnit();
33 int32_t getSlaveDevice();
34 int32_t getForUseByInterfaceData();
36 int32_t getLinkBandwidth();
37 int32_t getQueueLength();
38 const char *getNewName();
40 #include <rudiments/private/networkinterface.h>
43 class RUDIMENTS_DLLSPEC networkinterfaces {
45 static networkinterfacelist *getList();
46 static networkinterface *getInterface(
const char *name);
47 #include <rudiments/private/networkinterfaces.h>