Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/sched/
H A Dact_ct.c872 int ct_action, in tcf_ct_act_nat() argument
880 if (!(ct_action & TCA_CT_ACT_NAT)) in tcf_ct_act_nat()
900 } else if (ct_action & TCA_CT_ACT_NAT_SRC) { in tcf_ct_act_nat()
902 } else if (ct_action & TCA_CT_ACT_NAT_DST) { in tcf_ct_act_nat()
948 commit = p->ct_action & TCA_CT_ACT_COMMIT; in tcf_ct_act()
949 clear = p->ct_action & TCA_CT_ACT_CLEAR; in tcf_ct_act()
950 force = p->ct_action & TCA_CT_ACT_FORCE; in tcf_ct_act()
1021 err = tcf_ct_act_nat(skb, ct, ctinfo, p->ct_action, &p->range, commit); in tcf_ct_act()
1078 if (!(p->ct_action & TCA_CT_ACT_NAT)) in tcf_ct_fill_params_nat()
1086 if (!(p->ct_action & (TCA_CT_ACT_NAT_SRC | TCA_CT_ACT_NAT_DST))) in tcf_ct_fill_params_nat()
[all …]
/OK3568_Linux_fs/kernel/include/net/tc_act/
H A Dtc_ct.h25 u16 ct_action; member
51 return to_ct_params(a)->ct_action; in tcf_ct_action()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.h27 u16 ct_action; member
H A Dtc_ct.c1323 attr->ct_attr.ct_action = act->ct.action; in mlx5_tc_ct_parse_action()
1688 bool nat = attr->ct_attr.ct_action & TCA_CT_ACT_NAT; in __mlx5_tc_ct_flow_offload()
1943 bool clear_action = attr->ct_attr.ct_action & TCA_CT_ACT_CLEAR; in mlx5_tc_ct_flow_offload()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c1418 !(attr->ct_attr.ct_action & TCA_CT_ACT_CLEAR)) { in mlx5e_tc_add_fdb_flow()
3361 ct_clear = flow->attr->ct_attr.ct_action & in actions_match_supported()