Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: ip6/icmp/ndp/ndp.h
- Revision:
- 119:8e1a7805b801
- Parent:
- 93:580fc113d9e9
- Child:
- 172:9bc3c7b2cca1
--- a/ip6/icmp/ndp/ndp.h Sat Jan 26 18:57:27 2019 +0000 +++ b/ip6/icmp/ndp/ndp.h Tue Jan 29 15:07:14 2019 +0000 @@ -4,7 +4,6 @@ extern int NdpHopLimit; extern bool NdpManagedConfiguration; extern bool NdpOtherConfiguration; -extern int NdpLifetime; extern char NdpRouterMac[6]; extern int NdpPrefixLength; extern bool NdpPrefixFlagL; @@ -14,8 +13,12 @@ extern char NdpPrefix[]; extern char NdpDnsServer[]; extern uint32_t NdpDnsLifetime; +extern int NdpMtu; + +extern int NdpGetLease(void); +extern void NdpSetLease(int value); extern uint32_t NdpGetElapsedLife(void); -extern int NdpMtu; +extern bool NdpIsFresh(void); extern int NdpAddOptionSourceMac(char* p, char* pMac); extern int NdpAddOptionTargetMac(char* p, char* pMac); @@ -24,7 +27,3 @@ extern void NdpLogOptionsQuiet (char* pData, int dataLength); extern bool NdpIpNeedsToBeRouted(char* ip); - -extern void NdpResetLife(void); - -extern void NdpMain(void);