netfilter: cleanup struct nft_table
authorGeorge Guo <guodongtai@kylinos.cn>
Mon, 9 Oct 2023 02:55:48 +0000 (10:55 +0800)
committerFlorian Westphal <fw@strlen.de>
Tue, 10 Oct 2023 14:34:28 +0000 (16:34 +0200)
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>
include/net/netfilter/nf_tables.h

index 7c816359d5a98884cf303b87af1bb2adbb1b48e2..9fb16485d08fb160abe291e87049c4929e954f5a 100644 (file)
@@ -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 {