Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xt_set.h
Go to the documentation of this file.
1 #ifndef _XT_SET_H
2 #define _XT_SET_H
3 
4 #include <linux/types.h>
5 #include <linux/netfilter/ipset/ip_set.h>
6 
7 /* Revision 0 interface: backward compatible with netfilter/iptables */
8 
9 /*
10  * Option flags for kernel operations (xt_set_info_v0)
11  */
12 #define IPSET_SRC 0x01 /* Source match/add */
13 #define IPSET_DST 0x02 /* Destination match/add */
14 #define IPSET_MATCH_INV 0x04 /* Inverse matching */
15 
18  union {
20  struct {
24  } compat;
25  } u;
26 };
27 
28 /* match and target infos */
31 };
32 
36 };
37 
38 /* Revision 1 match and target */
39 
40 struct xt_set_info {
44 };
45 
46 /* match and target infos */
49 };
50 
54 };
55 
56 /* Revision 2 target */
57 
63 };
64 
65 #endif /*_XT_SET_H*/