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
ip4/ip4addr.h@49:1a6336f2b3f9, 2017-11-02 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Nov 02 08:10:55 2017 +0000
- Revision:
- 49:1a6336f2b3f9
- Child:
- 107:cc58b4c2090b
Separated the address handling parts of IP4 and IP6 from the protocol parts.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 49:1a6336f2b3f9 | 1 | extern int Ip4AddressToString(uint32_t ip, int size, char* text); |
andrewboyson | 49:1a6336f2b3f9 | 2 | extern int Ip4AddressLog (uint32_t ip); |
andrewboyson | 49:1a6336f2b3f9 | 3 | extern int Ip4AddressHttp (uint32_t ip); |
andrewboyson | 49:1a6336f2b3f9 | 4 | extern uint32_t Ip4AddressParse (char* text); |
andrewboyson | 49:1a6336f2b3f9 | 5 | |
andrewboyson | 49:1a6336f2b3f9 | 6 | extern void Ip4AddressFromDest(int dest, uint32_t* pDstIp); |
andrewboyson | 49:1a6336f2b3f9 | 7 | |
andrewboyson | 49:1a6336f2b3f9 | 8 | #define IP4_BROADCAST_ADDRESS 0xFFFFFFFF |
andrewboyson | 49:1a6336f2b3f9 | 9 | #define IP4_MULTICAST_ALL_HOSTS 0x010000E0 |
andrewboyson | 49:1a6336f2b3f9 | 10 | #define IP4_MULTICAST_ALL_ROUTERS 0x020000E0 |
andrewboyson | 49:1a6336f2b3f9 | 11 | #define IP4_MULTICAST_DNS_ADDRESS 0xFB0000E0 |
andrewboyson | 49:1a6336f2b3f9 | 12 | #define IP4_MULTICAST_LLMNR_ADDRESS 0xFC0000E0 |
andrewboyson | 49:1a6336f2b3f9 | 13 |