On Sun, May 23, 2021 at 08:54:31PM +0200, Florian Westphal wrote: > Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > > On Fri, May 21, 2021 at 01:39:22PM +0200, Florian Westphal wrote: > > > * @NFTA_HOOK_FUNCTION_NAME: hook function name (NLA_STRING) > > > * @NFTA_HOOK_MODULE_NAME: kernel module that registered this hook (NLA_STRING) > > > + * @NFTA_HOOK_NFT_CHAIN_INFO: nft chain and table name (NLA_NESTED) > > > > Probably NFTA_HOOK_CHAIN_INFO ? > > I added _NFT_ to avoid ambiguity in case this would be extended > to add xt-legacy chain info. I can drop the _NFT_, let me know. It's a NLA_NESTED, you might add a _TYPE field inside the nest to describe what type of chain info is stored there, maybe?