On Thu, 17 Feb 2005, lartc@manchotnetworks.net wrote:
> has anyone noticed on fc3 a tos setsockopt() problem ??
>
> if i try to set tos_outgoing to 0x8 it works just fine. set it to 0xEE
> and no tos marking happens.
The ToS octet in TCP/IP has a long muddled history, but things have now
settled and these days it is 6 bits in size for DS (RFC2474) and the top
two bits is used by ECN (RFC3158) and can not be set by applications.
For details see
RFC2474 Definition of the Differentiated Services Field (DS Field)
RFC3158 The Addition of Explicit Congestion Notification (ECN) to IP
RFC3158 has some quite interesting reading in section "22. Historical
Definitions for the IPv4 TOS Octet" and I recommend to start by reading
this.
Regards
Henrik
Received on Sat Feb 19 2005 - 08:22:26 MST
This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST