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/ip4.h@14:e75a59c1123d, 2017-05-05 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri May 05 17:44:16 2017 +0000
- Revision:
- 14:e75a59c1123d
- Parent:
- 11:c051adb70c5a
- Child:
- 18:accfcb80d9c3
Made IP addresses and ports available to debug messages
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 14:e75a59c1123d | 1 | extern int Ip4AddressToString(uint32_t ip, int size, char* text); |
andrewboyson | 14:e75a59c1123d | 2 | |
andrewboyson | 14:e75a59c1123d | 3 | extern uint32_t Ip4Src; |
andrewboyson | 14:e75a59c1123d | 4 | extern uint32_t Ip4Dst; |
andrewboyson | 14:e75a59c1123d | 5 | |
andrewboyson | 10:f0854784e960 | 6 | extern int Ip4HandleReceivedPacket(char* pSrcMac, void* pPacket, int* pSize, char* pDstMac); |
andrewboyson | 10:f0854784e960 | 7 | extern int Ip4PollForPacketToSend ( void* pPacket, int* pSize, char* pDstMac); |
andrewboyson | 10:f0854784e960 | 8 | |
andrewboyson | 11:c051adb70c5a | 9 | extern void Ip4DestIpFromAction(int action, uint32_t* pDstIp); |