Home | History | Annotate | Download | only in extensions

Lines Matching refs:match

85 "recent match options:\n"
87 "[!] --rcheck Match if source address in list.\n"
88 "[!] --update Match if source address in list, also update last-seen time.\n"
89 "[!] --remove Match if source address in list, also removes that address from list.\n"
91 " Specifies that the match will only occur if source address last seen within\n"
96 " Specifies that the match will only occur if source address seen hits times.\n"
99 " Specifies that the match will only occur if the source address and the TTL\n"
100 " match between this packet and the one which was set.\n"
104 " --rsource Match/Save the source address of each packet in the recent list table (default).\n"
105 " --rdest Match/Save the destination address of each packet in the recent list table.\n"
115 static void recent_init(struct xt_entry_match *match, unsigned int rev)
117 struct xt_recent_mtinfo *info = (struct xt_recent_mtinfo *)match->data;
119 (struct xt_recent_mtinfo_v1 *)match->data;
179 static void recent_print(const void *ip, const struct xt_entry_match *match,
182 const struct xt_recent_mtinfo_v1 *info = (const void *)match->data;
201 printf(" TTL-Match");
220 static void recent_save(const void *ip, const struct xt_entry_match *match,
223 const struct xt_recent_mtinfo_v1 *info = (const void *)match->data;
261 static void recent_init_v0(struct xt_entry_match *match)
263 recent_init(match, XT_RECENT_REV_0);
266 static void recent_init_v1(struct xt_entry_match *match)
268 recent_init(match, XT_RECENT_REV_1);
271 static void recent_save_v0(const void *ip, const struct xt_entry_match *match)
273 recent_save(ip, match, NFPROTO_UNSPEC);
276 static void recent_save_v4(const void *ip, const struct xt_entry_match *match)
278 recent_save(ip, match, NFPROTO_IPV4);
281 static void recent_save_v6(const void *ip, const struct xt_entry_match *match)
283 recent_save(ip, match, NFPROTO_IPV6);
286 static void recent_print_v0(const void *ip, const struct xt_entry_match *match,
289 recent_print(ip, match, NFPROTO_UNSPEC);
292 static void recent_print_v4(const void *ip, const struct xt_entry_match *match,
295 recent_print(ip, match, NFPROTO_IPV4);
298 static void recent_print_v6(const void *ip, const struct xt_entry_match *match,
301 recent_print(ip, match, NFPROTO_IPV6);