diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-01-20 13:21:38 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-01-20 13:21:38 +0000 |
commit | 5c5cd885daf43256f7bd24a3a698306764438145 (patch) | |
tree | aaf730a96d73a6dfa0a84db89a84799b86decc30 /include/linux/netfilter | |
parent | aafd269675fc45bac6340027c866ea6073643c3b (diff) |
libxt_owner
libxt_owner merges libipt_owner and libip6t_owner, and adds support
for the xt_owner match revision 1.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r-- | include/linux/netfilter/xt_owner.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_owner.h b/include/linux/netfilter/xt_owner.h new file mode 100644 index 00000000..eacd34ef --- /dev/null +++ b/include/linux/netfilter/xt_owner.h @@ -0,0 +1,16 @@ +#ifndef _XT_OWNER_MATCH_H +#define _XT_OWNER_MATCH_H + +enum { + XT_OWNER_UID = 1 << 0, + XT_OWNER_GID = 1 << 1, + XT_OWNER_SOCKET = 1 << 2, +}; + +struct xt_owner_match_info { + u_int32_t uid; + u_int32_t gid; + u_int8_t match, invert; +}; + +#endif /* _XT_OWNER_MATCH_H */ |