From: Vincent Bernat <vincent@bernat.im>
To: "David S. Miller" <davem@davemloft.net>
Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>,
David Ahern <dsa@cumulusnetworks.com>,
Wilson Kok <wkok@cumulusnetworks.com>,
netdev@vger.kernel.org
Subject: Re: [net v1] fib_rules: interface group matching
Date: Wed, 14 Sep 2016 14:43:59 +0200 [thread overview]
Message-ID: <87wpieps6o.fsf@zoro.exoscale.ch> (raw)
In-Reply-To: <20160914124025.13417-1-vincent@bernat.im> (Vincent Bernat's message of "Wed, 14 Sep 2016 14:40:25 +0200")
❦ 14 septembre 2016 14:40 CEST, Vincent Bernat <vincent@bernat.im> :
> Each interface can be assigned to a numeric group using IFLA_GROUP. This
> commit enables a user to reference such a group into an IP rule. Here is
> an example of output of iproute2:
>
> $ ip rule show
> 0: from all lookup local
> 32764: from all iifgroup 2 lookup 2
> 32765: from all iifgroup 1 lookup 1
> 32766: from all lookup main
> 32767: from all lookup default
The patch for iproute2 is available here (didn't post it inline to avoid
confuse patchwork):
http://paste.debian.net/821247/
--
Say what you mean, simply and directly.
- The Elements of Programming Style (Kernighan & Plauger)
next prev parent reply other threads:[~2016-09-14 12:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 12:40 [net v1] fib_rules: interface group matching Vincent Bernat
2016-09-14 12:43 ` Vincent Bernat [this message]
2016-09-14 14:15 ` David Ahern
2016-09-14 14:25 ` Vincent Bernat
2016-09-14 14:39 ` David Ahern
2016-09-14 15:14 ` Vincent Bernat
2016-09-14 15:25 ` David Ahern
2016-09-14 16:01 ` Vincent Bernat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wpieps6o.fsf@zoro.exoscale.ch \
--to=vincent@bernat.im \
--cc=davem@davemloft.net \
--cc=dsa@cumulusnetworks.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=wkok@cumulusnetworks.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox