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/nr.h@200:5acbc41bf469, 2021-05-20 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu May 20 14:32:52 2021 +0000
- Revision:
- 200:5acbc41bf469
- Parent:
- 193:47a953ab571b
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 | 172:9bc3c7b2cca1 | 1 | #include <stdint.h> |
andrewboyson | 172:9bc3c7b2cca1 | 2 | #include <stdbool.h> |
andrewboyson | 172:9bc3c7b2cca1 | 3 | |
andrewboyson | 172:9bc3c7b2cca1 | 4 | extern bool Nr4Trace; //Spare |
andrewboyson | 172:9bc3c7b2cca1 | 5 | extern bool NrTrace; |
andrewboyson | 172:9bc3c7b2cca1 | 6 | |
andrewboyson | 193:47a953ab571b | 7 | #define NR_NAME_MAX_LENGTH 40 |
andrewboyson | 182:ff48c6ea91c1 | 8 | |
andrewboyson | 172:9bc3c7b2cca1 | 9 | extern void NrMakeRequestForNameFromAddress6(char* address6); |
andrewboyson | 172:9bc3c7b2cca1 | 10 | extern void NrMakeRequestForNameFromAddress4(uint32_t address4); |
andrewboyson | 172:9bc3c7b2cca1 | 11 | extern void NrMakeRequestForAddress6FromName(char* name); |
andrewboyson | 172:9bc3c7b2cca1 | 12 | extern void NrMakeRequestForAddress4FromName(char* name); |
andrewboyson | 172:9bc3c7b2cca1 | 13 | |
andrewboyson | 172:9bc3c7b2cca1 | 14 | extern void NrAddAddress6(char* address, char* name, int dnsProtocol); |
andrewboyson | 172:9bc3c7b2cca1 | 15 | extern void NrAddAddress4(uint32_t address, char* name, int dnsProtocol); |
andrewboyson | 172:9bc3c7b2cca1 | 16 | |
andrewboyson | 172:9bc3c7b2cca1 | 17 | extern void NrAddress6ToName(char* address6, char* name); |
andrewboyson | 172:9bc3c7b2cca1 | 18 | extern void NrAddress4ToName(uint32_t address4, char* name); |
andrewboyson | 172:9bc3c7b2cca1 | 19 | extern void NrNameToAddress6(char* name, char* address6); |
andrewboyson | 172:9bc3c7b2cca1 | 20 | extern void NrNameToAddress4(char* name, uint32_t* pAddress4); |
andrewboyson | 172:9bc3c7b2cca1 | 21 | |
andrewboyson | 172:9bc3c7b2cca1 | 22 | extern void NrSendAjax(void); |
andrewboyson | 172:9bc3c7b2cca1 | 23 | |
andrewboyson | 172:9bc3c7b2cca1 | 24 | extern void NrMain(void); |
andrewboyson | 172:9bc3c7b2cca1 | 25 | extern void NrInit(void); |