From: Fredrik Tolf <fredrik@dolda2000.com>
To: "David S. Miller" <davem@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IP_TOS setsockopt filters away MinCost
Date: Sun, 7 Mar 2004 14:14:51 +0100 [thread overview]
Message-ID: <16459.8267.876074.457599@pc7.dolda2000.com> (raw)
In-Reply-To: <20040306223450.1b569ad3.davem@redhat.com>
David S. Miller writes:
> On Sun, 7 Mar 2004 06:00:48 +0100
> Fredrik Tolf <fredrik@dolda2000.com> wrote:
>
> > This didn't make sense to me. Is there some reason behind this, and
> > would someone like to explain it to me in that case? I just spent an
> > hour trying to debug my program to find it why it didn't want to set
> > minimal cost, while the other three TOS options worked.
>
> Please read the diffserv RFCs for the current meanins of the TOS
> bits.
Well, I was thinking that it might be diffserv, but on the next line
in that code, it checks the TOS precedence value, so I thought it
can't be. Also, it only resets these bits for SOCK_STREAM sockets - it
doesn't touch SOCK_DGRAMs. Is diffserv still somehow the reason behind
it?
Fredrik Tolf
prev parent reply other threads:[~2004-03-07 13:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-07 5:00 Fredrik Tolf
2004-03-07 6:34 ` David S. Miller
2004-03-07 13:14 ` Fredrik Tolf [this message]
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=16459.8267.876074.457599@pc7.dolda2000.com \
--to=fredrik@dolda2000.com \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®