]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: extend xlate infrastructure
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 2 Jun 2021 22:06:15 +0000 (00:06 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 7 Jun 2021 19:35:26 +0000 (21:35 +0200)
commitba863c4b07df03356e52748032984e5c67fd2675
treeca3551b1588b2a0120e4b19dd18cb2b7369db8ca
parent68ed965b35cdc7b55d4ebc0ba37c1ac078ccbafb
libxtables: extend xlate infrastructure

This infrastructure extends the existing xlate infrastructure:

- Extensions can define set dependencies through .xlate. The resulting
  set definition can be obtained through xt_xlate_set_get().
- Add xl_xlate_set_family() and xl_xlate_get_family() to store/fetch
  the family.

The first client of this new xlate API is the connlimit extension,
which is added in a follow up patch.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac
include/xtables.h
iptables/xtables-translate.c
libxtables/xtables.c