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.
modules/pico_ipv6_nd.h@149:5f4cb161cec3, 2014-04-09 (annotated)
- Committer:
- tass picotcp@tass.be
- Date:
- Wed Apr 09 14:31:41 2014 +0200
- Revision:
- 149:5f4cb161cec3
- Child:
- 152:a3d286bf94e5
Update from git masterbranch
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tass picotcp@tass.be | 149:5f4cb161cec3 | 1 | /********************************************************************* |
tass picotcp@tass.be | 149:5f4cb161cec3 | 2 | PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved. |
tass picotcp@tass.be | 149:5f4cb161cec3 | 3 | See LICENSE and COPYING for usage. |
tass picotcp@tass.be | 149:5f4cb161cec3 | 4 | |
tass picotcp@tass.be | 149:5f4cb161cec3 | 5 | *********************************************************************/ |
tass picotcp@tass.be | 149:5f4cb161cec3 | 6 | #ifndef _INCLUDE_PICO_ND |
tass picotcp@tass.be | 149:5f4cb161cec3 | 7 | #define _INCLUDE_PICO_ND |
tass picotcp@tass.be | 149:5f4cb161cec3 | 8 | #include "pico_frame.h" |
tass picotcp@tass.be | 149:5f4cb161cec3 | 9 | |
tass picotcp@tass.be | 149:5f4cb161cec3 | 10 | /* RFC constants */ |
tass picotcp@tass.be | 149:5f4cb161cec3 | 11 | #define PICO_ND_REACHABLE_TIME 30000 /* msec */ |
tass picotcp@tass.be | 149:5f4cb161cec3 | 12 | #define PICO_ND_RETRANS_TIMER 1000 /* msec */ |
tass picotcp@tass.be | 149:5f4cb161cec3 | 13 | |
tass picotcp@tass.be | 149:5f4cb161cec3 | 14 | struct pico_nd_hostvars { |
tass picotcp@tass.be | 149:5f4cb161cec3 | 15 | uint32_t mtu; |
tass picotcp@tass.be | 149:5f4cb161cec3 | 16 | uint8_t hoplimit; |
tass picotcp@tass.be | 149:5f4cb161cec3 | 17 | pico_time basetime; |
tass picotcp@tass.be | 149:5f4cb161cec3 | 18 | pico_time reachabletime; |
tass picotcp@tass.be | 149:5f4cb161cec3 | 19 | pico_time retranstime; |
tass picotcp@tass.be | 149:5f4cb161cec3 | 20 | }; |
tass picotcp@tass.be | 149:5f4cb161cec3 | 21 | |
tass picotcp@tass.be | 149:5f4cb161cec3 | 22 | void pico_ipv6_nd_init(void); |
tass picotcp@tass.be | 149:5f4cb161cec3 | 23 | struct pico_eth *pico_nd_get(struct pico_frame *f); |
tass picotcp@tass.be | 149:5f4cb161cec3 | 24 | int pico_nd_neigh_sol_recv(struct pico_frame *f); |
tass picotcp@tass.be | 149:5f4cb161cec3 | 25 | int pico_nd_neigh_adv_recv(struct pico_frame *f); |
tass picotcp@tass.be | 149:5f4cb161cec3 | 26 | int pico_nd_router_sol_recv(struct pico_frame *f); |
tass picotcp@tass.be | 149:5f4cb161cec3 | 27 | int pico_nd_router_adv_recv(struct pico_frame *f); |
tass picotcp@tass.be | 149:5f4cb161cec3 | 28 | int pico_nd_redirect_recv(struct pico_frame *f); |
tass picotcp@tass.be | 149:5f4cb161cec3 | 29 | #endif |