From: Andrew Lunn <andrew@lunn.ch>
To: Matt Jerdonek <maj1224@yahoo.com>
Cc: Discussion eCos <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] TCP Transactions
Date: Tue, 21 Oct 2003 19:11:00 -0000 [thread overview]
Message-ID: <20031021191146.GL1165@lunn.ch> (raw)
In-Reply-To: <20031020232711.41572.qmail@web14208.mail.yahoo.com>
> 3) Change the MSL timeout from 30sec to something
> smaller. Is there any interest in making the MSL
> timer something configurable?
It already is configurable.
1) Uses sysctl(). Its something like net.inet.tcp.msl. You can
probably find its proper name using the sysctl test program.
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;
I would spend some time to see what else uses this timer. This might
change other things are well as how long sockets take to close.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
next prev parent reply other threads:[~2003-10-21 19:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-20 23:27 Matt Jerdonek
2003-10-21 7:16 ` Andrew Lunn
2003-10-21 15:42 ` Matt Jerdonek
2003-10-21 16:06 ` David Vrabel
2003-10-21 17:49 ` Matt Jerdonek
2003-10-21 19:11 ` Andrew Lunn [this message]
2003-10-23 18:32 ` Matt Jerdonek
2003-10-23 20:15 ` Andrew Lunn
2003-10-24 16:38 ` Matt Jerdonek
2003-10-28 12:50 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031021191146.GL1165@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@sources.redhat.com \
--cc=maj1224@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).