Home
last modified time | relevance | path

Searched refs:ecn (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/include/net/
Dinet_ecn.h78 u32 ecn = (iph->tos + 1) & INET_ECN_MASK; in IP_ECN_set_ce() local
87 if (!(ecn & 2)) in IP_ECN_set_ce()
88 return !ecn; in IP_ECN_set_ce()
95 check += (__force u16)htons(0xFFFB) + (__force u16)htons(ecn); in IP_ECN_set_ce()
Dcodel_impl.h57 params->ecn = false; in codel_params_init()
182 if (params->ecn && INET_ECN_set_ce(skb)) { in codel_dequeue()
213 if (params->ecn && INET_ECN_set_ce(skb)) { in codel_dequeue()
Dipv6_frag.h27 u8 ecn; member
37 fq->ecn = 0; in ip6frag_init()
Dcodel.h111 bool ecn; member
/Linux-v4.19/net/ipv6/netfilter/
Dnf_conntrack_reasm.c183 u8 ecn; in nf_ct_frag6_queue() local
201 ecn = ip6_frag_ecn(ipv6_hdr(skb)); in nf_ct_frag6_queue()
309 fq->ecn |= ecn; in nf_ct_frag6_queue()
345 u8 ecn; in nf_ct_frag6_reasm() local
352 ecn = ip_frag_ecn_table[fq->ecn]; in nf_ct_frag6_reasm()
353 if (unlikely(ecn == 0xff)) in nf_ct_frag6_reasm()
457 ipv6_change_dsfield(ipv6_hdr(head), 0xff, ecn); in nf_ct_frag6_reasm()
/Linux-v4.19/net/ipv6/
Dreassembly.c118 u8 ecn; in ip6_frag_queue() local
132 ecn = ip6_frag_ecn(ipv6_hdr(skb)); in ip6_frag_queue()
232 fq->ecn |= ecn; in ip6_frag_queue()
287 u8 ecn; in ip6_frag_reasm() local
291 ecn = ip_frag_ecn_table[fq->ecn]; in ip6_frag_reasm()
292 if (unlikely(ecn == 0xff)) in ip6_frag_reasm()
395 ipv6_change_dsfield(ipv6_hdr(head), 0xff, ecn); in ip6_frag_reasm()
/Linux-v4.19/net/ipv4/
Dip_fragment.c115 u8 ecn; /* RFC3168 support */ member
143 qp->ecn = 0; in ip4_frag_init()
339 qp->ecn = 0; in ip_frag_reinit()
355 u8 ecn; in ip_frag_queue() local
367 ecn = ip4_frag_ecn(ip_hdr(skb)->tos); in ip_frag_queue()
469 qp->ecn |= ecn; in ip_frag_queue()
517 u8 ecn; in ip_frag_reasm() local
521 ecn = ip_frag_ecn_table[qp->ecn]; in ip_frag_reasm()
522 if (unlikely(ecn == 0xff)) { in ip_frag_reasm()
632 iph->tos |= ecn; in ip_frag_reasm()
/Linux-v4.19/net/sched/
Dsch_pie.c46 bool ecn; /* true if ecn is enabled */ member
87 params->ecn = false; in pie_params_init()
151 } else if (q->params.ecn && (q->vars.prob <= MAX_PROB / 10) && in pie_qdisc_enqueue()
228 q->params.ecn = nla_get_u32(tb[TCA_PIE_ECN]); in pie_change()
483 nla_put_u32(skb, TCA_PIE_ECN, q->params.ecn) || in pie_dump()
Dsch_codel.c172 q->params.ecn = !!nla_get_u32(tb[TCA_CODEL_ECN]); in codel_change()
231 q->params.ecn)) in codel_dump()
Dsch_netem.c89 u32 ecn; member
450 if (q->ecn && INET_ECN_set_ce(skb)) in netem_enqueue()
994 q->ecn = nla_get_u32(tb[TCA_NETEM_ECN]); in netem_change()
1148 if (q->ecn && nla_put_u32(skb, TCA_NETEM_ECN, q->ecn)) in netem_dump()
Dsch_fq_codel.c426 q->cparams.ecn = !!nla_get_u32(tb[TCA_FQ_CODEL_ECN]); in fq_codel_change()
478 q->cparams.ecn = true; in fq_codel_init()
541 q->cparams.ecn) || in fq_codel_dump()
/Linux-v4.19/net/6lowpan/
Diphc.c507 u8 ecn = tf[0] & 0xc0; in lowpan_iphc_tf_set_ecn() local
510 hdr->flow_lbl[0] |= (ecn >> 2); in lowpan_iphc_tf_set_ecn()
993 u8 dscp, ecn; in lowpan_iphc_get_tc() local
1000 ecn = (hdr->flow_lbl[0] & 0x30); in lowpan_iphc_get_tc()
1002 pr_debug("ecn 0x%02x dscp 0x%02x\n", ecn >> 4, dscp); in lowpan_iphc_get_tc()
1004 return (ecn << 2) | dscp; in lowpan_iphc_get_tc()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c270 red_base->prob_mark = xstats->ecn; in mlxsw_sp_setup_tc_qdisc_red_clean_stats()
371 marks = xstats->ecn - xstats_base->prob_mark; in mlxsw_sp_qdisc_get_red_xstats()
403 overlimits = xstats->wred_drop[tclass_num] + xstats->ecn - in mlxsw_sp_qdisc_get_red_stats()
Dspectrum.h188 u64 ecn; member
Dreg.h1897 bool wred, bool ecn) in mlxsw_reg_cwtpm_pack() argument
1903 mlxsw_reg_cwtpm_ee_set(payload, ecn); in mlxsw_reg_cwtpm_pack()
Dspectrum.c1015 xstats->ecn = mlxsw_reg_ppcnt_ecn_marked_get(ppcnt_pl); in mlxsw_sp_port_get_hw_xstats()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h183 u8 ecn:1; member
189 u8 ecn:1; member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h214 __u8 ecn:1; member
220 __u8 ecn:1; member
/Linux-v4.19/net/mac80211/
Dsta_info.c428 sta->cparams.ecn = true; in sta_info_alloc()
2372 sta->cparams.ecn = false; in sta_update_codel_params()
2376 sta->cparams.ecn = true; in sta_update_codel_params()
Ddebugfs_sta.c160 sta->cparams.ecn ? "yes" : "no"); in sta_aqm_read()
Dtx.c1522 local->cparams.ecn = true; in ieee80211_txq_setup_flows()
/Linux-v4.19/net/ipv4/netfilter/
DKconfig201 tristate '"ecn" match support'
/Linux-v4.19/include/linux/mlx5/
Dmlx5_ifc.h540 u8 ecn[0x2]; member
3090 u8 ecn[0x2]; member
/Linux-v4.19/net/netfilter/
DKconfig1252 tristate '"ecn" match support'