netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libxt_owner.c File Reference
#include <grp.h>
#include <pwd.h>
#include <stdbool.h>
#include <stdio.h>
#include <limits.h>
#include <xtables.h>
#include <linux/netfilter/xt_owner.h>
Include dependency graph for libxt_owner.c:

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)
 

Macro Definition Documentation

#define s   struct ipt_owner_info
#define s   struct ip6t_owner_info

Enumeration Type Documentation

anonymous enum
Enumerator
IPT_OWNER_UID 
IPT_OWNER_GID 
IPT_OWNER_PID 
IPT_OWNER_SID 
IPT_OWNER_COMM 
IP6T_OWNER_UID 
IP6T_OWNER_GID 
IP6T_OWNER_PID 
IP6T_OWNER_SID 
IP6T_OWNER_COMM 
anonymous enum
Enumerator
O_USER 
O_GROUP 
O_SOCK_EXISTS 
O_PROCESS 
O_SESSION 
O_COMM 

Function Documentation

void _init ( void  )

References ARRAY_SIZE, and xtables_register_matches().

Here is the call graph for this function: