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/nr4.h@171:f708d6776752, 2020-12-12 (annotated)
- Committer:
- andrewboyson
- Date:
- Sat Dec 12 20:10:02 2020 +0000
- Revision:
- 171:f708d6776752
- Parent:
- 140:9000ea70b220
Modified NR to accept both IPV6 and IPV4 addresses instead of having two modules with diffrent address lengths. Encapsulated 32but address into lsb 128 bit address
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 61:aad055f1b0d1 | 1 | #include <stdbool.h> |
andrewboyson | 61:aad055f1b0d1 | 2 | |
andrewboyson | 60:1d8c7a1e7483 | 3 | extern bool Nr4Trace; |
andrewboyson | 60:1d8c7a1e7483 | 4 | |
andrewboyson | 60:1d8c7a1e7483 | 5 | extern void Nr4MakeRequestForNameFromIp(uint32_t ip); |
andrewboyson | 60:1d8c7a1e7483 | 6 | extern void Nr4MakeRequestForIpFromName(char* name); |
andrewboyson | 60:1d8c7a1e7483 | 7 | |
andrewboyson | 171:f708d6776752 | 8 | extern void Nr4AddIpRecord(uint32_t ip, char* name, int dnsProtocol); |
andrewboyson | 60:1d8c7a1e7483 | 9 | |
andrewboyson | 60:1d8c7a1e7483 | 10 | extern void Nr4IpToName(uint32_t ip, char* name); |
andrewboyson | 60:1d8c7a1e7483 | 11 | extern void Nr4NameToIp(char* name, uint32_t* pIp); |
andrewboyson | 116:60521b29e4c9 | 12 | extern bool Nr4HaveIpForName(char* name); |
andrewboyson | 116:60521b29e4c9 | 13 | |
andrewboyson | 61:aad055f1b0d1 | 14 | extern void Nr4SendHttp(void); |
andrewboyson | 140:9000ea70b220 | 15 | extern void Nr4SendAjax(void); |
andrewboyson | 60:1d8c7a1e7483 | 16 | |
andrewboyson | 61:aad055f1b0d1 | 17 | extern void Nr4Main(void); |
andrewboyson | 61:aad055f1b0d1 | 18 | extern void Nr4Init(void); |