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