Lines Matching refs:info
57 struct xt_set_info_v0 *info = &myinfo->match_set;
64 if (info->u.flags[0])
70 info->u.flags[0] |= IPSET_MATCH_INV;
83 get_set_byname(optarg, (struct xt_set_info *)info);
84 parse_dirs_v0(argv[optind], info);
85 DEBUGP("parse: set index %u\n", info->index);
96 print_match_v0(const char *prefix, const struct xt_set_info_v0 *info)
101 get_set_byid(setname, info->index);
103 (info->u.flags[0] & IPSET_MATCH_INV) ? " !" : "",
107 if (!info->u.flags[i])
111 info->u.flags[i] & IPSET_SRC ? "src" : "dst");
119 const struct xt_set_info_match_v0 *info = (const void *)match->data;
121 print_match_v0("match-set", &info->match_set);
127 const struct xt_set_info_match_v0 *info = (const void *)match->data;
129 print_match_v0("--match-set", &info->match_set);
144 struct xt_set_info *info = &myinfo->match_set;
151 if (info->dim)
157 info->flags |= IPSET_INV_MATCH;
170 get_set_byname(optarg, info);
171 parse_dirs(argv[optind], info);
172 DEBUGP("parse: set index %u\n", info->index);
183 print_match(const char *prefix, const struct xt_set_info *info)
188 get_set_byid(setname, info->index);
190 (info->flags & IPSET_INV_MATCH) ? " !" : "",
193 for (i = 1; i <= info->dim; i++) {
196 info->flags & (1 << i) ? "src" : "dst");
204 const struct xt_set_info_match_v1 *info = (const void *)match->data;
206 print_match("match-set", &info->match_set);
212 const struct xt_set_info_match_v1 *info = (const void *)match->data;
214 print_match("--match-set", &info->match_set);