Home | History | Annotate | Download | only in tc

Lines Matching defs:tb

272 	struct rtattr *tb[TCA_FLOW_MAX+1];
280 parse_rtattr_nested(tb, TCA_FLOW_MAX, opt);
284 if (tb[TCA_FLOW_MODE]) {
285 __u32 mode = rta_getattr_u32(tb[TCA_FLOW_MODE]);
297 if (tb[TCA_FLOW_KEYS]) {
298 __u32 keymask = rta_getattr_u32(tb[TCA_FLOW_KEYS]);
311 if (tb[TCA_FLOW_MASK])
312 mask = rta_getattr_u32(tb[TCA_FLOW_MASK]);
313 if (tb[TCA_FLOW_XOR])
314 val = rta_getattr_u32(tb[TCA_FLOW_XOR]);
328 if (tb[TCA_FLOW_RSHIFT])
330 rta_getattr_u32(tb[TCA_FLOW_RSHIFT]));
331 if (tb[TCA_FLOW_ADDEND])
333 rta_getattr_u32(tb[TCA_FLOW_ADDEND]));
335 if (tb[TCA_FLOW_DIVISOR])
337 rta_getattr_u32(tb[TCA_FLOW_DIVISOR]));
338 if (tb[TCA_FLOW_BASECLASS])
340 sprint_tc_classid(rta_getattr_u32(tb[TCA_FLOW_BASECLASS]), b1));
342 if (tb[TCA_FLOW_PERTURB])
344 rta_getattr_u32(tb[TCA_FLOW_PERTURB]));
346 if (tb[TCA_FLOW_EMATCHES])
347 print_ematch(f, tb[TCA_FLOW_EMATCHES]);
348 if (tb[TCA_FLOW_POLICE])
349 tc_print_police(f, tb[TCA_FLOW_POLICE]);
350 if (tb[TCA_FLOW_ACT]) {
352 tc_print_action(f, tb[TCA_FLOW_ACT]);