Rewrite from scratch a TCP/IP stack for mbed. So far the following parts are usable: Drivers: - EMAC driver (from CMSIS 2.0) Protocols: - Ethernet protocol - ARP over ethernet for IPv4 - IPv4 over Ethernet - ICMPv4 over IPv4 - UDPv4 over IPv4 APIs: - Sockets for UDPv4 The structure of this stack is designed to be very modular. Each protocol can register one or more protocol to handle its payload, and in each protocol, an API can be hooked (like Sockets for example). This is an early release.

Revision:
5:3cd83fcb1467
Parent:
1:f4040665bc61
--- a/mbedNet.h	Sun Jun 12 20:24:23 2011 +0000
+++ b/mbedNet.h	Mon Jun 13 13:13:59 2011 +0000
@@ -3,13 +3,13 @@
  * $Author: benoit $
  * $Date: 2011-06-11 16:53:08 +0200 (sam., 11 juin 2011) $
  * $Rev: 29 $
- * 
- * 
- * 
- * 
- * 
+ *
+ *
+ *
+ *
+ *
  */
- 
+
 #ifndef __MBEDNET_H__
 #define    __MBEDNET_H__
 
@@ -32,7 +32,7 @@
 #define        NET_PERIODIC_FUNCTION_MAX_COUNT    5            /* Maximum number of timers */
 #define        NETIF_MAX_COUNT                    2            /* Maximum number of registrable interfaces  */
 #define        ETHERNET_PROTOCOL_MAX_COUNT        3            /* Maximum number of registrable protocols over ethernet */
-#define        IPV4_PROTOCOL_MAX_COUNT            4            /* Maximum number of registrable protocols over IPv4 */        
+#define        IPV4_PROTOCOL_MAX_COUNT            4            /* Maximum number of registrable protocols over IPv4 */
 #define        ARP_CACHE_MAX_ENTRIES            4            /* Maximum number of entries in the ARP cache */
 #define        ARP_FUNCTION_PERIOD                10            /* Period in seconds of the ARP periodic function */
 #define        ARP_MAX_ENTRY_AGE                60            /* Max age of a dynamic entry in seconds */