Hello Florian and Patrick,
Le 12/04/2016 à 15:51, Florian Westphal a écrit :
Christophe Leroy <christophe.leroy@xxxxxx> wrote:
[ nft_ct helper set support ]
Patrick, can you help ?
I have a few pending patches, one of them adds an immediate
attr for ctlabel set support.
Lets see if that approach is sane enough to be reused for helper
support.
I will post it soon.
I had a look but as far as I understood, the ctlabel works with bits.
For ct helper I need to retrieve the helper's name string in the
nft_ct_set_init() function in order to call nf_ct_helper_ext_add()
Patrick suggested to add a new CT attribute, but I've not been able to
find what has to be done for that exactly.
Is there any exemple in other parts of the kernel for doing that ?
Is it just to add a NFTA_CT_HELPER then add it in the nft_ct_policy
structure as an NLA_STRING type and then retrieve it with nla_strl_cpy() ?
But how does it gets populated with the helper string passed in by nft ?
Thanks for your help,
Christophe
--
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