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@94:e2973a2c488e, 2018-12-05 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Dec 05 18:30:37 2018 +0000
- Revision:
- 94:e2973a2c488e
- Parent:
- 74:c3756bfa960e
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?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 59:e0e556c8bd46 | 1 | extern int Udp4HandleReceivedPacket(void (*traceback)(void), void* pPacketRx, int sizeRx, void* pPacketTx, int* pSizeTx, uint32_t* pSrcIp, uint32_t* pDstIp); |
andrewboyson | 74:c3756bfa960e | 2 | extern int Tcp4HandleReceivedPacket(void (*traceback)(void), void* pPacketRx, int sizeRx, void* pPacketTx, int* pSizeTx, uint32_t* pSrcIp, uint32_t* pDstIp, int remArIndex); |
andrewboyson | 59:e0e556c8bd46 | 3 | extern int Udp4PollForPacketToSend ( void* pPacketTx, int* pSizeTx, uint32_t* pSrcIp, uint32_t* pDstIp); |
andrewboyson | 71:736a5747ade1 | 4 | extern int Tcp4PollForPacketToSend ( void* pPacketTx, int* pSizeTx, uint32_t* pSrcIp, uint32_t* pDstIp); |