1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12#ifndef _IPT_RECENT_H 13#define _IPT_RECENT_H 14 15#define RECENT_NAME "ipt_recent" 16#define RECENT_VER "v0.3.1" 17 18#define IPT_RECENT_CHECK 1 19#define IPT_RECENT_SET 2 20#define IPT_RECENT_UPDATE 4 21#define IPT_RECENT_REMOVE 8 22#define IPT_RECENT_TTL 16 23 24#define IPT_RECENT_SOURCE 0 25#define IPT_RECENT_DEST 1 26 27#define IPT_RECENT_NAME_LEN 200 28 29struct ipt_recent_info { 30 u_int32_t seconds; 31 u_int32_t hit_count; 32 u_int8_t check_set; 33 u_int8_t invert; 34 char name[IPT_RECENT_NAME_LEN]; 35 u_int8_t side; 36}; 37 38#endif 39