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:
- 2019-02-22
- Revision:
- 125:8c84daac38ab
- Parent:
- 59:e0e556c8bd46
- Child:
- 138:5ff0c7069300
File content as of revision 125:8c84daac38ab:
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);