Free (GPLv2) TCP/IP stack developed by TASS Belgium

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_icmp6.h	Mon Sep 28 14:02:27 2015 +0200
+++ b/modules/pico_icmp6.h	Mon Sep 28 14:14:17 2015 +0200
@@ -111,19 +111,15 @@
         PACKED_UNION_DEF icmp6_err_u {
             PEDANTIC_STRUCT_DEF dest_unreach_s {
                 uint32_t unused;
-                uint8_t data[0];
             } dest_unreach;
             PEDANTIC_STRUCT_DEF pkt_too_big_s {
                 uint32_t mtu;
-                uint8_t data[0];
             } pkt_too_big;
             PEDANTIC_STRUCT_DEF time_exceeded_s {
                 uint32_t unused;
-                uint8_t data[0];
             } time_exceeded;
             PEDANTIC_STRUCT_DEF param_problem_s {
                 uint32_t ptr;
-                uint8_t data[0];
             } param_problem;
         } err;
 
@@ -132,16 +128,13 @@
             PEDANTIC_STRUCT_DEF echo_request_s {
                 uint16_t id;
                 uint16_t seq;
-                uint8_t data[0];
             } echo_request;
             PEDANTIC_STRUCT_DEF echo_reply_s {
                 uint16_t id;
                 uint16_t seq;
-                uint8_t data[0];
             } echo_reply;
             PEDANTIC_STRUCT_DEF router_sol_s {
                 uint32_t unused;
-                uint8_t options[0];
             } router_sol;
             PEDANTIC_STRUCT_DEF router_adv_s {
                 uint8_t hop;
@@ -149,23 +142,19 @@
                 uint16_t life_time;
                 uint32_t reachable_time;
                 uint32_t retrans_time;
-                uint8_t options[0];
             } router_adv;
             PEDANTIC_STRUCT_DEF neigh_sol_s {
                 uint32_t unused;
                 struct pico_ip6 target;
-                uint8_t options[0];
             } neigh_sol;
             PEDANTIC_STRUCT_DEF neigh_adv_s {
                 uint32_t rsor;
                 struct pico_ip6 target;
-                uint8_t options[0];
             } neigh_adv;
             PEDANTIC_STRUCT_DEF redirect_s {
                 uint32_t reserved;
                 struct pico_ip6 target;
                 struct pico_ip6 dest;
-                uint8_t options[0];
             } redirect;
             PEDANTIC_STRUCT_DEF mld_s { 
                 uint16_t max_resp_time;
@@ -218,7 +207,6 @@
     uint8_t len;
     uint16_t res0;
     uint32_t res1;
-    uint8_t data[0];
 };
 
 PACKED_STRUCT_DEF pico_icmp6_opt_rdnss
@@ -227,14 +215,13 @@
     uint8_t len;
     uint16_t res0;
     uint32_t lifetime;
-    struct pico_ip6 addr[];
+    struct pico_ip6 *addr;
 };
 
 PACKED_STRUCT_DEF pico_icmp6_opt_na
 {
     uint8_t type;
     uint8_t len;
-    uint8_t options[0];
 };
 
 struct pico_icmp6_stats