From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f196.google.com ([209.85.220.196]:40293 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754664AbeBWTcz (ORCPT ); Fri, 23 Feb 2018 14:32:55 -0500 Received: by mail-qk0-f196.google.com with SMTP id o25so6581952qkl.7 for ; Fri, 23 Feb 2018 11:32:54 -0800 (PST) From: Donald Sharp To: netdev@vger.kernel.org, dsahern@gmail.com Subject: [PATCH v3 iproute2-next 0/3] Allow 'ip rule' command to use protocol Date: Fri, 23 Feb 2018 14:32:45 -0500 Message-Id: <20180223193248.16744-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 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