Hi Wei,
I don't know how you ended up finding a relation between nftables API
and genetlink, but it's bogus.
The set name has a fixed size of 16 characters (IFNAMSIZ), not 15.
And its netlink policy has nothing to do with genetlink.
Have a look at include/net/netfilter/nf_tables.h in kernel tree, there
struct nft_set is declared.
Its netlink related policy is in net/netfilter/nf_tables_api.c
(nft_set_policy)
Br,
Tomasz
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html