mikroSDK Reference Manual
ndp_cache.h
Go to the documentation of this file.
1
31#ifndef _NDP_CACHE_H
32#define _NDP_CACHE_H
33
34//Dependencies
35#include "core/net.h"
36#include "ipv6/ndp.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//NDP related functions
44void ndpChangeState(NdpNeighborCacheEntry *entry, NdpState newState);
45
46NdpNeighborCacheEntry *ndpCreateNeighborCacheEntry(NetInterface *interface);
47
48NdpNeighborCacheEntry *ndpFindNeighborCacheEntry(NetInterface *interface,
49 const Ipv6Addr *ipAddr);
50
51void ndpUpdateNeighborCache(NetInterface *interface);
52void ndpFlushNeighborCache(NetInterface *interface);
53
54uint_t ndpSendQueuedPackets(NetInterface *interface, NdpNeighborCacheEntry *entry);
55void ndpFlushQueuedPackets(NetInterface *interface, NdpNeighborCacheEntry *entry);
56
57NdpDestCacheEntry *ndpCreateDestCacheEntry(NetInterface *interface);
58
59NdpDestCacheEntry *ndpFindDestCacheEntry(NetInterface *interface,
60 const Ipv6Addr *destAddr);
61
62void ndpFlushDestCache(NetInterface *interface);
63
64//C++ guard
65#ifdef __cplusplus
66}
67#endif
68
69#endif
NDP (Neighbor Discovery Protocol)
NdpState
Neighbor cache entry states.
Definition ndp.h:248
TCP/IP stack core.
Destination cache entry.
Definition ndp.h:563
Neighbor cache entry.
Definition ndp.h:545