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
ip6/icmp/ndp/ndp.h@94:e2973a2c488e, 2018-12-05 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Dec 05 18:30:37 2018 +0000
- Revision:
- 94:e2973a2c488e
- Parent:
- 93:580fc113d9e9
- Child:
- 119:8e1a7805b801
Fixed bug - incorrect MSS being sent from a polled sync: expected 1440 but had -60. Traced to buffer datalength in EthPollForPacketToSend being set to zero instead of being calculated from the buffer length - headersize.
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| andrewboyson | 61:aad055f1b0d1 | 1 | #include <stdint.h> | 
| andrewboyson | 61:aad055f1b0d1 | 2 | #include <stdbool.h> | 
| andrewboyson | 61:aad055f1b0d1 | 3 | |
| andrewboyson | 46:40d33e9037e4 | 4 | extern int NdpHopLimit; | 
| andrewboyson | 47:73af5c0b0dc2 | 5 | extern bool NdpManagedConfiguration; | 
| andrewboyson | 46:40d33e9037e4 | 6 | extern bool NdpOtherConfiguration; | 
| andrewboyson | 46:40d33e9037e4 | 7 | extern int NdpLifetime; | 
| andrewboyson | 46:40d33e9037e4 | 8 | extern char NdpRouterMac[6]; | 
| andrewboyson | 46:40d33e9037e4 | 9 | extern int NdpPrefixLength; | 
| andrewboyson | 53:77f8a49adf89 | 10 | extern bool NdpPrefixFlagL; | 
| andrewboyson | 53:77f8a49adf89 | 11 | extern bool NdpPrefixFlagA; | 
| andrewboyson | 46:40d33e9037e4 | 12 | extern uint32_t NdpPrefixValidLifetime; | 
| andrewboyson | 46:40d33e9037e4 | 13 | extern uint32_t NdpPrefixPreferredLifetime; | 
| andrewboyson | 46:40d33e9037e4 | 14 | extern char NdpPrefix[]; | 
| andrewboyson | 46:40d33e9037e4 | 15 | extern char NdpDnsServer[]; | 
| andrewboyson | 46:40d33e9037e4 | 16 | extern uint32_t NdpDnsLifetime; | 
| andrewboyson | 93:580fc113d9e9 | 17 | extern uint32_t NdpGetElapsedLife(void); | 
| andrewboyson | 46:40d33e9037e4 | 18 | extern int NdpMtu; | 
| andrewboyson | 46:40d33e9037e4 | 19 | |
| andrewboyson | 46:40d33e9037e4 | 20 | extern int NdpAddOptionSourceMac(char* p, char* pMac); | 
| andrewboyson | 47:73af5c0b0dc2 | 21 | extern int NdpAddOptionTargetMac(char* p, char* pMac); | 
| andrewboyson | 47:73af5c0b0dc2 | 22 | extern void NdpDecodeOptions (char* pData, int dataLength, char* srcMac, char* dstMac); | 
| andrewboyson | 47:73af5c0b0dc2 | 23 | extern void NdpLogOptionsVerbose(char* pData, int dataLength); | 
| andrewboyson | 47:73af5c0b0dc2 | 24 | extern void NdpLogOptionsQuiet (char* pData, int dataLength); | 
| andrewboyson | 46:40d33e9037e4 | 25 | |
| andrewboyson | 46:40d33e9037e4 | 26 | extern bool NdpIpNeedsToBeRouted(char* ip); | 
| andrewboyson | 46:40d33e9037e4 | 27 | |
| andrewboyson | 93:580fc113d9e9 | 28 | extern void NdpResetLife(void); | 
| andrewboyson | 93:580fc113d9e9 | 29 | |
| andrewboyson | 61:aad055f1b0d1 | 30 | extern void NdpMain(void); |