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/udptcp4.h

Committer:
andrewboyson
Date:
2017-10-04
Revision:
37:793b39683406
Parent:
10:f0854784e960
Child:
59:e0e556c8bd46

File content as of revision 37:793b39683406:

extern int Udp4HandleReceivedPacket(void (*traceback)(void), uint32_t* pSrcIp, uint32_t* pDstIp, int* pSize, void* pPacket);
extern int Udp4PollForPacketToSend (void* pPacket, int* pSize, uint32_t* pSrcIp, uint32_t* pDstIp);
extern int Tcp4HandleReceivedPacket(void (*traceback)(void), uint32_t* pSrcIp, uint32_t* pDstIp, int *pSize, void * pPacket);