On 2019-12-10, at 02:25:42 +0100, Florian Westphal wrote: > Jeremy Sowden wrote: > > > I have older patches that adds a 'typeof' keyword for set > > > definitions, maybe it could be used for this casting too. > > > > These? > > > > https://lore.kernel.org/netfilter-devel/20190816144241.11469-1-fw@strlen.de/ > > Yes, still did not yet have time to catch up and implement what Pablo > suggested though. I'll take a look. Thanks for the pointers, Florian. J.