summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-09-28 23:55:06 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2022-10-25 13:44:14 +0200
commitac1f8c049319847b1b4c6b387fdb2e3f7fb84ffc (patch)
treedf8a126011767ec169a30ac9a935be1766109f4a /include/net/netfilter
parentd6dd508080a3cdc0ab34ebf66c3734f2dff907ad (diff)
downloadlinux-ac1f8c049319847b1b4c6b387fdb2e3f7fb84ffc.tar.bz2
netfilter: nft_payload: move struct nft_payload_set definition where it belongs
Not required to expose this header in nf_tables_core.h, move it to where it is used, ie. nft_payload. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r--include/net/netfilter/nf_tables_core.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/net/netfilter/nf_tables_core.h b/include/net/netfilter/nf_tables_core.h
index 1223af68cd9a..990c3767a350 100644
--- a/include/net/netfilter/nf_tables_core.h
+++ b/include/net/netfilter/nf_tables_core.h
@@ -66,16 +66,6 @@ struct nft_payload {
u8 dreg;
};
-struct nft_payload_set {
- enum nft_payload_bases base:8;
- u8 offset;
- u8 len;
- u8 sreg;
- u8 csum_type;
- u8 csum_offset;
- u8 csum_flags;
-};
-
extern const struct nft_expr_ops nft_payload_fast_ops;
extern const struct nft_expr_ops nft_bitwise_fast_ops;