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@193:47a953ab571b, 2021-01-24 (annotated)
- Committer:
- andrewboyson
- Date:
- Sun Jan 24 15:09:55 2021 +0000
- Revision:
- 193:47a953ab571b
- Parent:
- 140:9000ea70b220
- Child:
- 195:bd5b123143ca
Fixed ability of name resolution to use IPv6 - the MAC for the DNS server IP address had to be made available.
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 | 74:c3756bfa960e | 11 | extern uint32_t Ar4IndexToIp(int index); |
andrewboyson | 116:60521b29e4c9 | 12 | extern bool Ar4HaveMacForIp(uint32_t ip); |
andrewboyson | 193:47a953ab571b | 13 | extern bool Ar4CheckHaveMacAndFetchIfNot(uint32_t ip); |
andrewboyson | 116:60521b29e4c9 | 14 | |
andrewboyson | 74:c3756bfa960e | 15 | extern void Ar4SendHttp(void); |
andrewboyson | 140:9000ea70b220 | 16 | extern void Ar4SendAjax(void); |
andrewboyson | 48:952dddb74b8b | 17 | |
andrewboyson | 61:aad055f1b0d1 | 18 | extern void Ar4Main(void); |
andrewboyson | 61:aad055f1b0d1 | 19 | extern void Ar4Init(void); |