Skip to content

Commit

Permalink
netfilter: cleanup struct nft_table
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
George Guo authored and Florian Westphal committed Oct 10, 2023
1 parent 6ac9c51 commit 94ecde8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/net/netfilter/nf_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 94ecde8

Please sign in to comment.