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

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                    | 170 ++++++++++++++++++++++++-----------------
 man/man8/ip-rule.8             |  18 ++++-
 3 files changed, 120 insertions(+), 69 deletions(-)

-- 
2.14.3

Reply via email to