[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] sendind tcp data and created pbuf's
From: |
Martin Velek |
Subject: |
[lwip-users] sendind tcp data and created pbuf's |
Date: |
Wed, 14 Oct 2009 16:28:13 +0200 |
Hello,
I am using an emac driver which can handle only word sized(divisible
by 4) pbuf's except the last one in a pbuf chain.
Is possible that netconn_write can cause a multiple pbuf's without
divisible len?
E.g.
netconn_write (..., datalen = 111, ...)
netconn_write (..., datalen = 111, ...)
netconn_write (..., datalen = 111, ...)
will generate a packet in pbuf chain
pbuf (0) - len = eth + ip + tcp headers
pbuf (1) - len = 111
pbuf (2) - len = 111
...
Thank you
Martin Velek
#define TCP_WND 2048
#define TCP_MSS 128
#define TCP_SND_BUF 256
#define TCP_SND_QUEUELEN (4 * (TCP_SND_BUF)/(TCP_MSS))
- [lwip-users] sendind tcp data and created pbuf's,
Martin Velek <=