mbelge
Guest
|
Posted:
Mon Dec 05, 2005 5:16 pm Post subject:
Re: UDP datagrams dropped when size>1472 bytes (TI NDK) |
|
|
| Quote: | I am using the TI Network Developer's Kit for a TI C64xx DSP board, and
experience some problems with sending UDP datagrams.
When the size of the datagram exceeds 1472 bytes, I expect the IP stac
to
fragment the datagram into two packets, but it does not. Instead the
sendto() function fails and returns error code EMSGSIZE.
Is the DONTFRAG flag set as default for UDP datagrams? Is there a way to
access this flag?
Regards
Petter
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com
Hi, |
In TI's IP stack implementation, maximum UDP datagram for send operatio
is set to 1500 bytes including IP header and UDP headers. This translate
into 1472 bytes of payload. The error message one gets is EMSGSIZE meanin
that the driver is unable to accomodate larger UDP packets. I don't kno
any way of mitigating this problem.
Strangely, maximum size of a UDP receive packet seems to be around 300
bytes?? |
|