From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f195.google.com ([209.85.216.195]:40786 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbeBUBxz (ORCPT ); Tue, 20 Feb 2018 20:53:55 -0500 Received: by mail-qt0-f195.google.com with SMTP id c19so130372qtm.7 for ; Tue, 20 Feb 2018 17:53:55 -0800 (PST) From: Donald Sharp To: netdev@vger.kernel.org, dsahern@gmail.com Subject: [PATCH iproute2-next 0/4] Allow 'ip rule' command to use protocol Date: Tue, 20 Feb 2018 20:53:44 -0500 Message-Id: <20180221015348.32646-1-sharpd@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: 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 (4): ip: Use the `struct fib_rule_hdr` for rules ip: Display ip rule protocol used ip: Allow rules to accept a specified protocol ip: Add ability to flush a rule based upon protocol include/uapi/linux/fib_rules.h | 2 +- ip/iprule.c | 167 ++++++++++++++++++++++++----------------- man/man8/ip-rule.8 | 18 ++++- 3 files changed, 117 insertions(+), 70 deletions(-) -- 2.14.3