From mboxrd@z Thu Jan 1 00:00:00 1970 From: Donald Sharp Subject: [PATCH 0/3] Allow 'ip rule' command to use protocol Date: Sat, 17 Feb 2018 07:47:50 -0500 Message-ID: <20180217124753.2879-1-sharpd@cumulusnetworks.com> To: netdev@vger.kernel.org Return-path: Received: from mail-qk0-f193.google.com ([209.85.220.193]:37121 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750951AbeBQMsC (ORCPT ); Sat, 17 Feb 2018 07:48:02 -0500 Received: by mail-qk0-f193.google.com with SMTP id y137so1011014qka.4 for ; Sat, 17 Feb 2018 04:48:02 -0800 (PST) Received: from robot.nc.rr.com (cpe-2606-A000-111D-803E-4980-482B-47BB-96B9.dyn6.twc.com. [2606:a000:111d:803e:4980:482b:47bb:96b9]) by smtp.googlemail.com with ESMTPSA id v1sm1450827qtg.43.2018.02.17.04.47.59 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Feb 2018 04:48:00 -0800 (PST) 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 (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(-) -- 2.14.3