Home | History | Annotate | Download | only in netfilter_ipv4
      1 #ifndef _IPT_RECENT_H
      2 #define _IPT_RECENT_H
      3 
      4 #define RECENT_NAME	"ipt_recent"
      5 #define RECENT_VER	"v0.3.1"
      6 
      7 #define IPT_RECENT_CHECK  1
      8 #define IPT_RECENT_SET    2
      9 #define IPT_RECENT_UPDATE 4
     10 #define IPT_RECENT_REMOVE 8
     11 #define IPT_RECENT_TTL   16
     12 
     13 #define IPT_RECENT_SOURCE 0
     14 #define IPT_RECENT_DEST   1
     15 
     16 #define IPT_RECENT_NAME_LEN 200
     17 
     18 struct ipt_recent_info {
     19 	u_int32_t   seconds;
     20 	u_int32_t   hit_count;
     21 	u_int8_t    check_set;
     22 	u_int8_t    invert;
     23 	char        name[IPT_RECENT_NAME_LEN];
     24 	u_int8_t    side;
     25 };
     26 
     27 #endif /*_IPT_RECENT_H*/
     28