netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
xt_set.c File Reference
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/ipset/ip_set.h>
#include <linux/netfilter/ipset/ip_set_timeout.h>
#include <uapi/linux/netfilter/xt_set.h>
Include dependency graph for xt_set.c:

Macros

#define CHECK_OK   0
 
#define CHECK_FAIL(err)   (err)
 
#define CONST
 
#define FTYPE   int
 
#define XT_PAR_NET(par)   NULL
 
#define ADT_OPT(n, f, d, fs, cfs, t)
 
#define set_match_v3_checkentry   set_match_v1_checkentry
 
#define set_match_v3_destroy   set_match_v1_destroy
 
#define set_match_v4_checkentry   set_match_v1_checkentry
 
#define set_match_v4_destroy   set_match_v1_destroy
 
#define CAST_TO_MATCH
 
#define set_target_v2_checkentry   set_target_v1_checkentry
 
#define set_target_v2_destroy   set_target_v1_destroy
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>")
 
 MODULE_DESCRIPTION ("Xtables: IP set match and target module")
 
 MODULE_ALIAS ("xt_SET")
 
 MODULE_ALIAS ("ipt_set")
 
 MODULE_ALIAS ("ip6t_set")
 
 MODULE_ALIAS ("ipt_SET")
 
 MODULE_ALIAS ("ip6t_SET")
 
 module_init (xt_set_init)
 
 module_exit (xt_set_fini)
 

Macro Definition Documentation

#define ADT_OPT (   n,
  f,
  d,
  fs,
  cfs,
 
)
Value:
struct ip_set_adt_opt n = { \
.family = f, \
.dim = d, \
.flags = fs, \
.cmdflags = cfs, \
.ext.timeout = t, \
}
Definition: ip_set.h:139
u8 family
Definition: ip_set.h:140
#define CAST_TO_MATCH
#define CHECK_FAIL (   err)    (err)
#define CHECK_OK   0
#define CONST
#define FTYPE   int
#define set_match_v3_checkentry   set_match_v1_checkentry
#define set_match_v3_destroy   set_match_v1_destroy
#define set_match_v4_checkentry   set_match_v1_checkentry
#define set_match_v4_destroy   set_match_v1_destroy
#define set_target_v2_checkentry   set_target_v1_checkentry
#define set_target_v2_destroy   set_target_v1_destroy
#define XT_PAR_NET (   par)    NULL

Function Documentation

MODULE_ALIAS ( "xt_SET"  )
MODULE_ALIAS ( "ipt_set"  )
MODULE_ALIAS ( "ip6t_set"  )
MODULE_ALIAS ( "ipt_SET"  )
MODULE_ALIAS ( "ip6t_SET"  )
MODULE_AUTHOR ( "Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>"  )
MODULE_DESCRIPTION ( "Xtables: IP set match and target module"  )
module_exit ( xt_set_fini  )
module_init ( xt_set_init  )
MODULE_LICENSE ( "GPL"  )