Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dact_ct.c774 if ((p->ct_action & TCA_CT_ACT_FORCE) && in tcf_ct_skb_nfct_cached()
879 if (params->ct_action & TCA_CT_ACT_NAT) in tcf_ct_params_free()
938 int ct_action, in tcf_ct_act_nat() argument
945 if (!(ct_action & TCA_CT_ACT_NAT)) in tcf_ct_act_nat()
947 if (ct_action & TCA_CT_ACT_NAT_SRC) in tcf_ct_act_nat()
949 if (ct_action & TCA_CT_ACT_NAT_DST) in tcf_ct_act_nat()
987 commit = p->ct_action & TCA_CT_ACT_COMMIT; in tcf_ct_act()
988 clear = p->ct_action & TCA_CT_ACT_CLEAR; in tcf_ct_act()
1056 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 && !nfct_seqadj(ct)) { in tcf_ct_act()
[all …]
/linux/include/net/tc_act/
H A Dtc_ct.h27 u16 ct_action; member
53 return to_ct_params(a)->ct_action; in tcf_ct_action()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c1597 attr->ct_attr.ct_action |= act->ct.action; /* So we can have clear + ct */ in mlx5_tc_ct_parse_action()
1976 bool nat = attr->ct_attr.ct_action & TCA_CT_ACT_NAT; in __mlx5_tc_ct_flow_offload()
2048 if (attr->ct_attr.ct_action & TCA_CT_ACT_CLEAR) { in mlx5_tc_ct_flow_offload()