netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nft netdev family bindings
@ 2015-06-05 13:35 Patrick McHardy
  2015-06-05 15:58 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 12+ messages in thread
From: Patrick McHardy @ 2015-06-05 13:35 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

Hi Pablo,

looking at the netdev syntax:

table netdev eth0 {
	device eth0;
	...

I think this "device" specification is inconsistent with out normal use
of handles. Usually the table_spec contains the fully qualified handle,
which in this case needs to include the device.

Consider:

table netdev somename {
	device eth0;
	...

table netdev somename {
	device eth1;
	...

Without including the device in the table handle, the name alone is amiguitios.
I'd propose to use

table netdev <dev> <name>

Just as we have the family in the handle.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-10 15:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05 13:35 nft netdev family bindings Patrick McHardy
2015-06-05 15:58 ` Pablo Neira Ayuso
2015-06-05 15:59   ` Patrick McHardy
2015-06-05 16:47     ` Patrick McHardy
2015-06-08 11:40       ` Pablo Neira Ayuso
2015-06-09  9:23         ` Patrick McHardy
2015-06-09 10:52           ` Pablo Neira Ayuso
2015-06-09 10:57             ` Patrick McHardy
2015-06-09 11:46               ` Pablo Neira Ayuso
2015-06-09 12:13                 ` Patrick McHardy
2015-06-10 14:02                   ` Pablo Neira Ayuso
2015-06-10 15:37                     ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).