From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f196.google.com ([209.85.220.196]:33644 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751802AbeBVCM2 (ORCPT ); Wed, 21 Feb 2018 21:12:28 -0500 Received: by mail-qk0-f196.google.com with SMTP id f25so4683525qkm.0 for ; Wed, 21 Feb 2018 18:12:28 -0800 (PST) From: Donald Sharp To: netdev@vger.kernel.org, dsahern@gmail.com Subject: [PATCH v2 iproute2-next 0/3] Allow 'ip rule' command to use protocol Date: Wed, 21 Feb 2018 21:12:15 -0500 Message-Id: <20180222021218.12948-1-sharpd@cumulusnetworks.com> In-Reply-To: <20180221015348.32646-1-sharpd@cumulusnetworks.com> References: <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. v2: Rearrange and code changes as per David Ahern 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 | 2 +- ip/iprule.c | 164 ++++++++++++++++++++++++----------------- man/man8/ip-rule.8 | 18 ++++- 3 files changed, 114 insertions(+), 70 deletions(-) -- 2.14.3