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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ar4.h Source File

ar4.h

00001 #include <stdint.h>
00002 #include <stdbool.h>
00003 
00004 extern bool Ar4Trace;
00005 
00006 extern void Ar4MakeRequestForMacFromIp(uint32_t ip);
00007 
00008 extern int  Ar4AddIpRecord(void (*traceback)(void), char* pMac, uint32_t ip);
00009 
00010 extern void     Ar4IpToMac(uint32_t ip, char* pMac);
00011 extern uint32_t Ar4GetIpFromMac(char* pMac);
00012 extern uint32_t Ar4IndexToIp(int index);
00013 extern bool     Ar4HaveMacForIp(uint32_t ip);
00014 extern bool     Ar4CheckHaveMacAndFetchIfNot(uint32_t ip);
00015 
00016 extern void     Ar4SendHttp(void);
00017 extern void     Ar4SendAjax(void);
00018 
00019 extern void Ar4Main(void);
00020 extern void Ar4Init(void);