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

Committer:
andrewboyson
Date:
2020-04-02
Revision:
167:3ba4e3c49631
Parent:
140:9000ea70b220
Child:
193:47a953ab571b

File content as of revision 167:3ba4e3c49631:

#include <stdint.h>
#include <stdbool.h>

extern bool Ar4Trace;

extern void Ar4MakeRequestForMacFromIp(uint32_t ip);

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

extern void     Ar4IpToMac(uint32_t ip, char* pMac);
extern uint32_t Ar4IndexToIp(int index);
extern bool     Ar4HaveMacForIp(uint32_t ip);

extern void     Ar4SendHttp(void);
extern void     Ar4SendAjax(void);

extern void Ar4Main(void);
extern void Ar4Init(void);