Displaying 1 result from an estimated 1 matches for "iptos_class_default".
2011 Feb 09
6
[Bug 1856] New: Wrong QoS naming and obsolete defaults
...ReportedBy: philipp at redfish-solutions.com
The files defines.h and misc.c refer to the wrong constants.
It should be:
IPTOS_CLASS_CS0
and not:
IPTOS_DSCP_CS0
(etc for 0..7).
These constants are externally defined in /usr/include/netinet/ip.h in
glibc 2.12 and later.
Add:
#define IPTOS_CLASS_DEFAULT IPTOS_CLASS_CS0
Also, the table ipqos[] should probably include:
{ "none", IPTOS_CLASS_DEFAULT },
Lastly, the ToS values defines in RFC-791 were deprecated in 1998 with
the introduction of RFC-2474. The bit assignments used in RFC-791 now
conflict with other RFCs in deployment such as...