summaryrefslogtreecommitdiff
path: root/net/netfilter/xt_physdev.c
diff options
context:
space:
mode:
authorGao Feng <fgao@ikuai8.com>2016-07-18 03:39:23 (GMT)
committerPablo Neira Ayuso <pablo@netfilter.org>2016-07-21 00:31:53 (GMT)
commit82de0be6862cdca2e6802267bda57cfc8844d3a7 (patch)
treebb5a8fac8e8e0978ca9e13417f3df80a12c1a0ba /net/netfilter/xt_physdev.c
parent590025a27fe0603e855a054c4ad57d966bd8af07 (diff)
downloadlinux-82de0be6862cdca2e6802267bda57cfc8844d3a7.tar.xz
netfilter: Add helper array register/unregister functions
Add nf_ct_helper_init(), nf_conntrack_helpers_register() and nf_conntrack_helpers_unregister() functions to avoid repetitive opencoded initialization in helpers. This patch keeps an id parameter for nf_ct_helper_init() not to break helper matching by name that has been inconsistently exposed to userspace through ports, eg. ftp-2121, and through an incremental id, eg. tftp-1. Signed-off-by: Gao Feng <fgao@ikuai8.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_physdev.c')
0 files changed, 0 insertions, 0 deletions