Lines Matching refs:getnum
237 getnum(const char *s, char **next, const char *key) in getnum() function
313 w = getnum(strsep(&cur, ":"), &p, "weight"); in parse_flowsets()
316 w_h = p ? getnum(p+1, &p, "weight_max") : w; in parse_flowsets()
317 w_steps = p ? getnum(p+1, &p, "w_steps") : (w_h == w ?1:2); in parse_flowsets()
318 len = getnum(strsep(&cur, ":"), &p, "len"); in parse_flowsets()
321 len_h = p ? getnum(p+1, &p, "len_max") : len; in parse_flowsets()
322 l_steps = p ? getnum(p+1, &p, "l_steps") : (len_h == len ? 1 : 2); in parse_flowsets()
323 flows = getnum(strsep(&cur, ":"), NULL, "flows"); in parse_flowsets()
407 c->loops = getnum(av[1], NULL, av[0]); in init()
443 c->lmin = getnum(av[1], NULL, av[0]); in init()
447 c->maxburst = getnum(av[1], NULL, av[0]); in init()
450 c->th_max = getnum(av[1], NULL, av[0]); in init()
453 c->th_min = getnum(av[1], NULL, av[0]); in init()
456 c->flows = getnum(av[1], NULL, av[0]); in init()