Diff: LPC1768/if/net/netif.h
- Revision:
- 3:e02ec42cf9c8
- Parent:
- 0:0f5a52711275
--- a/LPC1768/if/net/netif.h Thu Jul 22 11:31:59 2010 +0000 +++ b/LPC1768/if/net/netif.h Fri Aug 06 10:42:05 2010 +0000 @@ -24,10 +24,15 @@ #ifndef NETIF_H #define NETIF_H -#include "ipaddr.h" +#include "core/ipaddr.h" +/* #include "nettcpsocket.h" #include "netudpsocket.h" #include "netdnsrequest.h" +*/ +class NetTcpSocket; +class NetUdpSocket; +class NetDnsRequest; #if 0 enum NetifEvent @@ -48,6 +53,8 @@ virtual void poll() = 0; virtual NetDnsRequest* dnsRequest(const char* hostname) = 0; //Create a new NetDnsRequest object virtual NetDnsRequest* dnsRequest(Host* pHost) = 0; //Create a new NetDnsRequest object + + //!Returns the IP of the interface once it's connected IpAddr getIp() const; protected: