diff options
author | George Guo <guodongtai@kylinos.cn> | 2023-10-09 05:55:48 +0300 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-10-10 17:34:28 +0300 |
commit | 94ecde833be5779f8086c3a094dfa51e1dbce75f (patch) | |
tree | 289513dbff8767dfe2be9707ddbb0eed81db3671 /include/net/netfilter | |
parent | 6ac9c51eebe8209f58fd71f51c856184136b8613 (diff) | |
download | linux-94ecde833be5779f8086c3a094dfa51e1dbce75f.tar.xz |
netfilter: cleanup struct nft_table
Add comments for nlpid, family, udlen and udata in struct nft_table, and
afinfo is no longer a member of struct nft_table, so remove the comment
for it.
Signed-off-by: George Guo <guodongtai@kylinos.cn>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r-- | include/net/netfilter/nf_tables.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 7c816359d5a9..9fb16485d08f 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -1198,10 +1198,13 @@ static inline void nft_use_inc_restore(u32 *use) * @hgenerator: handle generator state * @handle: table handle * @use: number of chain references to this table + * @family:address family * @flags: table flag (see enum nft_table_flags) * @genmask: generation mask - * @afinfo: address family info + * @nlpid: netlink port ID * @name: name of the table + * @udlen: length of the user data + * @udata: user data * @validate_state: internal, set when transaction adds jumps */ struct nft_table { |