[<prev] [next>] [day] [month] [year] [list]
Message-ID: <loom.20100525T230503-375@post.gmane.org>
Date: Tue, 25 May 2010 21:19:32 +0000 (UTC)
From: Holger Freyther <zecke@...fish.org>
To: netdev@...r.kernel.org
Subject: Question regarding IP_TOS and SO_PRIORITY
Hi all,
I have a minor question regarding the IP_TOS and SO_PRIORITY socket
options. I was reading the man page for ip(7) and it pointed me to
socket(7) to look at the SO_PRIORITY. My man page claims that setting
the SO_PRIORITY will also set the tos on the outgoing IP header.
The problem is that I couldn't see the TOS set in my outgoing packets
and I was not able to find the code propagating the sk_priority into the
tos. On the other hand I could find that setting the IP_TOS will also
set the sk_priority.
Is this a documentation bug? Or did it work once? Or is it working and
my code was just broken and I'm too blind to find it?
z.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists