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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pico_ipv6_nd.h Source File

pico_ipv6_nd.h

00001 /*********************************************************************
00002    PicoTCP. Copyright (c) 2012-2015 Altran Intelligent Systems. Some rights reserved.
00003    See LICENSE and COPYING for usage.
00004 
00005  *********************************************************************/
00006 #ifndef _INCLUDE_PICO_ND
00007 #define _INCLUDE_PICO_ND
00008 #include "pico_frame.h"
00009 
00010 /* RFC constants */
00011 #define PICO_ND_REACHABLE_TIME         30000 /* msec */
00012 #define PICO_ND_RETRANS_TIMER          1000 /* msec */
00013 
00014 struct pico_nd_hostvars {
00015     uint8_t routing;
00016     uint8_t hoplimit;
00017     pico_time basetime;
00018     pico_time reachabletime;
00019     pico_time retranstime;
00020 };
00021 
00022 void pico_ipv6_nd_init(void);
00023 struct pico_eth *pico_ipv6_get_neighbor(struct pico_frame *f);
00024 void pico_ipv6_nd_postpone(struct pico_frame *f);
00025 int pico_ipv6_nd_recv(struct pico_frame *f);
00026 #endif