Home | History | Annotate | Download | only in extensions

Lines Matching refs:info

98 	struct ipt_iprange_info *info = cb->data;
104 info->flags |= IPRANGE_SRC;
106 info->flags |= IPRANGE_SRC_INV;
108 info->src.min_ip = range[0].ip;
109 info->src.max_ip = range[1].ip;
112 info->flags |= IPRANGE_DST;
114 info->flags |= IPRANGE_DST_INV;
116 info->dst.min_ip = range[0].ip;
117 info->dst.max_ip = range[1].ip;
124 struct xt_iprange_mtinfo *info = cb->data;
129 iprange_parse_range(cb->arg, &info->src_min, nfproto,
131 info->flags |= IPRANGE_SRC;
133 info->flags |= IPRANGE_SRC_INV;
136 iprange_parse_range(cb->arg, &info->dst_min, nfproto,
138 info->flags |= IPRANGE_DST;
140 info->flags |= IPRANGE_DST_INV;
177 const struct ipt_iprange_info *info = (const void *)match->data;
179 if (info->flags & IPRANGE_SRC) {
181 if (info->flags & IPRANGE_SRC_INV)
183 print_iprange(&info->src);
185 if (info->flags & IPRANGE_DST) {
187 if (info->flags & IPRANGE_DST_INV)
189 print_iprange(&info->dst);
197 const struct xt_iprange_mtinfo *info = (const void *)match->data;
199 if (info->flags & IPRANGE_SRC) {
201 if (info->flags & IPRANGE_SRC_INV)
207 printf(" %s", xtables_ipaddr_to_numeric(&info->src_min.in));
208 printf("-%s", xtables_ipaddr_to_numeric(&info->src_max.in));
210 if (info->flags & IPRANGE_DST) {
212 if (info->flags & IPRANGE_DST_INV)
214 printf(" %s", xtables_ipaddr_to_numeric(&info->dst_min.in));
215 printf("-%s", xtables_ipaddr_to_numeric(&info->dst_max.in));
223 const struct xt_iprange_mtinfo *info = (const void *)match->data;
225 if (info->flags & IPRANGE_SRC) {
227 if (info->flags & IPRANGE_SRC_INV)
233 printf(" %s", xtables_ip6addr_to_numeric(&info->src_min.in6));
234 printf("-%s", xtables_ip6addr_to_numeric(&info->src_max.in6));
236 if (info->flags & IPRANGE_DST) {
238 if (info->flags & IPRANGE_DST_INV)
240 printf(" %s", xtables_ip6addr_to_numeric(&info->dst_min.in6));
241 printf("-%s", xtables_ip6addr_to_numeric(&info->dst_max.in6));
247 const struct ipt_iprange_info *info = (const void *)match->data;
249 if (info->flags & IPRANGE_SRC) {
250 if (info->flags & IPRANGE_SRC_INV)
253 print_iprange(&info->src);
255 if (info->flags & IPRANGE_DST) {
256 if (info->flags & IPRANGE_DST_INV)
259 print_iprange(&info->dst);
265 const struct xt_iprange_mtinfo *info = (const void *)match->data;
267 if (info->flags & IPRANGE_SRC) {
268 if (info->flags & IPRANGE_SRC_INV)
270 printf(" --src-range %s", xtables_ipaddr_to_numeric(&info->src_min.in));
271 printf("-%s", xtables_ipaddr_to_numeric(&info->src_max.in));
273 if (info->flags & IPRANGE_DST) {
274 if (info->flags & IPRANGE_DST_INV)
276 printf(" --dst-range %s", xtables_ipaddr_to_numeric(&info->dst_min.in));
277 printf("-%s", xtables_ipaddr_to_numeric(&info->dst_max.in));
283 const struct xt_iprange_mtinfo *info = (const void *)match->data;
285 if (info->flags & IPRANGE_SRC) {
286 if (info->flags & IPRANGE_SRC_INV)
288 printf(" --src-range %s", xtables_ip6addr_to_numeric(&info->src_min.in6));
289 printf("-%s", xtables_ip6addr_to_numeric(&info->src_max.in6));
291 if (info->flags & IPRANGE_DST) {
292 if (info->flags & IPRANGE_DST_INV)
294 printf(" --dst-range %s", xtables_ip6addr_to_numeric(&info->dst_min.in6));
295 printf("-%s", xtables_ip6addr_to_numeric(&info->dst_max.in6));