mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Arnd Bergmann](/assets/img/avatar_default.png)
Netfilter traditionally uses BSD integer types in its interface headers. This changes it to use the Linux strict integer types, like everyone else. Cc: netfilter-devel@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 lines
306 B
C
18 lines
306 B
C
#ifndef _XT_OWNER_MATCH_H
|
|
#define _XT_OWNER_MATCH_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum {
|
|
XT_OWNER_UID = 1 << 0,
|
|
XT_OWNER_GID = 1 << 1,
|
|
XT_OWNER_SOCKET = 1 << 2,
|
|
};
|
|
|
|
struct xt_owner_match_info {
|
|
__u32 uid_min, uid_max;
|
|
__u32 gid_min, gid_max;
|
|
__u8 match, invert;
|
|
};
|
|
|
|
#endif /* _XT_OWNER_MATCH_H */
|