Routing rules: Mask value for firewall mark

Thomas Graf tgraf at
Thu Oct 28 19:15:32 EDT 2010

On Mon, Oct 25, 2010 at 04:10:30AM -0700, Joerg Pommnitz wrote:
> Replying to myself: it seems the support is completely missing.
> Looking at fib_rules.c in the kernel, FWMASK is an independent
> attribute. Grep for "FWMASK" over the libnl sources doesn't find
> anything. Seems strange, because fib_rules.c is (c) Thomas Graf.

Seems no one ever needed this. I've written libnl rule.c before
adding mark support to the kernel so it wasn't included so far.

This is trivial through, I'll add it in the next day or two.

Thanks for pointing it out Joerg.

More information about the libnl mailing list