Searched refs:ct_action (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_nat_ovs.c | 90 int err, ct_action = *action; in nf_ct_nat() local 111 } else if (ct_action & BIT(NF_NAT_MANIP_SRC)) { in nf_ct_nat() 113 } else if (ct_action & BIT(NF_NAT_MANIP_DST)) { in nf_ct_nat()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_ct.c | 763 if ((p->ct_action & TCA_CT_ACT_FORCE) && in tcf_ct_skb_nfct_cached() 868 if (params->ct_action & TCA_CT_ACT_NAT) in tcf_ct_params_free() 922 int ct_action, in tcf_ct_act_nat() 929 if (!(ct_action & TCA_CT_ACT_NAT)) in tcf_ct_act_nat() 931 if (ct_action & TCA_CT_ACT_NAT_SRC) in tcf_ct_act_nat() 933 if (ct_action & TCA_CT_ACT_NAT_DST) in tcf_ct_act_nat() 969 commit = p->ct_action & TCA_CT_ACT_COMMIT; in tcf_ct_act() 970 clear = p->ct_action & TCA_CT_ACT_CLEAR; in tcf_ct_act() 1038 err = tcf_ct_act_nat(skb, ct, ctinfo, p->ct_action, &p->range, commit); in tcf_ct_act() 1047 if (p->ct_action in tcf_ct_act() 919 tcf_ct_act_nat(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, int ct_action, struct nf_nat_range2 *range, bool commit) tcf_ct_act_nat() argument [all...] |
/kernel/linux/linux-5.10/include/net/tc_act/ |
H A D | tc_ct.h | 25 u16 ct_action; member 51 return to_ct_params(a)->ct_action; in tcf_ct_action()
|
/kernel/linux/linux-6.6/include/net/tc_act/ |
H A D | tc_ct.h | 26 u16 ct_action; member 52 return to_ct_params(a)->ct_action; in tcf_ct_action()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_ct.c | 872 int ct_action, in tcf_ct_act_nat() 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 in tcf_ct_fill_params_nat() 869 tcf_ct_act_nat(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, int ct_action, struct nf_nat_range2 *range, bool commit) tcf_ct_act_nat() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.h | 27 u16 ct_action; member
|
H A D | tc_ct.c | 1546 attr->ct_attr.ct_action |= act->ct.action; /* So we can have clear + ct */ in mlx5_tc_ct_parse_action() 1925 bool nat = attr->ct_attr.ct_action & TCA_CT_ACT_NAT; in __mlx5_tc_ct_flow_offload() 1997 if (attr->ct_attr.ct_action & TCA_CT_ACT_CLEAR) { in mlx5_tc_ct_flow_offload()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.h | 27 u16 ct_action; member
|
H A D | tc_ct.c | 1323 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 1425 !(attr->ct_attr.ct_action & TCA_CT_ACT_CLEAR)) { in mlx5e_tc_add_fdb_flow() 3367 ct_clear = flow->attr->ct_attr.ct_action & in actions_match_supported()
|
Completed in 18 milliseconds