Jeremy Sowden <jeremy@xxxxxxxxxx> 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@xxxxxxxxx/ Yes, still did not yet have time to catch up and implement what Pablo suggested though.