/external/iptables/extensions/ |
D | libipt_2ttl.c | 38 if (string_to_number(optarg, 0, 255, &value) == -1) in parse() 51 if (string_to_number(optarg, 0, 255, &value) == -1) in parse() 63 if (string_to_number(optarg, 0, 255, &value) == -1) in parse()
|
D | libipt_hashlimit.c | 173 if (string_to_number(optarg, 0, 10000, &num) == -1) in parse() 181 if (string_to_number(optarg, 0, 0xffffffff, &num) == -1) in parse() 189 if (string_to_number(optarg, 0, 0xffffffff, &num) == -1) in parse() 197 if (string_to_number(optarg, 0, 0xffffffff, &num) == -1) in parse() 207 if (string_to_number(optarg, 0, 0xffffffff, &num) == -1) in parse()
|
D | libip6t_hashlimit.c | 173 if (string_to_number(optarg, 0, 10000, &num) == -1) in parse() 181 if (string_to_number(optarg, 0, 0xffffffff, &num) == -1) in parse() 189 if (string_to_number(optarg, 0, 0xffffffff, &num) == -1) in parse() 197 if (string_to_number(optarg, 0, 0xffffffff, &num) == -1) in parse() 207 if (string_to_number(optarg, 0, 0xffffffff, &num) == -1) in parse()
|
D | libipt_ECN.c | 71 if (string_to_number(optarg, 0, 1, &result)) in parse() 82 if (string_to_number(optarg, 0, 1, &result)) in parse() 93 if (string_to_number(optarg, 0, 3, &result)) in parse()
|
D | libipt_CLUSTERIP.c | 133 if (string_to_number(optarg, 1, CLUSTERIP_MAX_NODES, &num) < 0) in parse() 143 if (string_to_number(optarg, 1, CLUSTERIP_MAX_NODES, &num) < 0) in parse() 154 if (string_to_number(optarg, 0, UINT_MAX, &num) < 0) in parse()
|
D | libipt_statistic.c | 74 if (string_to_number(optarg, 0, 0xFFFFFFFF, in parse() 86 if (string_to_number(optarg, 0, 0xFFFFFFFF, in parse()
|
D | libipt_icmp.c | 153 if (string_to_number(buffer, 0, 255, &number) == -1) in parse_icmp() 158 if (string_to_number(slash+1, 0, 255, &number) == -1) in parse_icmp()
|
D | libip6t_icmp6.c | 129 if (string_to_number(buffer, 0, 255, &number) == -1) in parse_icmpv6() 134 if (string_to_number(slash+1, 0, 255, &number) == -1) in parse_icmpv6()
|
D | libip6t_NFQUEUE.c | 40 if (string_to_number(s, 0, 65535, &num) == -1) in parse_num()
|
D | libipt_NFQUEUE.c | 40 if (string_to_number(s, 0, 65535, &num) == -1) in parse_num()
|
D | libipt_TCPMSS.c | 59 if (string_to_number(optarg, 0, 65535 - 40, &mssval) == -1) in parse()
|
D | libip6t_TCPMSS.c | 59 if (string_to_number(optarg, 0, 65535 - 60, &mssval) == -1) in parse()
|
D | libip6t_HL.c | 53 if (string_to_number(optarg, 0, 255, &value) == -1) in parse()
|
D | libipt_DSCP.c | 56 if (string_to_number(s, 0, 255, &dscp) == -1) in parse_dscp()
|
D | libipt_TTL.c | 53 if (string_to_number(optarg, 0, 255, &value) == -1) in parse()
|
D | libipt_2dscp.c | 53 if (string_to_number(s, 0, 255, &dscp) == -1) in parse_dscp()
|
D | libip6t_length.c | 35 if (string_to_number(s, 0, 0xFFFF, &len) == -1) in parse_length()
|
D | libipt_length.c | 33 if (string_to_number(s, 0, 0xFFFF, &len) == -1) in parse_length()
|
D | libipt_2tcpmss.c | 32 if (string_to_number(mssvalue, 0, 65535, &mssvaluenum) != -1) in parse_tcp_mssvalue()
|
D | libipt_TOS.c | 66 if (string_to_number(s, 0, 255, &tos) != -1) { in parse_tos()
|
D | libipt_2tos.c | 56 if (string_to_number(s, 0, 255, &tos) != -1) { in parse_tos()
|
/external/iproute2/include/ |
D | iptables_common.h | 18 extern int string_to_number(const char *,
|
/external/iptables/include/ |
D | iptables_common.h | 18 extern int string_to_number(const char *,
|
/external/iproute2/tc/ |
D | m_ipt.c | 152 int string_to_number(const char *s, unsigned int min, unsigned int max, in string_to_number() function 330 if (string_to_number(p, 0, 255, &onebyte) == -1) in dotted_to_addr() 338 if (string_to_number(p, 0, 255, &onebyte) == -1) in dotted_to_addr()
|
/external/iptables/ |
D | iptables.c | 272 if ((string_to_number(port, 0, 65535, &portnum)) != -1 || in parse_port() 305 if (string_to_number(p, 0, 255, &onebyte) == -1) in __dotted_to_addr() 318 if (string_to_number(p, 0, 255, &onebyte) == -1) in __dotted_to_addr() 326 if (string_to_number(p, 0, 255, &onebyte) == -1) in __dotted_to_addr() 685 if (string_to_number(mask, 0, 32, &bits) == -1) in parse_mask() 815 if (string_to_number(pname, 0, 255, &proto) != -1) { in find_proto() 831 if (string_to_number(s, 0, 255, &proto) == -1) { in parse_protocol() 906 if (string_to_number(rule, 1, INT_MAX, &rulenum) == -1) in parse_rulenumber() 1027 int string_to_number(const char *s, unsigned int min, unsigned int max, in string_to_number() function
|