Home
last modified time | relevance | path

Searched refs:ct_action (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/net/sched/
Dact_ct.c866 int ct_action, in tcf_ct_act_nat() argument
874 if (!(ct_action & TCA_CT_ACT_NAT)) in tcf_ct_act_nat()
894 } else if (ct_action & TCA_CT_ACT_NAT_SRC) { in tcf_ct_act_nat()
896 } else if (ct_action & TCA_CT_ACT_NAT_DST) { in tcf_ct_act_nat()
937 commit = p->ct_action & TCA_CT_ACT_COMMIT; in tcf_ct_act()
938 clear = p->ct_action & TCA_CT_ACT_CLEAR; in tcf_ct_act()
939 force = p->ct_action & TCA_CT_ACT_FORCE; in tcf_ct_act()
1010 err = tcf_ct_act_nat(skb, ct, ctinfo, p->ct_action, &p->range, commit); in tcf_ct_act()
1065 if (!(p->ct_action & TCA_CT_ACT_NAT)) in tcf_ct_fill_params_nat()
1073 if (!(p->ct_action & (TCA_CT_ACT_NAT_SRC | TCA_CT_ACT_NAT_DST))) in tcf_ct_fill_params_nat()
[all …]
/Linux-v5.10/include/net/tc_act/
Dtc_ct.h25 u16 ct_action; member
51 return to_ct_params(a)->ct_action; in tcf_ct_action()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h27 u16 ct_action; member
Dtc_ct.c1153 attr->ct_attr.ct_action = act->ct.action; in mlx5_tc_ct_parse_action()
1516 bool nat = attr->ct_attr.ct_action & TCA_CT_ACT_NAT; in __mlx5_tc_ct_flow_offload()
1771 bool clear_action = attr->ct_attr.ct_action & TCA_CT_ACT_CLEAR; in mlx5_tc_ct_flow_offload()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1381 !(attr->ct_attr.ct_action & TCA_CT_ACT_CLEAR)) { in mlx5e_tc_add_fdb_flow()
3269 ct_clear = flow->attr->ct_attr.ct_action & in actions_match_supported()