Lines Matching defs:tb
197 struct nlattr **tb, struct nlattr *est)
206 err = tcf_exts_validate(tp, tb, est, &e, &tcindex_ext_map);
218 if (tb[TCA_TCINDEX_HASH])
219 cp.hash = nla_get_u32(tb[TCA_TCINDEX_HASH]);
221 if (tb[TCA_TCINDEX_MASK])
222 cp.mask = nla_get_u16(tb[TCA_TCINDEX_MASK]);
224 if (tb[TCA_TCINDEX_SHIFT])
225 cp.shift = nla_get_u32(tb[TCA_TCINDEX_SHIFT]);
239 if (tb[TCA_TCINDEX_FALL_THROUGH])
240 cp.fall_through = nla_get_u32(tb[TCA_TCINDEX_FALL_THROUGH]);
291 if (tb[TCA_TCINDEX_CLASSID]) {
292 cr.res.classid = nla_get_u32(tb[TCA_TCINDEX_CLASSID]);
334 struct nlattr *tb[TCA_TCINDEX_MAX + 1];
346 err = nla_parse_nested(tb, TCA_TCINDEX_MAX, opt, tcindex_policy);
350 return tcindex_set_parms(tp, base, handle, p, r, tb, tca[TCA_RATE]);