#include <grp.h>
#include <pwd.h>
#include <stdbool.h>
#include <stdio.h>
#include <limits.h>
#include <xtables.h>
#include <linux/netfilter/xt_owner.h>
Data Structures | |
struct | ipt_owner_info |
struct | ip6t_owner_info |
Macros | |
#define | s struct ipt_owner_info |
#define | s struct ip6t_owner_info |
Enumerations | |
enum | { IPT_OWNER_UID = 0x01, IPT_OWNER_GID = 0x02, IPT_OWNER_PID = 0x04, IPT_OWNER_SID = 0x08, IPT_OWNER_COMM = 0x10, IP6T_OWNER_UID = IPT_OWNER_UID, IP6T_OWNER_GID = IPT_OWNER_GID, IP6T_OWNER_PID = IPT_OWNER_PID, IP6T_OWNER_SID = IPT_OWNER_SID, IP6T_OWNER_COMM = IPT_OWNER_COMM } |
enum | { O_USER = 0, O_GROUP, O_SOCK_EXISTS, O_PROCESS, O_SESSION, O_COMM } |
Functions | |
void | _init (void) |
#define s struct ipt_owner_info |
#define s struct ip6t_owner_info |
anonymous enum |
void _init | ( | void | ) |