All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 nft] mnl: query netdevices for in/egress hooks
@ 2024-08-20 22:12 Florian Westphal
  2024-08-20 22:12 ` [PATCH nft 1/2] src: mnl: prepare for listing all device netdev device hooks Florian Westphal
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Westphal @ 2024-08-20 22:12 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Westphal

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-21  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 22:12 [PATCH 0/2 nft] mnl: query netdevices for in/egress hooks Florian Westphal
2024-08-20 22:12 ` [PATCH nft 1/2] src: mnl: prepare for listing all device netdev device hooks Florian Westphal
2024-08-20 22:12 ` [PATCH nft 2/2] src: mnl: always dump all netdev hooks if no interface name was given Florian Westphal
2024-08-21  8:48 ` [PATCH 0/2 nft] mnl: query netdevices for in/egress hooks Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.