Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Fri Jul 19 17:48:06 2019 +0000
Revision:
151:bde6f7da1755
Parent:
119:8e1a7805b801
Child:
172:9bc3c7b2cca1
Removed private key and certificate from semihost storage as found to be unreliable (though secure) and moved it into flash storage (reliable, simple, but visible on mbed.

Who changed what in which revision?

UserRevisionLine numberNew 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 char NdpRouterMac[6];
andrewboyson 46:40d33e9037e4 8 extern int NdpPrefixLength;
andrewboyson 53:77f8a49adf89 9 extern bool NdpPrefixFlagL;
andrewboyson 53:77f8a49adf89 10 extern bool NdpPrefixFlagA;
andrewboyson 46:40d33e9037e4 11 extern uint32_t NdpPrefixValidLifetime;
andrewboyson 46:40d33e9037e4 12 extern uint32_t NdpPrefixPreferredLifetime;
andrewboyson 46:40d33e9037e4 13 extern char NdpPrefix[];
andrewboyson 46:40d33e9037e4 14 extern char NdpDnsServer[];
andrewboyson 46:40d33e9037e4 15 extern uint32_t NdpDnsLifetime;
andrewboyson 119:8e1a7805b801 16 extern int NdpMtu;
andrewboyson 119:8e1a7805b801 17
andrewboyson 119:8e1a7805b801 18 extern int NdpGetLease(void);
andrewboyson 119:8e1a7805b801 19 extern void NdpSetLease(int value);
andrewboyson 93:580fc113d9e9 20 extern uint32_t NdpGetElapsedLife(void);
andrewboyson 119:8e1a7805b801 21 extern bool NdpIsFresh(void);
andrewboyson 46:40d33e9037e4 22
andrewboyson 46:40d33e9037e4 23 extern int NdpAddOptionSourceMac(char* p, char* pMac);
andrewboyson 47:73af5c0b0dc2 24 extern int NdpAddOptionTargetMac(char* p, char* pMac);
andrewboyson 47:73af5c0b0dc2 25 extern void NdpDecodeOptions (char* pData, int dataLength, char* srcMac, char* dstMac);
andrewboyson 47:73af5c0b0dc2 26 extern void NdpLogOptionsVerbose(char* pData, int dataLength);
andrewboyson 47:73af5c0b0dc2 27 extern void NdpLogOptionsQuiet (char* pData, int dataLength);
andrewboyson 46:40d33e9037e4 28
andrewboyson 46:40d33e9037e4 29 extern bool NdpIpNeedsToBeRouted(char* ip);