On 6/10/19 3:45 PM, Stefano Brivio wrote: > Indeed, we don't have to add much: just make this work for IPv4 too, > honour NLM_F_MATCH, and skip filtering (further optimisation) on > NLM_F_DUMP_FILTERED in iproute2 (ip neigh already uses that).
you can't. Not all of iproute2's filter options are handled by the kernel (and nor should they be).