Lines Matching refs:tc_act
406 static int tcf_police_act_to_flow_act(int tc_act, u32 *extval, in tcf_police_act_to_flow_act() argument
411 if (!TC_ACT_EXT_OPCODE(tc_act)) { in tcf_police_act_to_flow_act()
412 if (tc_act == TC_ACT_OK) in tcf_police_act_to_flow_act()
414 else if (tc_act == TC_ACT_SHOT) in tcf_police_act_to_flow_act()
416 else if (tc_act == TC_ACT_PIPE) in tcf_police_act_to_flow_act()
418 else if (tc_act == TC_ACT_RECLASSIFY) in tcf_police_act_to_flow_act()
422 } else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_GOTO_CHAIN)) { in tcf_police_act_to_flow_act()
424 *extval = tc_act & TC_ACT_EXT_VAL_MASK; in tcf_police_act_to_flow_act()
425 } else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_JUMP)) { in tcf_police_act_to_flow_act()
427 *extval = tc_act & TC_ACT_EXT_VAL_MASK; in tcf_police_act_to_flow_act()
428 } else if (tc_act == TC_ACT_UNSPEC) { in tcf_police_act_to_flow_act()