"match mark" to route::u32 filter - patch

Sagi Lowenhardt sagil at infinidat.com
Wed Nov 5 07:34:57 PST 2014


Hi all,

attached is a patch to create 'match mark' u32 filters (route/cls)
In order to do so one should use : `rtnl_u32_add_mark` providing the 
`cls`, mark `value` and `mask`.
If no selector applied, `rtnl_u32_set_flags` in order to set 
`U32_ATTR_SELECTOR` (otherwise cls addition will be rejected).

have fun.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u32_mark_patch
Type: text/x-patch
Size: 3882 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20141105/68a9067e/attachment.bin>


More information about the libnl mailing list