aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_netfilter_hooks.c
diff options
context:
space:
mode:
authorMáté Eckl <ecklm94@gmail.com>2018-08-03 13:36:13 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-03 21:15:09 +0200
commit94276fa8a2a4c08ccb2e9d55e88b95dc972ccea3 (patch)
tree3ff5e703ba7378d404433eec69a48dfc6675fee9 /net/bridge/br_netfilter_hooks.c
parentnetfilter: nf_tables: match on tunnel metadata (diff)
downloadlinux-dev-94276fa8a2a4c08ccb2e9d55e88b95dc972ccea3.tar.xz
linux-dev-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 'net/bridge/br_netfilter_hooks.c')
-rw-r--r--net/bridge/br_netfilter_hooks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c
index 9b16eaf33819..6e0dc6bcd32a 100644
--- a/net/bridge/br_netfilter_hooks.c
+++ b/net/bridge/br_netfilter_hooks.c
@@ -26,6 +26,7 @@
#include <linux/if_pppox.h>
#include <linux/ppp_defs.h>
#include <linux/netfilter_bridge.h>
+#include <uapi/linux/netfilter_bridge.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv6.h>
#include <linux/netfilter_arp.h>