Re: Low-Cost IP TOS bit won't clear.

David S. Miller (davem@redhat.com)
Mon, 13 Aug 2001 07:15:50 -0700 (PDT)


From: Ben Greear <greearb@candelatech.com>
Date: Sun, 12 Aug 2001 22:25:51 -0700

I'm doing some experimenting with setting the various values of
the IP TOS byte. First (as I already mentioned on the linux-net
mailing list) the IPTOS_* values in netinet/ip.h do not seem
correct, they should be shifted left by 2 bits each, if I understand
correctly...

You do not understand the bit layout correctly :-), and also see what
I mentioned about ECN if you are getting "stuck bits".

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/