aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter/Kbuild1
-rw-r--r--include/linux/netfilter/xt_owner.h16
2 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/netfilter/Kbuild b/include/linux/netfilter/Kbuild
index b87e83a5e070..1e6900278318 100644
--- a/include/linux/netfilter/Kbuild
+++ b/include/linux/netfilter/Kbuild
@@ -26,6 +26,7 @@ header-y += xt_limit.h
26header-y += xt_mac.h 26header-y += xt_mac.h
27header-y += xt_mark.h 27header-y += xt_mark.h
28header-y += xt_multiport.h 28header-y += xt_multiport.h
29header-y += xt_owner.h
29header-y += xt_pkttype.h 30header-y += xt_pkttype.h
30header-y += xt_policy.h 31header-y += xt_policy.h
31header-y += xt_realm.h 32header-y += xt_realm.h
diff --git a/include/linux/netfilter/xt_owner.h b/include/linux/netfilter/xt_owner.h
new file mode 100644
index 000000000000..eacd34efebd5
--- /dev/null
+++ b/include/linux/netfilter/xt_owner.h
@@ -0,0 +1,16 @@
1#ifndef _XT_OWNER_MATCH_H
2#define _XT_OWNER_MATCH_H
3
4enum {
5 XT_OWNER_UID = 1 << 0,
6 XT_OWNER_GID = 1 << 1,
7 XT_OWNER_SOCKET = 1 << 2,
8};
9
10struct xt_owner_match_info {
11 u_int32_t uid;
12 u_int32_t gid;
13 u_int8_t match, invert;
14};
15
16#endif /* _XT_OWNER_MATCH_H */