Skip to content

Allow 'ip rule' command to use protocol

Donald Sharp netdev 4 versions – Applied

Status from this message: Applied to iproute2-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyApplied
  2. v33 patches 1 replySuperseded
  3. v23 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches2 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3ip: Use the `struct fib_rule_hdr` for rulesinclude/uapi/linux/fib_rules.h ip/iprule.c+68 -610 replies
2/3ip: Display ip rule protocol usedip/iprule.c man/man8/ip-rule.8+51 -50 replies
3/3ip: Allow rules to accept a specified protocolip/iprule.c+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 iproute2-next 0/3] Allow 'ip rule' command to use protocol

Fix iprule.c to use the actual struct fib_rule_hdr and to allow the end user to see and use the protocol keyword for rule manipulation.

v2: Rearrange and code changes as per David Ahern
v3: Fix some missed RTN_XXX to appropriate FR_XX and doc changes
v4: Cleanup some code, fix 'ip rule save' no parameters and doc changes

Donald Sharp (3):
ip: Use the struct fib_rule_hdr for rules
ip: Display ip rule protocol used
ip: Allow rules to accept a specified protocol

 include/uapi/linux/fib_rules.h |   1 +
 ip/iprule.c                    | 173 +++++++++++++++++++++++++----------------
 man/man8/ip-rule.8             |  18 ++++-
 3 files changed, 126 insertions(+), 66 deletions(-)
Signature · 1 line
2.14.3