diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-08-06 12:33:57 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-08-06 17:07:41 +0200 |
commit | 269fc69533de73a9065c0b7971bcd109880290b3 (patch) | |
tree | a5b3b789114719e8dfcafadc84cf9b77b63f67b3 /include/net | |
parent | netfilter: conntrack: remove offload_pickup sysctl again (diff) | |
download | linux-269fc69533de73a9065c0b7971bcd109880290b3.tar.xz linux-269fc69533de73a9065c0b7971bcd109880290b3.zip |
netfilter: nfnetlink_hook: translate inet ingress to netdev
The NFPROTO_INET pseudofamily is not exposed through this new netlink
interface. The netlink dump either shows NFPROTO_IPV4 or NFPROTO_IPV6
for NFPROTO_INET prerouting/input/forward/output/postrouting hooks.
The NFNLA_CHAIN_FAMILY attribute provides the family chain, which
specifies if this hook applies to inet traffic only (either IPv4 or
IPv6).
Translate the inet/ingress hook to netdev/ingress to fully hide the
NFPROTO_INET implementation details.
Fixes: e2cf17d3774c ("netfilter: add new hook nfnl subsystem")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions