netinet/ip.h and DSCP
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Since linux-net doesn't seem to be the right forum...
Quoted 42 lines · Philip A. Prindeville
Is there a reason that
/usr/include/netinet/ip.honly contains definitions for ToS (precedence-based) markings?RFCs 2597/2598 have been out a *long* time... why is Linux so far behind the learning curve?
We're discussing (at least here in the US) net neutrality... but if we're not marking our traffic the way we want it carried *anyway*, don't we deserve what we get if the carriers reshape our traffic by their own rules?
Should there be definitions in
netinet/ip.hlike:#define
IPTOS_DSCP_MASK0xd0
#defineIPTOS_DSCP(x)((x) &IPTOS_DSCP_MASK)
#defineIPTOS_DSCP_AF110x28
#defineIPTOS_DSCP_AF120x30
#defineIPTOS_DSCP_AF130x38
#defineIPTOS_DSCP_AF210x48
#defineIPTOS_DSCP_AF220x50
#defineIPTOS_DSCP_AF230x58
#defineIPTOS_DSCP_AF310x68
#defineIPTOS_DSCP_AF320x70
#defineIPTOS_DSCP_AF330x78
#defineIPTOS_DSCP_AF410x88
#defineIPTOS_DSCP_AF420x90
#defineIPTOS_DSCP_AF430x98
#defineIPTOS_DSCP_EF0xb8Should be simple enough, right?
Thanks,
-Philip
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html