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@125:8c84daac38ab, 2019-02-22 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Feb 22 11:26:55 2019 +0000
- Revision:
- 125:8c84daac38ab
- Parent:
- 59:e0e556c8bd46
- Child:
- 138:5ff0c7069300
tidied up ntp data types for calculating ms from clktime.
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 | 59:e0e556c8bd46 | 3 | extern int UdpHandleReceivedPacket(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx); |
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 UdpMakeHeader(int size, void* pPacket); |
andrewboyson | 10:f0854784e960 | 9 | extern void UdpAddChecksum(void*pPacket, uint16_t checksum); |