Skip to content

mnl: query netdevices for in/egress hooks

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2src: mnl: prepare for listing all device netdev device hookssrc/mnl.c+26 -30 replies
2/2src: mnl: always dump all netdev hooks if no interface name was givendoc/additional-commands.txt include/iface.h src/iface.c +1 more+45 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2 nft] mnl: query netdevices for in/egress hooks

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(-)
Signature · 1 line
2.44.2