Home
last modified time | relevance | path

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

12

/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.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()
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()
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_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()
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()
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()
Dlibip6t_icmp6.c133 if (!xtables_strtoui(buffer, NULL, &number, 0, UINT8_MAX)) in parse_icmpv6()
138 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.c62 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()
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.c484 bool xtables_strtoui(const char *s, char **end, unsigned int *value, in xtables_strtoui() function
510 if (xtables_strtoui(port, NULL, &portnum, 0, UINT16_MAX) || in xtables_parse_port()
1310 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1321 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1329 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr()
1424 if (!xtables_strtoui(mask, NULL, &bits, 0, 32)) in parse_ipmask()
1723 if (!xtables_strtoui(mask, NULL, &bits, 0, 128)) in parse_ip6mask()
1917 if (xtables_strtoui(s, NULL, &proto, 0, UINT8_MAX)) in xtables_parse_protocol()
/external/iproute2/include/
Dxtables.h449 extern bool xtables_strtoui(const char *, char **, unsigned int *,
/external/iptables/include/
Dxtables.h482 extern bool xtables_strtoui(const char *, char **, unsigned int *,
/external/iptables/iptables/
Dxshared.c73 if (xtables_strtoui(pname, NULL, &proto, 0, UINT8_MAX)) { in find_proto()
Dxtables-eb.c139 if (!xtables_strtoui(rule, NULL, &rule_nr, 1, INT_MAX)) in parse_rule_number()
Dxtables-arp.c753 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
Dxtables.c359 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()
Dip6tables.c390 if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) in parse_rulenumber()

12