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@116:60521b29e4c9, 2019-01-25 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Jan 25 17:37:51 2019 +0000
- Revision:
- 116:60521b29e4c9
- Parent:
- eth/nr4.h@61:aad055f1b0d1
- Child:
- 140:9000ea70b220
Added backoff delay to DHCP
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 | 60:1d8c7a1e7483 | 8 | extern void Nr4AddIpRecord(uint32_t ip, char* name, int protocol); |
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 | 60:1d8c7a1e7483 | 15 | |
andrewboyson | 61:aad055f1b0d1 | 16 | extern void Nr4Main(void); |
andrewboyson | 61:aad055f1b0d1 | 17 | extern void Nr4Init(void); |