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:
Wed Dec 05 18:30:37 2018 +0000
Revision:
94:e2973a2c488e
Parent:
80:4ef1500fca1d
Fixed bug - incorrect MSS being sent from a polled sync: expected 1440 but had -60. Traced to buffer datalength in EthPollForPacketToSend being set to zero instead of being calculated from the buffer length - headersize.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 74:c3756bfa960e 1 #include "tcb.h"
andrewboyson 61:aad055f1b0d1 2
andrewboyson 75:603b10404183 3 extern int TcpSend (int* pSize, void* pPacket, struct tcb* pTcb);
andrewboyson 75:603b10404183 4 extern int TcpResendLastAck (int* pSize, void* pPacket, struct tcb* pTcb);
andrewboyson 75:603b10404183 5 extern int TcpResendLastUnAcked (int* pSize, void* pPacket, struct tcb* pTcb);
andrewboyson 75:603b10404183 6 extern int TcpSendReset (int* pSize, void* pPacket, struct tcb* pTcb);
andrewboyson 75:603b10404183 7
andrewboyson 80:4ef1500fca1d 8 extern int TcpPollForPacketToSend(int* pSize, void* pPacket, int type, int* pRemArIndex, int* pLocIpScope);
andrewboyson 52:fbc5a46b5e16 9