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

Committer:
andrewboyson
Date:
Thu May 20 14:32:52 2021 +0000
Revision:
200:5acbc41bf469
Parent:
187:122fc1996c86
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?

UserRevisionLine numberNew contents of line
andrewboyson 187:122fc1996c86 1 extern int Ip4AddrToString (const uint32_t ip, int size, char* text);
andrewboyson 187:122fc1996c86 2 extern int Ip4AddrLog (const uint32_t ip);
andrewboyson 187:122fc1996c86 3 extern int Ip4AddrHttp (const uint32_t ip);
andrewboyson 187:122fc1996c86 4 extern uint32_t Ip4AddrParse (const char* text);
andrewboyson 49:1a6336f2b3f9 5
andrewboyson 187:122fc1996c86 6 extern void Ip4AddrFromDest (const int dest, uint32_t* pDstIp);
andrewboyson 49:1a6336f2b3f9 7
andrewboyson 187:122fc1996c86 8 extern bool Ip4AddrIsExternal(uint32_t ip);
andrewboyson 183:ee809769bf89 9
andrewboyson 49:1a6336f2b3f9 10 #define IP4_BROADCAST_ADDRESS 0xFFFFFFFF
andrewboyson 49:1a6336f2b3f9 11 #define IP4_MULTICAST_ALL_HOSTS 0x010000E0
andrewboyson 49:1a6336f2b3f9 12 #define IP4_MULTICAST_ALL_ROUTERS 0x020000E0
andrewboyson 49:1a6336f2b3f9 13 #define IP4_MULTICAST_DNS_ADDRESS 0xFB0000E0
andrewboyson 49:1a6336f2b3f9 14 #define IP4_MULTICAST_LLMNR_ADDRESS 0xFC0000E0
andrewboyson 107:cc58b4c2090b 15 #define IP4_MULTICAST_NTP_ADDRESS 0x010100E0
andrewboyson 49:1a6336f2b3f9 16