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
udp/udp.h@52:fbc5a46b5e16, 2017-11-08 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Nov 08 20:46:36 2017 +0000
- Revision:
- 52:fbc5a46b5e16
- Parent:
- 37:793b39683406
- Child:
- 59:e0e556c8bd46
Fixed bug in NDP options decoder which was crashing the system
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 52:fbc5a46b5e16 | 1 | extern bool UdpTrace; |
andrewboyson | 52:fbc5a46b5e16 | 2 | |
andrewboyson | 37:793b39683406 | 3 | extern int UdpHandleReceivedPacket(void (*traceback)(void), int* pSize, void* pPacket); |
andrewboyson | 10:f0854784e960 | 4 | extern int UdpPollForPacketToSend(int type, int* pSize, void* pPacket); |
andrewboyson | 10:f0854784e960 | 5 | |
andrewboyson | 37:793b39683406 | 6 | extern void UdpLogHeader(uint16_t calculatedChecksum); |
andrewboyson | 10:f0854784e960 | 7 | |
andrewboyson | 10:f0854784e960 | 8 | extern void UdpReadHeader(void* pPacket, uint16_t size); |
andrewboyson | 10:f0854784e960 | 9 | extern void UdpMakeHeader(int size, void* pPacket); |
andrewboyson | 10:f0854784e960 | 10 | extern void UdpAddChecksum(void*pPacket, uint16_t checksum); |