* Question regarding IP_TOS and SO_PRIORITY
@ 2010-05-25 21:19 Holger Freyther
0 siblings, 0 replies; only message in thread
From: Holger Freyther @ 2010-05-25 21:19 UTC (permalink / raw)
To: netdev
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-25 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 21:19 Question regarding IP_TOS and SO_PRIORITY Holger Freyther
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox