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@200:5acbc41bf469, 2021-05-20 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu May 20 14:32:52 2021 +0000
- Revision:
- 200:5acbc41bf469
- Parent:
- 195:bd5b123143ca
Increased number of arp entries from 20 to 30 to accommodate the number of WIZ devices plus a few incoming port 80 calls from the internet.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 61:aad055f1b0d1 | 1 | #include <stdint.h> |
andrewboyson | 61:aad055f1b0d1 | 2 | #include <stdbool.h> |
andrewboyson | 61:aad055f1b0d1 | 3 | |
andrewboyson | 48:952dddb74b8b | 4 | extern bool Ar4Trace; |
andrewboyson | 48:952dddb74b8b | 5 | |
andrewboyson | 48:952dddb74b8b | 6 | extern void Ar4MakeRequestForMacFromIp(uint32_t ip); |
andrewboyson | 48:952dddb74b8b | 7 | |
andrewboyson | 74:c3756bfa960e | 8 | extern int Ar4AddIpRecord(void (*traceback)(void), char* pMac, uint32_t ip); |
andrewboyson | 48:952dddb74b8b | 9 | |
andrewboyson | 74:c3756bfa960e | 10 | extern void Ar4IpToMac(uint32_t ip, char* pMac); |
andrewboyson | 195:bd5b123143ca | 11 | extern uint32_t Ar4GetIpFromMac(char* pMac); |
andrewboyson | 74:c3756bfa960e | 12 | extern uint32_t Ar4IndexToIp(int index); |
andrewboyson | 116:60521b29e4c9 | 13 | extern bool Ar4HaveMacForIp(uint32_t ip); |
andrewboyson | 193:47a953ab571b | 14 | extern bool Ar4CheckHaveMacAndFetchIfNot(uint32_t ip); |
andrewboyson | 116:60521b29e4c9 | 15 | |
andrewboyson | 74:c3756bfa960e | 16 | extern void Ar4SendHttp(void); |
andrewboyson | 140:9000ea70b220 | 17 | extern void Ar4SendAjax(void); |
andrewboyson | 48:952dddb74b8b | 18 | |
andrewboyson | 61:aad055f1b0d1 | 19 | extern void Ar4Main(void); |
andrewboyson | 61:aad055f1b0d1 | 20 | extern void Ar4Init(void); |