Lines Matching full:info
98 struct ipt_iprange_info *info = cb->data;
104 info->flags |= IPRANGE_SRC;
106 info->flags |= IPRANGE_SRC_INV;
109 info->src.min_ip = range[0].ip;
110 info->src.max_ip = range[1].ip;
113 info->flags |= IPRANGE_DST;
115 info->flags |= IPRANGE_DST_INV;
118 info->dst.min_ip = range[0].ip;
119 info->dst.max_ip = range[1].ip;
126 struct xt_iprange_mtinfo *info = cb->data;
131 iprange_parse_range(cb->arg, &info->src_min, nfproto,
133 info->flags |= IPRANGE_SRC;
135 info->flags |= IPRANGE_SRC_INV;
138 iprange_parse_range(cb->arg, &info->dst_min, nfproto,
140 info->flags |= IPRANGE_DST;
142 info->flags |= IPRANGE_DST_INV;
179 const struct ipt_iprange_info *info = (const void *)match->data;
181 if (info->flags & IPRANGE_SRC) {
183 if (info->flags & IPRANGE_SRC_INV)
185 print_iprange(&info->src);
187 if (info->flags & IPRANGE_DST) {
189 if (info->flags & IPRANGE_DST_INV)
191 print_iprange(&info->dst);
199 const struct xt_iprange_mtinfo *info = (const void *)match->data;
201 if (info->flags & IPRANGE_SRC) {
203 if (info->flags & IPRANGE_SRC_INV)
209 printf(" %s", xtables_ipaddr_to_numeric(&info->src_min.in));
210 printf("-%s", xtables_ipaddr_to_numeric(&info->src_max.in));
212 if (info->flags & IPRANGE_DST) {
214 if (info->flags & IPRANGE_DST_INV)
216 printf(" %s", xtables_ipaddr_to_numeric(&info->dst_min.in));
217 printf("-%s", xtables_ipaddr_to_numeric(&info->dst_max.in));
225 const struct xt_iprange_mtinfo *info = (const void *)match->data;
227 if (info->flags & IPRANGE_SRC) {
229 if (info->flags & IPRANGE_SRC_INV)
235 printf(" %s", xtables_ip6addr_to_numeric(&info->src_min.in6));
236 printf("-%s", xtables_ip6addr_to_numeric(&info->src_max.in6));
238 if (info->flags & IPRANGE_DST) {
240 if (info->flags & IPRANGE_DST_INV)
242 printf(" %s", xtables_ip6addr_to_numeric(&info->dst_min.in6));
243 printf("-%s", xtables_ip6addr_to_numeric(&info->dst_max.in6));
249 const struct ipt_iprange_info *info = (const void *)match->data;
251 if (info->flags & IPRANGE_SRC) {
252 if (info->flags & IPRANGE_SRC_INV)
255 print_iprange(&info->src);
257 if (info->flags & IPRANGE_DST) {
258 if (info->flags & IPRANGE_DST_INV)
261 print_iprange(&info->dst);
267 const struct xt_iprange_mtinfo *info = (const void *)match->data;
269 if (info->flags & IPRANGE_SRC) {
270 if (info->flags & IPRANGE_SRC_INV)
273 xtables_ipaddr_to_numeric(&info->src_min.in));
274 printf("-%s", xtables_ipaddr_to_numeric(&info->src_max.in));
276 if (info->flags & IPRANGE_DST) {
277 if (info->flags & IPRANGE_DST_INV)
280 xtables_ipaddr_to_numeric(&info->dst_min.in));
281 printf("-%s", xtables_ipaddr_to_numeric(&info->dst_max.in));
287 const struct xt_iprange_mtinfo *info = (const void *)match->data;
289 if (info->flags & IPRANGE_SRC) {
290 if (info->flags & IPRANGE_SRC_INV)
293 xtables_ip6addr_to_numeric(&info->src_min.in6));
294 printf("-%s", xtables_ip6addr_to_numeric(&info->src_max.in6));
296 if (info->flags & IPRANGE_DST) {
297 if (info->flags & IPRANGE_DST_INV)
300 xtables_ip6addr_to_numeric(&info->dst_min.in6));
301 printf("-%s", xtables_ip6addr_to_numeric(&info->dst_max.in6));
321 const struct ipt_iprange_info *info = (const void *)params->match->data;
324 if (info->flags & IPRANGE_SRC) {
326 info->flags & IPRANGE_SRC_INV ? " !=" : "");
327 print_iprange_xlate(&info->src, xl);
330 if (info->flags & IPRANGE_DST) {
332 info->flags & IPRANGE_DST_INV ? " !=" : "");
333 print_iprange_xlate(&info->dst, xl);
342 const struct xt_iprange_mtinfo *info =
346 if (info->flags & IPRANGE_SRC) {
348 info->flags & IPRANGE_SRC_INV ? " !=" : "",
349 xtables_ipaddr_to_numeric(&info->src_min.in));
351 xtables_ipaddr_to_numeric(&info->src_max.in));
354 if (info->flags & IPRANGE_DST) {
356 info->flags & IPRANGE_DST_INV ? " !=" : "",
357 xtables_ipaddr_to_numeric(&info->dst_min.in));
359 xtables_ipaddr_to_numeric(&info->dst_max.in));
368 const struct xt_iprange_mtinfo *info =
372 if (info->flags & IPRANGE_SRC) {
374 info->flags & IPRANGE_SRC_INV ? " !=" : "",
375 xtables_ip6addr_to_numeric(&info->src_min.in6));
377 xtables_ip6addr_to_numeric(&info->src_max.in6));
380 if (info->flags & IPRANGE_DST) {
382 info->flags & IPRANGE_DST_INV ? " !=" : "",
383 xtables_ip6addr_to_numeric(&info->dst_min.in6));
385 xtables_ip6addr_to_numeric(&info->dst_max.in6));