Lines Matching refs:match
30 printf("set match options:\n"
31 " [!] --match-set name flags\n"
32 " 'name' is the set name from to match,\n"
38 {.name = "match-set", .has_arg = true, .val = '1'},
48 "You must specify `--match-set' with proper arguments");
53 const void *entry, struct xt_entry_match **match)
56 (struct xt_set_info_match_v0 *) (*match)->data;
62 "--set option deprecated, please use --match-set\n");
63 case '1': /* --match-set <set> <flag>[,<flag> */
66 "--match-set can be specified only once");
74 "--match-set requires two args.");
115 set_print_v0(const void *ip, const struct xt_entry_match *match, int numeric)
117 const struct xt_set_info_match_v0 *info = (const void *)match->data;
119 print_match_v0("match-set", &info->match_set);
123 set_save_v0(const void *ip, const struct xt_entry_match *match)
125 const struct xt_set_info_match_v0 *info = (const void *)match->data;
127 print_match_v0("--match-set", &info->match_set);
133 const void *entry, struct xt_entry_match **match)
136 (struct xt_set_info_match_v1 *) (*match)->data;
142 "--set option deprecated, please use --match-set\n");
143 case '1': /* --match-set <set> <flag>[,<flag> */
146 "--match-set can be specified only once");
154 "--match-set requires two args.");
193 set_print_v1(const void *ip, const struct xt_entry_match *match, int numeric)
195 const struct xt_set_info_match_v1 *info = (const void *)match->data;
197 print_match("match-set", &info->match_set);
201 set_save_v1(const void *ip, const struct xt_entry_match *match)
203 const struct xt_set_info_match_v1 *info = (const void *)match->data;
205 print_match("--match-set", &info->match_set);
212 printf("set match options:\n"
213 " [!] --match-set name flags [--return-nomatch]\n"
214 " 'name' is the set name from to match,\n"
220 {.name = "match-set", .has_arg = true, .val = '1'},
228 const void *entry, struct xt_entry_match **match)
231 (struct xt_set_info_match_v1 *) (*match)->data;
240 "--set option deprecated, please use --match-set\n");
241 case '1': /* --match-set <set> <flag>[,<flag> */
244 "--match-set can be specified only once");
252 "--match-set requires two args.");
273 set_print_v2(const void *ip, const struct xt_entry_match *match, int numeric)
275 const struct xt_set_info_match_v1 *info = (const void *)match->data;
277 print_match("match-set", &info->match_set);
283 set_save_v2(const void *ip, const struct xt_entry_match *match)
285 const struct xt_set_info_match_v1 *info = (const void *)match->data;
287 print_match("--match-set", &info->match_set);
296 printf("set match options:\n"
297 " [!] --match-set name flags [--return-nomatch]\n"
301 " 'name' is the set name from to match,\n"
307 {.name = "match-set", .has_arg = true, .val = '1'},
335 const void *entry, struct xt_entry_match **match)
338 (struct xt_set_info_match_v3 *) (*match)->data;
417 "--set option deprecated, please use --match-set\n");
418 case '1': /* --match-set <set> <flag>[,<flag> */
421 "--match-set can be specified only once");
429 "--match-set requires two args.");
485 set_print_v3(const void *ip, const struct xt_entry_match *match, int numeric)
487 const struct xt_set_info_match_v3 *info = (const void *)match->data;
489 set_print_v3_matchinfo(info, "match-set", "");
493 set_save_v3(const void *ip, const struct xt_entry_match *match)
495 const struct xt_set_info_match_v3 *info = (const void *)match->data;
497 set_print_v3_matchinfo(info, "--match-set", "--");