Hi, According to the man page socket(7), setting SO_PRIORITY (and hence sk->sk_priority) on a socket should alter the TOS field of the outgoing packets. However, in linux-2.6.14, the code in net/ipv4/ip_output.c:ip_queue_xmit fills the value of the IP header's tos using inet->tos (which is set using the IP_TOS socket options). I want to say that sk_priority is used for local queues only and IP_TOS needs to be set for actually modifying the outgoing packets' TOS. Is this the case? Ritesh -- http://www.cs.unc.edu/~ritesh/ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html