Stephen Hemminger wrote: > Make socket filters work for netlink unicast and notifications. > This is useful for applications like Zebra that get overrun with > messages that are then ignored. > > Note: netlink messages are in host byte order, but packet filter > state machine operations are done as network byte order. Do you have an example for a filter for this? I have a similar patch that adds a new filter instruction for parsing netlink attributes, which seemed necessary for getting at nested attributes without too much trouble. Attached for reference together with a libnl testing patch for ctnetlink.