ipt_recent.h
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:1k
- #ifndef _IPT_RECENT_H
- #define _IPT_RECENT_H
- #define RECENT_NAME "ipt_recent"
- #define RECENT_VER "v0.3.1"
- #define IPT_RECENT_CHECK 1
- #define IPT_RECENT_SET 2
- #define IPT_RECENT_UPDATE 4
- #define IPT_RECENT_REMOVE 8
- #define IPT_RECENT_TTL 16
- #define IPT_RECENT_SOURCE 0
- #define IPT_RECENT_DEST 1
- #define IPT_RECENT_NAME_LEN 200
- struct ipt_recent_info {
- u_int32_t seconds;
- u_int32_t hit_count;
- u_int8_t check_set;
- u_int8_t invert;
- char name[IPT_RECENT_NAME_LEN];
- u_int8_t side;
- };
- #endif /*_IPT_RECENT_H*/