1 #ifndef _IPT_ADDRTYPE_H 2 #define _IPT_ADDRTYPE_H 3 4 enum { 5 IPT_ADDRTYPE_INVERT_SOURCE = 0x0001, 6 IPT_ADDRTYPE_INVERT_DEST = 0x0002, 7 IPT_ADDRTYPE_LIMIT_IFACE_IN = 0x0004, 8 IPT_ADDRTYPE_LIMIT_IFACE_OUT = 0x0008, 9 }; 10 11 struct ipt_addrtype_info_v1 { 12 u_int16_t source; /* source-type mask */ 13 u_int16_t dest; /* dest-type mask */ 14 u_int32_t flags; 15 }; 16 17 /* revision 0 */ 18 struct ipt_addrtype_info { 19 u_int16_t source; /* source-type mask */ 20 u_int16_t dest; /* dest-type mask */ 21 u_int32_t invert_source; 22 u_int32_t invert_dest; 23 }; 24 25 #endif 26