From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11109 invoked by alias); 12 Jun 2007 15:49:45 -0000 Received: (qmail 11101 invoked by uid 22791); 12 Jun 2007 15:49:44 -0000 X-Spam-Check-By: sourceware.org Received: from d5152C2DE.access.telenet.be (HELO lx-dmz.televic.com) (81.82.194.222) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Jun 2007 15:49:40 +0000 Received: (qmail 25624 invoked from network); 12 Jun 2007 15:49:37 -0000 Received: from nt-email.televic.com (10.0.0.9) by lx-dmz.televic.com with SMTP; 12 Jun 2007 15:49:37 -0000 Received: from [10.0.56.4] ([10.0.56.4]) by nt-email.TELEVIC.COM with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Jun 2007 17:49:30 +0200 Message-ID: <466EC08A.8090704@televic.com> Date: Tue, 12 Jun 2007 21:58:00 -0000 From: =?ISO-8859-1?Q?J=FCrgen_Lambrecht?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.13) Gecko/20060414 MIME-Version: 1.0 To: eCos Discussion CC: =?ISO-8859-1?Q?J=FCrgen_Lambrecht?= Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] max IP packet size = 9216 B. Why? X-SW-Source: 2007-06/txt/msg00130.txt.bz2 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