old netservices
Fork of NetServices by
Diff: if/eth/EthernetNetIf.h
- Revision:
- 7:4e2468d7d5cb
- Parent:
- 4:966a0265edfc
--- a/if/eth/EthernetNetIf.h Sun Nov 28 00:29:32 2010 +0000 +++ b/if/eth/EthernetNetIf.h Wed Dec 15 18:01:30 2010 +0000 @@ -84,6 +84,9 @@ ///Returns an array containing the hardware address const char* getHwAddr() const; + ///Returns a pointer to the hostname set in the constructor + const char* getHostname() const; + private: Timer m_ethArpTimer; Timer m_dhcpCoarseTimer;