summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_owner.h
blob: eacd34efebd51ec818eb94ccf55e4dd6b63c3e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 */