route_bench: Filter out all responses.

Install a socket filter to reduce the pure netlink overhead.

Unfortunately the libmnl library does not provide a way to
set socket options that are of level other than SOL_NETLINK.

So we hack it by knowing some things about libmnl internals.

Signed-off-by: David S. Miller <>
1 file changed
tree: 495cc67fceb93865c88f6e0813169b439da2d927
  1. Makefile
  2. route_bench.c
  3. udpflood.c