]> git.ipfire.org Git - thirdparty/nftables.git/commit
meta: use if_nametoindex and if_indextoname
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 16 Jun 2013 22:43:43 +0000 (00:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 24 Jun 2013 09:50:00 +0000 (11:50 +0200)
commitdcfc4fc78b4a50e98d33746aa06145cf25f2f438
treeadff6fcc3e34a6c000691a187798f090c8b4a912
parentc0b9ceac8f5c3f13db609a5d992a8375fc8ec6ab
meta: use if_nametoindex and if_indextoname

Instead of having a cache of ifindex based on libnl. Those functions
basically use rtnetlink as well to perform the translation.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/meta.c