A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: resolve/nr4.h
- Revision:
- 116:60521b29e4c9
- Parent:
- 61:aad055f1b0d1
- Child:
- 140:9000ea70b220
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/resolve/nr4.h Fri Jan 25 17:37:51 2019 +0000 @@ -0,0 +1,17 @@ +#include <stdbool.h> + +extern bool Nr4Trace; + +extern void Nr4MakeRequestForNameFromIp(uint32_t ip); +extern void Nr4MakeRequestForIpFromName(char* name); + +extern void Nr4AddIpRecord(uint32_t ip, char* name, int protocol); + +extern void Nr4IpToName(uint32_t ip, char* name); +extern void Nr4NameToIp(char* name, uint32_t* pIp); +extern bool Nr4HaveIpForName(char* name); + +extern void Nr4SendHttp(void); + +extern void Nr4Main(void); +extern void Nr4Init(void);