This patchset adds a new iterator helper that allows to query the existing interface cache. Then it extends 'list hooks' to automatically query all active interface for netdev hooks. This is done for 'list hooks' and 'list hooks netdev'. If a device name is given, only that device is queried. Florian Westphal (2): src: mnl: prepare for listing all device netdev device hooks src: mnl: always dump all netdev hooks if no interface name was given doc/additional-commands.txt | 8 ++--- include/iface.h | 2 ++ src/iface.c | 17 +++++++++++ src/mnl.c | 58 ++++++++++++++++++++++++++++++------- 4 files changed, 71 insertions(+), 14 deletions(-) -- 2.44.2