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 RTOSgeneric mbed Ethernet driverhigh performance NXP LPC1768 specific Ethernet driverMulti-threading support for mbed RTOSBerkeley sockets and integration with the New Socket APIFork of the apps running on top of the New Socket APIScheduling 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.
Diff: include/pico_constants.h
- Revision:
- 149:5f4cb161cec3
- Parent:
- 137:a1c8bfa9d691
- Child:
- 152:a3d286bf94e5
--- a/include/pico_constants.h Tue Mar 11 15:34:51 2014 +0100 +++ b/include/pico_constants.h Wed Apr 09 14:31:41 2014 +0200 @@ -3,9 +3,16 @@ See LICENSE and COPYING for usage. *********************************************************************/ -#ifndef _INCLUDE_PICO_CONST -#define _INCLUDE_PICO_CONST +#ifndef INCLUDE_PICO_CONST +#define INCLUDE_PICO_CONST /* Included from pico_config.h */ + +/** Non-endian dependant constants */ +#define PICO_SIZE_IP4 4 +#define PICO_SIZE_IP6 16 +#define PICO_SIZE_ETH 6 +#define PICO_SIZE_TRANS 8 + /** Endian-dependant constants **/ typedef uint64_t pico_time; extern volatile uint64_t pico_tick; @@ -115,6 +122,9 @@ /*** *** *** *** *** *** *** *** ARP CONFIG *** *** *** *** *** *** *** ***/ + +#include "pico_addressing.h" + /* Maximum amount of accepted ARP requests per burst interval */ #define PICO_ARP_MAX_RATE 1 /* Duration of the burst interval in milliseconds */