Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xt_addrtype.h
Go to the documentation of this file.
1 #ifndef _XT_ADDRTYPE_H
2 #define _XT_ADDRTYPE_H
3 
4 #include <linux/types.h>
5 
6 enum {
11 };
12 
13 
14 /* rtn_type enum values from rtnetlink.h, but shifted */
15 enum {
17  XT_ADDRTYPE_UNICAST = 1 << 1, /* 1 << RTN_UNICAST */
18  XT_ADDRTYPE_LOCAL = 1 << 2, /* 1 << RTN_LOCAL, etc */
26  XT_ADDRTYPE_NAT = 1 << 10,
28 };
29 
31  __u16 source; /* source-type mask */
32  __u16 dest; /* dest-type mask */
34 };
35 
36 /* revision 0 */
38  __u16 source; /* source-type mask */
39  __u16 dest; /* dest-type mask */
42 };
43 
44 #endif