mikroSDK Reference Manual
ndp_router_adv_misc.h
Go to the documentation of this file.
1
31#ifndef _NDP_ROUTER_ADV_MISC_H
32#define _NDP_ROUTER_ADV_MISC_H
33
34//Dependencies
35#include "core/net.h"
36#include "ipv6/ndp_router_adv.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//Tick counter to handle periodic operations
44extern systime_t ndpRouterAdvTickCounter;
45
46//RA service related functions
47void ndpRouterAdvTick(NdpRouterAdvContext *context);
48void ndpRouterAdvLinkChangeEvent(NdpRouterAdvContext *context);
49
50void ndpProcessRouterSol(NetInterface *interface,
51 const Ipv6PseudoHeader *pseudoHeader, const NetBuffer *buffer,
52 size_t offset, uint8_t hopLimit);
53
54error_t ndpSendRouterAdv(NdpRouterAdvContext *context, uint16_t routerLifetime);
55
56//C++ guard
57#ifdef __cplusplus
58}
59#endif
60
61#endif
error_t
Error codes.
Definition error.h:43
Router advertisement service.
TCP/IP stack core.
uint32_t systime_t
System time.
Definition os_port_none.h:90
Structure describing a buffer that spans multiple chunks.
Definition net_mem.h:89