netfilter: nfnetlink: consolidate callback types
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 22 Apr 2021 22:17:12 +0000 (00:17 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Apr 2021 16:16:56 +0000 (18:16 +0200)
commit50f2db9e368f73ecbbaa92da365183fa953aaba7
tree1612d211b6a782ac164d1ec6f6e7bc1b1d60e60b
parent7dab8ee3b6e7ec856a616d07ebb9ebd736c92520
netfilter: nfnetlink: consolidate callback types

Add enum nfnl_callback_type to identify the callback type to provide one
single callback.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
12 files changed:
include/linux/netfilter/nfnetlink.h
net/netfilter/ipset/ip_set_core.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_tables_api.c
net/netfilter/nfnetlink.c
net/netfilter/nfnetlink_acct.c
net/netfilter/nfnetlink_cthelper.c
net/netfilter/nfnetlink_cttimeout.c
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_osf.c
net/netfilter/nfnetlink_queue.c
net/netfilter/nft_compat.c