UDP datagrams dropped when size>1472 bytes (TI NDK)
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
UDP datagrams dropped when size>1472 bytes (TI NDK)

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP
Author Message
petto
Guest





Posted: Fri Oct 21, 2005 4:16 pm    Post subject: UDP datagrams dropped when size>1472 bytes (TI NDK) Reply with quote

I am using the TI Network Developer's Kit for a TI C64xx DSP board, an
experience some problems with sending UDP datagrams.

When the size of the datagram exceeds 1472 bytes, I expect the IP stack t
fragment the datagram into two packets, but it does not. Instead th
sendto() function fails and returns error code EMSGSIZE.

Is the DONTFRAG flag set as default for UDP datagrams? Is there a way t
access this flag?

Regards
Petter



This message was sent using the Comp.DSP web interface o
www.DSPRelated.com
Back to top
mbelge
Guest





Posted: Mon Dec 05, 2005 5:16 pm    Post subject: Re: UDP datagrams dropped when size>1472 bytes (TI NDK) Reply with quote

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??
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB