public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] max IP packet size = 9216 B. Why?
@ 2007-06-12 21:58 Jürgen Lambrecht
  2007-06-12 22:12 ` Andrew Lunn
       [not found] ` <058cebc1-1c19-438d-b5de-2c8015835c36@googlegroups.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Jürgen Lambrecht @ 2007-06-12 21:58 UTC (permalink / raw)
  To: eCos Discussion; +Cc: Jürgen Lambrecht

Hello,

I found out that the maximum IP packet size = 9216 B (0x2400).
I implemented an echo program, both udp and tcp.
My ecos applic can receive more that 9216B, but not send back more than 
that.

Has anybody a clue how to solve this?
I need to support the maximum IP packet size of 65535 B (IP_MAXPACKET).
I don't know if this is a bug in ecos, or a (hidden?) limitation of an 
embedded OS.

Thanks,
Juergen Lambrecht

P.S.:
I'm busy tracing this back in the source
This comes from the socket that is allocated statically in 
/io/fileio/.../fd.cxx and socket is part of a cyg_file (cyg_file is 
defined by file in file.h). In cyg_file there is a member f_data, which 
is the socket.
I'm continuing my search in the code at this point....

-- 
Jürgen Lambrecht
R&D Engineer
Televic Transport Systems
http://www.televic.com
Televic NV / SA (main office)  	
Leo Bekaertlaan 1
B-8870 Izegem
Tel: +32 (0)51 303045
Fax: +32 (0)51 310670


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-06-23 10:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-12 21:58 [ECOS] max IP packet size = 9216 B. Why? Jürgen Lambrecht
2007-06-12 22:12 ` Andrew Lunn
2007-06-12 22:46   ` Jürgen Lambrecht
2007-06-12 23:03     ` Andrew Lunn
2007-06-13 14:24       ` Jürgen Lambrecht
2007-06-13 15:44         ` Andrew Lunn
     [not found] ` <058cebc1-1c19-438d-b5de-2c8015835c36@googlegroups.com>
2017-06-20 10:29   ` Jürgen Lambrecht
2017-06-23 10:32     ` Jürgen Lambrecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).