Lines Matching refs:getnum
266 getnum(const char *s, char **next, const char *key)
347 w = getnum(strsep(&cur, ":"), &p, "weight");
350 w_h = p ? getnum(p+1, &p, "weight_max") : w;
351 w_steps = p ? getnum(p+1, &p, "w_steps") : (w_h == w ?1:2);
352 len = getnum(strsep(&cur, ":"), &p, "len");
355 len_h = p ? getnum(p+1, &p, "len_max") : len;
356 l_steps = p ? getnum(p+1, &p, "l_steps") : (len_h == len ? 1 : 2);
357 flows = getnum(strsep(&cur, ":"), NULL, "flows");
456 c->loops = getnum(av[1], NULL, av[0]);
482 c->lmin = getnum(av[1], NULL, av[0]);
487 c->maxburst = getnum(av[1], NULL, av[0]);
491 c->th_max = getnum(av[1], NULL, av[0]);
494 c->th_min = getnum(av[1], NULL, av[0]);
497 c->flows = getnum(av[1], NULL, av[0]);