Home
last modified time | relevance | path

Searched refs:xtables_strtoui (Results 1 – 24 of 24) sorted by relevance

/external/iptables/extensions/
Dlibebt_nflog.c83 if (!xtables_strtoui(optarg, NULL, &i, 1, UINT32_MAX)) in brnflog_parse()
90 if (!xtables_strtoui(optarg, NULL, &i, 1, UINT32_MAX)) in brnflog_parse()
97 if (!xtables_strtoui(optarg, NULL, &i, 1, UINT32_MAX)) in brnflog_parse()
Dlibxt_owner.c152 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt_parse_v0()
162 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt_parse_v0()
199 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt6_parse_v0()
209 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt6_parse_v0()
235 if (!xtables_strtoui(s, &end, from, 0, UINT32_MAX - 1)) in owner_parse_range()
239 if (!xtables_strtoui(end + 1, &end, to, 0, UINT32_MAX - 1)) in owner_parse_range()
Dlibip6t_REDIRECT.c47 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX) && in parse_ports()
58 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX) && in parse_ports()
Dlibip6t_MASQUERADE.c52 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX)) in parse_ports()
62 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX)) in parse_ports()
Dlibipt_icmp.c129 if (!xtables_strtoui(buffer, NULL, &number, 0, UINT8_MAX)) in parse_icmp()
134 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) in parse_icmp()
Dlibipt_REDIRECT.c48 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX) && in parse_ports()
59 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX) && in parse_ports()
Dlibipt_MASQUERADE.c53 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX)) in parse_ports()
63 if (!xtables_strtoui(end + 1, NULL, &maxport, 0, UINT16_MAX)) in parse_ports()
Dlibebt_ip6.c117 if (!xtables_strtoui(str, &next, &res[0], 0, 255)) in parse_range()
123 if (!xtables_strtoui(str, &next, &res[1], 0, 255)) in parse_range()
273 if (!xtables_strtoui(mask, NULL, &bits, 0, 128)) in parse_ip6_mask()
370 if (!xtables_strtoui(optarg, &end, &i, 0, 255)) in brip6_parse()
Dlibip6t_icmp6.c109 if (!xtables_strtoui(buffer, NULL, &number, 0, UINT8_MAX)) in parse_icmpv6()
114 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) in parse_icmpv6()
Dlibxt_rateest.c186 if (!xtables_strtoui(argv[optind], NULL, &val, 0, UINT32_MAX)) in rateest_parse()
233 if (!xtables_strtoui(argv[optind], NULL, &val, 0, UINT32_MAX)) in rateest_parse()
Dlibxt_LED.c61 else if (!xtables_strtoui(cb->arg, NULL, &led->delay, 0, UINT32_MAX)) in LED_parse()
Dlibxt_TCPOPTSTRIP.c90 !xtables_strtoui(arg, NULL, &option, 0, UINT8_MAX)) in parse_list()
Dlibxt_SET.c315 if (!xtables_strtoui(optarg, NULL, &timeout, 0, UINT32_MAX - 1)) in set_target_parse_v2()
449 if (!xtables_strtoui(optarg, NULL, &timeout, 0, UINT32_MAX - 1)) in set_target_parse_v3()
Dlibip6t_mh.c98 if (!xtables_strtoui(name, NULL, &number, 0, UINT8_MAX)) in name_to_type()
Dlibxt_u32.c94 if (!xtables_strtoui(*s, &end, &number, 0, UINT32_MAX) || in parse_number()
Dlibebt_ip.c274 if (!xtables_strtoui(str, &next, &res[0], 0, 255)) in parse_range()
280 if (!xtables_strtoui(str, &next, &res[1], 0, 255)) in parse_range()
Dlibxt_tcp.c122 if (!xtables_strtoui(option, NULL, &ret, 1, UINT8_MAX)) in parse_tcp_option()
/external/iptables/libxtables/
Dxtables.c483 bool xtables_strtoui(const char *s, char **end, unsigned int *value, in xtables_strtoui() function
509 if (xtables_strtoui(port, NULL, &portnum, 0, UINT16_MAX) || in xtables_parse_port()
1445 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1456 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1464 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1555 if (!xtables_strtoui(mask, NULL, &bits, 0, 32)) in parse_ipmask()
1850 if (!xtables_strtoui(mask, NULL, &bits, 0, 128)) in parse_ip6mask()
2044 if (xtables_strtoui(s, NULL, &proto, 0, UINT8_MAX)) in xtables_parse_protocol()
2128 if (!xtables_strtoui(cb->arg, &end, val, 0, UINT32_MAX)) { in xtables_parse_val_mask()
2145 if (!xtables_strtoui(end + 1, &end, mask, 0, UINT32_MAX)) in xtables_parse_val_mask()
Dxtoptions.c383 xtables_strtoui(str, &end, &value, 0, max); in tos_parse_numeric()
390 if (!xtables_strtoui(p, &end, &value, 0, max)) in tos_parse_numeric()
411 if (xtables_strtoui(cb->arg, &tmp, NULL, 0, UINT8_MAX)) { in xtopt_parse_tosmask()
462 if (!xtables_strtoui(cb->arg, NULL, &num, 0, 7)) { in xtopt_parse_sysloglevel()
691 if (!xtables_strtoui(cb->arg, NULL, &prefix_len, 0, cb->val.hlen)) { in xtopt_parse_plen()
/external/iptables/iptables/
Dxshared.c74 if (xtables_strtoui(pname, NULL, &proto, 0, UINT8_MAX)) { in find_proto()
772 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
Dxtables-eb-translate.c60 if (!xtables_strtoui(rule, NULL, &rule_nr, 1, INT_MAX)) in parse_rule_number()
Dxtables-eb.c135 if (!xtables_strtoui(rule, NULL, &rule_nr, 1, INT_MAX)) in parse_rule_number()
/external/iproute2/include/
Dxtables.h449 extern bool xtables_strtoui(const char *, char **, unsigned int *,
/external/iptables/include/
Dxtables.h488 extern bool xtables_strtoui(const char *, char **, unsigned int *,