Allow 'ip rule' command to use protocol
Subsystems (2)
cover 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 manipulations.
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/linux/fib_rules.h | 2 +- ip/iprule.c | 114 ++++++++++++++++++++++++++-------------------- 2 files changed, 65 insertions(+), 51 deletions(-)
Signature · 1 line
2.14.3
Quoted 4 lines · Donald Sharp
Fix
iprule.cto use the actualstruct fib_rule_hdrand to allow the end user to see and use the protocol keyword for rule manipulations.
Quoted 9 lines
Donald Sharp (3):
ip: Use thestruct fib_rule_hdrfor rules
ip: Display ip rule protocol used
ip: Allow rules to accept a specified protocolinclude/linux/fib_rules.h | 2 +- ip/iprule.c | 114 ++++++++++++++++++++++++++-------------------- 2 files changed, 65 insertions(+), 51 deletions(-)
you are missing a patch to add protocol to iprule_list_flush_or_save so 'ip ru flush proto NAME' flushes all rules with that protocol.
Got it. I'll send an update.
donald
Quoted 17 lines · David Ahern
Quoted 4 lines · Donald Sharp
Fix
iprule.cto use the actualstruct fib_rule_hdrand to allow the end user to see and use the protocol keyword for rule manipulations.Quoted 9 lines
Donald Sharp (3):
ip: Use thestruct fib_rule_hdrfor rules
ip: Display ip rule protocol used
ip: Allow rules to accept a specified protocolinclude/linux/fib_rules.h | 2 +- ip/iprule.c | 114 ++++++++++++++++++++++++++-------------------- 2 files changed, 65 insertions(+), 51 deletions(-)you are missing a patch to add protocol to
iprule_list_flush_or_saveso 'ip ru flush proto NAME' flushes all rules with that protocol.