IP_TOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

I want to use Traffic controller to set socket priority to use 16
different priority queues, but TOS only got four fixed value, which
means I can only set 5 priority.

Here is the value from ip.h.

#define	IPTOS_LOWDELAY		0x10
#define	IPTOS_THROUGHPUT	0x08
#define	IPTOS_RELIABILITY	0x04
#define	IPTOS_MINCOST		0x02

My question is: Can I use these combination value, i.e. 0x18, 0x14? I
heard routers did not respect these value regarding to routing packet. I
read source code ip_sockglue.c, it seems ok to use combination value. Is
there any side effect to do that?

TIA

Best Regards
Leigh

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux