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
Diff: ip4/ip4addr.h
- Revision:
- 183:ee809769bf89
- Parent:
- 176:7eb916c22084
- Child:
- 187:122fc1996c86
--- a/ip4/ip4addr.h Sun Jan 10 11:52:19 2021 +0000 +++ b/ip4/ip4addr.h Tue Jan 12 19:10:22 2021 +0000 @@ -5,6 +5,8 @@ extern void Ip4AddressFromDest(const int dest, uint32_t* pDstIp); +extern bool Ip4AddrIsRoutable(uint32_t ip); + #define IP4_BROADCAST_ADDRESS 0xFFFFFFFF #define IP4_MULTICAST_ALL_HOSTS 0x010000E0 #define IP4_MULTICAST_ALL_ROUTERS 0x020000E0