Daniele Lacamera / PicoTCP Featured

Dependents:   lpc1768-picotcp-demo ZeroMQ_PicoTCP_Publisher_demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test ... more

PicoTCP. Copyright (c) 2013 TASS Belgium NV.

Released under the GNU General Public License, version 2.

Different licensing models may exist, at the sole discretion of the Copyright holders.

Official homepage: http://www.picotcp.com

Bug tracker: https://github.com/tass-belgium/picotcp/issues

Development steps:

  • initial integration with mbed RTOS
  • generic mbed Ethernet driver
  • high performance NXP LPC1768 specific Ethernet driver
  • Multi-threading support for mbed RTOS
  • Berkeley sockets and integration with the New Socket API
  • Fork of the apps running on top of the New Socket API
  • Scheduling optimizations
  • Debugging/benchmarking/testing

Demo application (measuring TCP sender performance):

Import programlpc1768-picotcp-demo

A PicoTCP demo app testing the ethernet throughput on the lpc1768 mbed board.

Revision:
154:6c0e92a80c4a
Parent:
152:a3d286bf94e5
--- a/modules/pico_ipv6.h	Mon Sep 28 14:02:27 2015 +0200
+++ b/modules/pico_ipv6.h	Mon Sep 28 14:14:17 2015 +0200
@@ -40,7 +40,6 @@
     uint8_t hop;
     struct pico_ip6 src;
     struct pico_ip6 dst;
-    uint8_t extensions[0];
 };
 
 PACKED_STRUCT_DEF pico_ipv6_pseudo_hdr
@@ -77,7 +76,6 @@
 struct pico_ipv6_hbhoption {
     uint8_t type;
     uint8_t len;
-    uint8_t options[0];
 };
 #ifdef PICO_SUPPORT_MCAST
 struct pico_ipv6_mcast_group {
@@ -90,7 +88,6 @@
 struct pico_ipv6_destoption {
     uint8_t type;
     uint8_t len;
-    uint8_t options[0];
 };
 
 struct pico_ipv6_route
@@ -108,12 +105,10 @@
     PACKED_UNION_DEF ipv6_ext_u {
         PEDANTIC_STRUCT_DEF hopbyhop_s {
             uint8_t len;
-            uint8_t options[0];
         } hopbyhop;
 
         PEDANTIC_STRUCT_DEF destopt_s {
             uint8_t len;
-            uint8_t options[0];
         } destopt;
 
         PEDANTIC_STRUCT_DEF routing_s {