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

resolve/nr4.h

Committer:
andrewboyson
Date:
2019-09-29
Revision:
160:6a1d1d368f80
Parent:
140:9000ea70b220
Child:
171:f708d6776752

File content as of revision 160:6a1d1d368f80:

#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 Nr4SendAjax(void);

extern void Nr4Main(void);
extern void Nr4Init(void);