diff options
| author | Florian Westphal <fw@strlen.de> | 2024-07-31 18:51:02 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2024-08-19 14:00:36 +0200 |
| commit | 194dc496177a8197c617743ba3cce7f4dc8fffa7 (patch) | |
| tree | 7fd9cb65cd723efa76e746bb41382ef96c92ec24 /include | |
| parent | af712117df54d8620ed046d19a37ee62516d5f38 (diff) | |
src: mnl: make family specification more strict when listing
make "nft list hooks <family>" more strict.
nft list hooks: query/list all NFPROTO_XXX values, i.e.
arp, bridge, ipv4, ipv6.
If a device is also given, then do include the netdev family for
the given device as well.
"nft list hooks arp" will only dump the hooks registered
for NFPROTO_ARP (or nothing at all if none are active).
"bridge", "ip", "ip6" will list the pre/in/forward/output/postrouting
hooks for these families, if any.
"inet" serves as an alias for "ip" and "ip6".
Link: https://lore.kernel.org/netfilter-devel/20240729153211.GA26048@breakpoint.cc/
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
