From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32042 invoked by alias); 23 Oct 2003 18:32:43 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 32033 invoked from network); 23 Oct 2003 18:32:42 -0000 Received: from unknown (HELO web14201.mail.yahoo.com) (216.136.172.143) by sources.redhat.com with SMTP; 23 Oct 2003 18:32:42 -0000 Message-ID: <20031023183241.64248.qmail@web14201.mail.yahoo.com> Received: from [208.248.82.254] by web14201.mail.yahoo.com via HTTP; Thu, 23 Oct 2003 11:32:41 PDT Date: Thu, 23 Oct 2003 18:32:00 -0000 From: Matt Jerdonek To: Andrew Lunn Cc: Discussion eCos In-Reply-To: <20031021191146.GL1165@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] TCP Transactions X-SW-Source: 2003-10/txt/msg00422.txt.bz2 > > 1) Uses sysctl(). Its something like > net.inet.tcp.msl. You can probably find its > proper name using the sysctl test program. I downloaded the current FreeBSD stack to use your sysctl updates (Thanks for adding this!). Anyway, msl isn't an option. So, I'm stuck using global memory for now until I extend the sysctl interface. Is there any standard sysctl template? Can I just add it to the end of the list in tcp_var.h? Also, I need to control the TCP retransmissions, which is set to 12, and is way too slow for transactions. Since rexmits is controlled by TCP_MAXRXTSHIFT (tcp_timer.h) and is not accessible via global memory, is my best option to make it configurable via the cdl? Thanks, -- Matt > > 2) The network stack makes a lot of its variables > global. tcp_msl is > no exception. But there is a bit of > jiggery-pokery going on, so its > actually called cyg_tcp_msl. So just do something > like... > > extern int cyg_tcp_msl; > > /* 'Orrible hack warning. Play around with the > internal timer > variables of the network stack. Yuck. */ > cyg_tcp_msl = 10; > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss