Home | History | Annotate | Download | only in iptables

Lines Matching defs:string_to_number

267 	if ((string_to_number(port, 0, 65535, &portnum)) != -1 ||
685 if (string_to_number(mask, 0, 128, &bits) == -1)
832 if (string_to_number(pname, 0, 255, &proto) != -1) {
848 if (string_to_number(s, 0, 255, &proto) == -1) {
934 if (string_to_number(rule, 1, INT_MAX, &rulenum) == -1)
995 int string_to_number(const char *s, unsigned int min, unsigned int max,