From: Ben Greear <greearb@candelatech.com>
To: "'netdev@oss.sgi.com'" <netdev@oss.sgi.com>
Subject: setsockopt: SO_PRIORITY and IP_TOS
Date: Thu, 03 Mar 2005 17:02:48 -0800 [thread overview]
Message-ID: <4227B3B8.6060900@candelatech.com> (raw)
With regard to 2.6.11-rc4 (and probably others).
I just noticed something that struck me as a bit strange.
Might be per design though...
If you set the IP_TOS and then the SO_PRIORITY for a socket,
the TOS is what you set it to, and so is the priority.
However, if you set the PRIORITY (to 55, in my case)
and then set the IP_TOS (to 3, in my case), then the priority
will be re-set to 0.
My opinion is that setting the IP_TOS should not affect the priority,
especially if it has already been specifically set on that socket.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
reply other threads:[~2005-03-04 1:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4227B3B8.6060900@candelatech.com \
--to=greearb@candelatech.com \
--cc=netdev@oss.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.