netfilter: nf_tables: simplify lookup functions
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 28 Mar 2018 10:06:51 +0000 (12:06 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Apr 2018 08:29:09 +0000 (10:29 +0200)
commitcac20fcdf146b82d02e412d7a345f5826279cd82
tree3054785860efdd6184a67fd3d6dbd5cfcee30257
parentdf1e202531235f82a98e5b6c377a93a1e7d45673
netfilter: nf_tables: simplify lookup functions

Replace the nf_tables_ prefix by nft_ and merge code into single lookup
function whenever possible. In many cases we go over the 80-chars
boundary function names, this save us ~50 LoC.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_flow_offload.c
net/netfilter/nft_objref.c