Lines Matching refs:tb
271 struct rtattr *tb[TCA_FLOW_MAX+1];
279 parse_rtattr_nested(tb, TCA_FLOW_MAX, opt);
283 if (tb[TCA_FLOW_MODE]) {
284 __u32 mode = *(__u32 *)RTA_DATA(tb[TCA_FLOW_MODE]);
296 if (tb[TCA_FLOW_KEYS]) {
297 __u32 keymask = *(__u32 *)RTA_DATA(tb[TCA_FLOW_KEYS]);
310 if (tb[TCA_FLOW_MASK])
311 mask = *(__u32 *)RTA_DATA(tb[TCA_FLOW_MASK]);
312 if (tb[TCA_FLOW_XOR])
313 val = *(__u32 *)RTA_DATA(tb[TCA_FLOW_XOR]);
327 if (tb[TCA_FLOW_RSHIFT])
329 *(__u32 *)RTA_DATA(tb[TCA_FLOW_RSHIFT]));
330 if (tb[TCA_FLOW_ADDEND])
332 *(__u32 *)RTA_DATA(tb[TCA_FLOW_ADDEND]));
334 if (tb[TCA_FLOW_DIVISOR])
336 *(__u32 *)RTA_DATA(tb[TCA_FLOW_DIVISOR]));
337 if (tb[TCA_FLOW_BASECLASS])
339 sprint_tc_classid(*(__u32 *)RTA_DATA(tb[TCA_FLOW_BASECLASS]), b1));
341 if (tb[TCA_FLOW_PERTURB])
343 *(__u32 *)RTA_DATA(tb[TCA_FLOW_PERTURB]));
345 if (tb[TCA_FLOW_EMATCHES])
346 print_ematch(f, tb[TCA_FLOW_EMATCHES]);
347 if (tb[TCA_FLOW_POLICE])
348 tc_print_police(f, tb[TCA_FLOW_POLICE]);
349 if (tb[TCA_FLOW_ACT]) {
351 tc_print_action(f, tb[TCA_FLOW_ACT]);