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
- Committer:
- andrewboyson
- Date:
- 2017-12-14
- Revision:
- 59:e0e556c8bd46
- Parent:
- 52:fbc5a46b5e16
- Child:
- 138:5ff0c7069300
File content as of revision 59:e0e556c8bd46:
extern bool UdpTrace; extern int UdpHandleReceivedPacket(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx); extern int UdpPollForPacketToSend(int type, int* pSize, void* pPacket); extern void UdpLogHeader(uint16_t calculatedChecksum); extern void UdpMakeHeader(int size, void* pPacket); extern void UdpAddChecksum(void*pPacket, uint16_t checksum);