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

Committer:
andrewboyson
Date:
Thu May 20 14:32:52 2021 +0000
Revision:
200:5acbc41bf469
Parent:
195:bd5b123143ca
Increased number of arp entries from 20 to 30 to accommodate the number of WIZ devices plus a few incoming port 80 calls from the internet.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 195:bd5b123143ca 1 #include <stdbool.h>
andrewboyson 195:bd5b123143ca 2 #include <stdint.h>
andrewboyson 195:bd5b123143ca 3
andrewboyson 52:fbc5a46b5e16 4 extern bool UdpTrace;
andrewboyson 52:fbc5a46b5e16 5
andrewboyson 138:5ff0c7069300 6 extern int UdpHandleReceivedPacket(void (*traceback)(void), int sizeRx, char* pPacketRx, int* pSizeTx, char* pPacketTx);
andrewboyson 138:5ff0c7069300 7 extern int UdpPollForPacketToSend(int type, int* pSize, char* pPacket);
andrewboyson 10:f0854784e960 8
andrewboyson 37:793b39683406 9 extern void UdpLogHeader(uint16_t calculatedChecksum);
andrewboyson 10:f0854784e960 10
andrewboyson 138:5ff0c7069300 11 extern void UdpMakeHeader(int size, char* pPacket);
andrewboyson 195:bd5b123143ca 12 extern void UdpHdrSetChecksum(void*pPacket, uint16_t checksum);