diff options
author | 2018-08-03 13:36:13 +0200 | |
---|---|---|
committer | 2018-08-03 21:15:09 +0200 | |
commit | 94276fa8a2a4c08ccb2e9d55e88b95dc972ccea3 (patch) | |
tree | 3ff5e703ba7378d404433eec69a48dfc6675fee9 /include/linux/netfilter_bridge.h | |
parent | netfilter: nf_tables: match on tunnel metadata (diff) | |
download | linux-94276fa8a2a4c08ccb2e9d55e88b95dc972ccea3.tar.gz linux-94276fa8a2a4c08ccb2e9d55e88b95dc972ccea3.tar.bz2 linux-94276fa8a2a4c08ccb2e9d55e88b95dc972ccea3.zip |
netfilter: bridge: Expose nf_tables bridge hook priorities through uapi
Netfilter exposes standard hook priorities in case of ipv4, ipv6 and
arp but not in case of bridge.
This patch exposes the hook priority values of the bridge family (which are
different from the formerly mentioned) via uapi so that they can be used by
user-space applications just like the others.
Signed-off-by: Máté Eckl <ecklm94@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter_bridge.h')
-rw-r--r-- | include/linux/netfilter_bridge.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/netfilter_bridge.h b/include/linux/netfilter_bridge.h index b671fdfd212b..fa0686500970 100644 --- a/include/linux/netfilter_bridge.h +++ b/include/linux/netfilter_bridge.h @@ -5,17 +5,6 @@ #include <uapi/linux/netfilter_bridge.h> #include <linux/skbuff.h> -enum nf_br_hook_priorities { - NF_BR_PRI_FIRST = INT_MIN, - NF_BR_PRI_NAT_DST_BRIDGED = -300, - NF_BR_PRI_FILTER_BRIDGED = -200, - NF_BR_PRI_BRNF = 0, - NF_BR_PRI_NAT_DST_OTHER = 100, - NF_BR_PRI_FILTER_OTHER = 200, - NF_BR_PRI_NAT_SRC = 300, - NF_BR_PRI_LAST = INT_MAX, -}; - #if IS_ENABLED(CONFIG_BRIDGE_NETFILTER) int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb); |