Home | History | Annotate | Download | only in tc

Lines Matching defs:stab

36 	fprintf(stderr, "       [ stab [ help | STAB_OPTIONS] ]\n");
43 fprintf(stderr, "STAB_OPTIONS := ... try tc qdisc add stab help\n");
54 } stab;
64 memset(&stab, 0, sizeof(stab));
119 } else if (matches(*argv, "stab") == 0) {
120 if (parse_size_table(&argc, &argv, &stab.szopts) < 0)
157 if (check_size_table_opts(&stab.szopts)) {
160 if (tc_calc_size_table(&stab.szopts, &stab.data) < 0) {
167 addattr_l(&req.n, sizeof(req), TCA_STAB_BASE, &stab.szopts,
168 sizeof(stab.szopts));
169 if (stab.data)
170 addattr_l(&req.n, sizeof(req), TCA_STAB_DATA, stab.data,
171 stab.szopts.tsize * sizeof(__u16));
173 if (stab.data)
174 free(stab.data);