Lines Matching refs:getnum
263 getnum(const char *s, char **next, const char *key)
344 w = getnum(strsep(&cur, ":"), &p, "weight");
347 w_h = p ? getnum(p+1, &p, "weight_max") : w;
348 w_steps = p ? getnum(p+1, &p, "w_steps") : (w_h == w ?1:2);
349 len = getnum(strsep(&cur, ":"), &p, "len");
352 len_h = p ? getnum(p+1, &p, "len_max") : len;
353 l_steps = p ? getnum(p+1, &p, "l_steps") : (len_h == len ? 1 : 2);
354 flows = getnum(strsep(&cur, ":"), NULL, "flows");
453 c->loops = getnum(av[1], NULL, av[0]);
479 c->lmin = getnum(av[1], NULL, av[0]);
484 c->maxburst = getnum(av[1], NULL, av[0]);
488 c->th_max = getnum(av[1], NULL, av[0]);
491 c->th_min = getnum(av[1], NULL, av[0]);
494 c->flows = getnum(av[1], NULL, av[0]);