mbox series

[iproute2-next,v2,0/5] iprule: Add mask support for L4 ports and DSCP

Message ID 20250225090917.499376-1-idosch@nvidia.com (mailing list archive)
Headers show
Series iprule: Add mask support for L4 ports and DSCP | expand

Message

Ido Schimmel Feb. 25, 2025, 9:09 a.m. UTC
Add mask support for L4 ports and DSCP in ip-rule following kernel
commit a60a27c7849f ("Merge branch 'net-fib_rules-add-port-mask-support'")
and commit 27422c373897 ("Merge branch 'net-fib_rules-add-dscp-mask-support'").

Patches #1-#3 are preparations.

Patches #4 and #5 add mask support for L4 ports and DSCP, respectively.
See the commit messages for example usage and output.

v2:

* Patch #4: Do not duplicate port parsing in iprule_port_parse().
* Patch #4: s/supports/Supports/ in man page.

Ido Schimmel (5):
  Sync uAPI headers
  iprule: Move port parsing to a function
  iprule: Allow specifying ports in hexadecimal notation
  iprule: Add port mask support
  iprule: Add DSCP mask support

 include/uapi/linux/fib_rules.h |   3 +
 ip/iprule.c                    | 216 ++++++++++++++++++++++++---------
 man/man8/ip-rule.8.in          |  23 ++--
 3 files changed, 178 insertions(+), 64 deletions(-)