Home
last modified time | relevance | path

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

/external/iptables/extensions/
Dlibxt_owner.c149 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt_parse_v0()
159 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt_parse_v0()
196 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt6_parse_v0()
206 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1)) in owner_mt6_parse_v0()
232 if (!xtables_strtoui(s, &end, from, 0, UINT32_MAX - 1)) in owner_parse_range()
236 if (!xtables_strtoui(end + 1, &end, to, 0, UINT32_MAX - 1)) in owner_parse_range()
Dlibip6t_MASQUERADE.c48 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()
Dlibxt_devgroup.c51 ok = xtables_strtoui(arg, &end, group, 0, UINT32_MAX); in devgroup_parse_groupspec()
54 ok = xtables_strtoui(end + 1, NULL, mask, in devgroup_parse_groupspec()
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()
Dlibipt_MASQUERADE.c49 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_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()
Dlibip6t_icmp6.c129 if (!xtables_strtoui(buffer, NULL, &number, 0, UINT8_MAX)) in parse_icmpv6()
134 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) in parse_icmpv6()
Dlibipt_icmp.c153 if (!xtables_strtoui(buffer, NULL, &number, 0, UINT8_MAX)) in parse_icmp()
158 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) in parse_icmp()
Dlibxt_LED.c62 else if (!xtables_strtoui(cb->arg, NULL, &led->delay, 0, UINT32_MAX)) in LED_parse()
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_TCPOPTSTRIP.c75 !xtables_strtoui(arg, NULL, &option, 0, UINT8_MAX)) in parse_list()
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()
Dlibxt_SET.c311 if (!xtables_strtoui(optarg, NULL, &timeout, 0, UINT32_MAX - 1)) in set_target_parse_v2()
Dlibxt_tcp.c122 if (!xtables_strtoui(option, NULL, &ret, 1, UINT8_MAX)) in parse_tcp_option()
/external/iptables/libxtables/
Dxtoptions.c379 xtables_strtoui(str, &end, &value, 0, max); in tos_parse_numeric()
386 if (!xtables_strtoui(p, &end, &value, 0, max)) in tos_parse_numeric()
407 if (xtables_strtoui(cb->arg, &tmp, NULL, 0, UINT8_MAX)) { in xtopt_parse_tosmask()
434 if (!xtables_strtoui(cb->arg, &end, &mark, 0, UINT32_MAX)) in xtopt_parse_markmask()
440 !xtables_strtoui(end + 1, &end, &mask, 0, UINT32_MAX)) in xtopt_parse_markmask()
478 if (!xtables_strtoui(cb->arg, NULL, &num, 0, 7)) { in xtopt_parse_sysloglevel()
707 if (!xtables_strtoui(cb->arg, NULL, &prefix_len, 0, cb->val.hlen)) { in xtopt_parse_plen()
Dxtables.c469 bool xtables_strtoui(const char *s, char **end, unsigned int *value, in xtables_strtoui() function
495 if (xtables_strtoui(port, NULL, &portnum, 0, UINT16_MAX) || in xtables_parse_port()
1279 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1290 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1298 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1386 if (!xtables_strtoui(mask, NULL, &bits, 0, 32)) in parse_ipmask()
1701 if (!xtables_strtoui(mask, NULL, &bits, 0, 128)) in parse_ip6mask()
1894 if (xtables_strtoui(s, NULL, &proto, 0, UINT8_MAX)) in xtables_parse_protocol()
/external/iptables/iptables/
Dxshared.c70 if (xtables_strtoui(pname, NULL, &proto, 0, UINT8_MAX)) { in find_proto()
Diptables.c369 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
Dip6tables.c383 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
/external/iptables/include/
Dxtables.h446 extern bool xtables_strtoui(const char *, char **, unsigned int *,