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/ar6.h

Committer:
andrewboyson
Date:
2021-05-20
Revision:
200:5acbc41bf469
Parent:
193:47a953ab571b

File content as of revision 200:5acbc41bf469:

#include <stdbool.h>

extern bool Ar6Trace;

extern void Ar6MakeRequestForMacFromIp(char* ip);

extern int  Ar6AddIpRecord(void (*traceback)(void), char* pMac, char* ip);

extern void Ar6IpToMac(char* ip, char* pMac);
extern void Ar6IndexToIp(int index, char* pIp);
extern bool Ar6HaveMacForIp(char* ip);
extern bool Ar6CheckHaveMacAndFetchIfNot(char* ip);

extern void Ar6SendHttp(void);
extern void Ar6SendAjax(void);

extern void Ar6Main(void);
extern void Ar6Init(void);