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@125:8c84daac38ab, 2019-02-22 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Feb 22 11:26:55 2019 +0000
- Revision:
- 125:8c84daac38ab
- Parent:
- 116:60521b29e4c9
- Child:
- 140:9000ea70b220
tidied up ntp data types for calculating ms from clktime.
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 | 116:60521b29e4c9 | 13 | |
andrewboyson | 74:c3756bfa960e | 14 | extern void Ar4SendHttp(void); |
andrewboyson | 48:952dddb74b8b | 15 | |
andrewboyson | 61:aad055f1b0d1 | 16 | extern void Ar4Main(void); |
andrewboyson | 61:aad055f1b0d1 | 17 | extern void Ar4Init(void); |