From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27623 invoked by alias); 20 Sep 2012 17:54:54 -0000 Received: (qmail 27561 invoked by uid 22791); 20 Sep 2012 17:54:52 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from outbound003.roc2.bluetie.com (HELO outbound003.roc2.bluetie.com) (208.89.132.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Sep 2012 17:54:30 +0000 Received: from web005.roc2.bluetie.com ([10.200.2.99]) by outbound003.roc2.bluetie.com with bizsmtp id 1VuV1k00E28AQ4S01VuVFo; Thu, 20 Sep 2012 13:54:29 -0400 X-CMAE-OUT-Analysis: v=2.0 cv=K7+g7lqI c=1 sm=1 a=qzgG9ooeaKwA:10 a=i-wQWBNYtOgA:10 a=IkcTkHD0fZMA:10 a=FmX3VfpdAAAA:8 a=QoHJ8kPOAAAA:8 a=BJLoD-UVkZwA:10 a=DWpu7SrcLfucsUNNX4kA:9 a=QEXdDO2ut3YA:10 a=vL3HbRNXJhJQQ3qw5A4SiA==:117 X-CMAE-OUT-Score: 0.00 Received: from web005.roc2.bluetie.com (localhost.localdomain [127.0.0.1]) by web005.roc2.bluetie.com (Postfix) with ESMTP id 45224E9014B for ; Thu, 20 Sep 2012 13:54:29 -0400 (EDT) Message-ID: <20120920135429.21498@web005.roc2.bluetie.com> X-HTTP-Received: from kenkyee.excite [173.162.132.73] by web005.roc2.bluetie.com (BlueTie WebMail ); Thu, 20 Sep 2012 13:54:29 -0400 Date: Thu, 20 Sep 2012 17:54:00 -0000 Cc: To: ecos-discuss@ecos.sourceware.org From: "Ken Yee" Content-transfer-encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 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] any way to reset the TCP/IP network buffers in ecos? X-SW-Source: 2012-09/txt/msg00022.txt.bz2 On our system, we bring PPP up and down to minimize connection time costs, = but after running a while, we seem to get this error: socket returned: No buffer space available The error message is what's returned from the system strerror() call which = maps errno to a message. And what it's doing is a simple socket creation call to get ready to send a= packet: s =3D socket(AF_INET, SOCK_RAW, p->p_proto); So is there any way to reset the network buffers inside eCos? We can do this every time ppp is brought down since no other networking tak= es place while the link is down... ken -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss