From: Pavel Balaev
Date: Tue, 27 Nov 2018 13:07:10 +0300
> -#define IPTOS_RT_MASK(IPTOS_TOS_MASK & ~3)
> +#define IPTOS_RT_MASK(IPTOS_DSCP_MASK & ~3)
I was hoping my original feedback would have you actually go
investigate why IPTOS_RT_MASK is defined the way that it is.
I will
Introduce support of DSCP values in ip rules (as
described in RFC2474 and RFC2597).
Values are defined in /etc/iproute2/rt_dsfield.
Example:
$ ip ru add from 10.88.0.2 tos AF23 lookup dscp_table
$ ip ru add tos CS1 lookup dscp_table
Patch was tested with this configuration:
+---+
| 10.88