Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Thu Jan 11 17:38:21 2018 +0000
Revision:
61:aad055f1b0d1
Parent:
53:77f8a49adf89
Child:
93:580fc113d9e9
Removed dependence on Mbed OS

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 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 46:40d33e9037e4 17 extern uint32_t NdpElapsedTime;
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 61:aad055f1b0d1 28 extern void NdpMain(void);