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
eth/nr4.h@61:aad055f1b0d1, 2018-01-11 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Jan 11 17:38:21 2018 +0000
- Revision:
- 61:aad055f1b0d1
- Parent:
- 60:1d8c7a1e7483
Removed dependence on Mbed OS
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 | 61:aad055f1b0d1 | 12 | extern void Nr4SendHttp(void); |
andrewboyson | 60:1d8c7a1e7483 | 13 | |
andrewboyson | 61:aad055f1b0d1 | 14 | extern void Nr4Main(void); |
andrewboyson | 61:aad055f1b0d1 | 15 | extern void Nr4Init(void); |