Re: why is IPTOS_MINCOST ignored?

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

 



aha.  that makes some things more clear :)

just to make sure i'm reading the kernel code right -- the DSCP field can
be set by userland by using the same old IP_TOS setsockopt, right?  or is
there a preferred interface?

now i just need to grok the various DSCP values.

thanks
-dean

On Tue, 26 Nov 2002, David S. Miller wrote:

>    From: dean gaudet <dean@arctic.org>
>    Date: Tue, 26 Nov 2002 21:49:35 -0800 (PST)
>
>    which causes the IPTOS_MINCOST bit (2) to be ignored even if setsockopt is
>    used to specify it.
>
>    why is this?  is it a bug?
>
> You probably want to read the DIFFSERV rfcs.  :-)
>
> Short answer is that these two bits are now considered unused in the
> modern internet.  From rfc3260:
>
> 	"the Differented Services Field ... is the six most
> 	significant bits of the former IPV4 TOS octet ...
> 	The two least significant bits of the IPV4 TOS octet ...
> 	are not used by Diffserv"
>
>
-
: 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