/linux-6.1.9/tools/testing/selftests/net/forwarding/ |
D | pedit_dsfield.sh | 208 local ecn 210 for ecn in 0 1 2 3; do 212 "ip dsfield set $ecn retain 0x03" \ 213 ip "ip_tos $((124 | $ecn))" \ 288 local ecn 290 for ecn in 0 1 2 3; do 292 "ip6 traffic_class set $ecn retain 0x3" \ 293 ipv6 "ip_tos $((124 | $ecn))" \
|
D | sch_red.sh | 453 install_qdisc ecn 460 install_qdisc ecn nodrop 481 install_qdisc ecn qevent mark block 10
|
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/ |
D | sch_red_ets.sh | 82 install_qdisc ecn 92 install_qdisc ecn 102 install_qdisc ecn nodrop 161 install_qdisc ecn qevent mark block 10
|
D | sch_red_root.sh | 34 install_qdisc ecn 41 install_qdisc ecn 48 install_qdisc ecn nodrop
|
/linux-6.1.9/net/ipv4/ |
D | ip_fragment.c | 64 u8 ecn; /* RFC3168 support */ member 90 qp->ecn = 0; in ip4_frag_init() 267 qp->ecn = 0; in ip_frag_reinit() 281 u8 ecn; in ip_frag_queue() local 293 ecn = ip4_frag_ecn(ip_hdr(skb)->tos); in ip_frag_queue() 354 qp->ecn |= ecn; in ip_frag_queue() 411 u8 ecn; in ip_frag_reasm() local 415 ecn = ip_frag_ecn_table[qp->ecn]; in ip_frag_reasm() 416 if (unlikely(ecn == 0xff)) { in ip_frag_reasm() 439 iph->tos |= ecn; in ip_frag_reasm()
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 172 u8 ecn; in nf_ct_frag6_queue() local 190 ecn = ip6_frag_ecn(ipv6_hdr(skb)); in nf_ct_frag6_queue() 268 fq->ecn |= ecn; in nf_ct_frag6_queue() 317 u8 ecn; in nf_ct_frag6_reasm() local 321 ecn = ip_frag_ecn_table[fq->ecn]; in nf_ct_frag6_reasm() 322 if (unlikely(ecn == 0xff)) in nf_ct_frag6_reasm() 353 ipv6_change_dsfield(ipv6_hdr(skb), 0xff, ecn); in nf_ct_frag6_reasm()
|
/linux-6.1.9/net/ipv6/ |
D | reassembly.c | 115 u8 ecn; in ip6_frag_queue() local 133 ecn = ip6_frag_ecn(ipv6_hdr(skb)); in ip6_frag_queue() 199 fq->ecn |= ecn; in ip6_frag_queue() 258 u8 ecn; in ip6_frag_reasm() local 262 ecn = ip_frag_ecn_table[fq->ecn]; in ip6_frag_reasm() 263 if (unlikely(ecn == 0xff)) in ip6_frag_reasm() 292 ipv6_change_dsfield(ipv6_hdr(skb), 0xff, ecn); in ip6_frag_reasm()
|
/linux-6.1.9/samples/bpf/ |
D | hbm_kern.h | 79 short ecn; member 121 pkti->ecn = (ip6h->flow_lbl[0] >> 4) & INET_ECN_MASK; in hbm_get_pkt_info() 125 pkti->ecn = iph.tos & INET_ECN_MASK; in hbm_get_pkt_info() 129 pkti->ecn = 0; in hbm_get_pkt_info()
|
D | do_hbm_test.sh | 87 ecn=0 144 ecn=1 224 if [ $ecn -ne 0 ] ; then 407 if [ $ecn -ne 0 ] ; then
|
D | hbm_out_kern.c | 128 if (pkti.ecn) in _hbm_out_cg() 134 if (pkti.ecn || pkti.is_tcp) { in _hbm_out_cg()
|
D | hbm_edt_kern.c | 118 if (pkti.is_tcp && pkti.ecn == 0) in _hbm_out_cg()
|
/linux-6.1.9/include/net/ |
D | inet_ecn.h | 79 u32 ecn = (iph->tos + 1) & INET_ECN_MASK; in IP_ECN_set_ce() local 89 if (!(ecn & 2)) in IP_ECN_set_ce() 90 return !ecn; in IP_ECN_set_ce() 98 (__force u16)htons(ecn)); in IP_ECN_set_ce()
|
D | pie.h | 34 u8 ecn; member 96 params->ecn = false; in pie_params_init()
|
D | codel_impl.h | 61 params->ecn = false; in codel_params_init() 186 if (params->ecn && INET_ECN_set_ce(skb)) { in codel_dequeue() 217 if (params->ecn && INET_ECN_set_ce(skb)) { in codel_dequeue()
|
D | ipv6_frag.h | 28 u8 ecn; member 38 fq->ecn = 0; in ip6frag_init()
|
D | codel.h | 112 bool ecn; member
|
/linux-6.1.9/net/6lowpan/ |
D | iphc.c | 507 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-6.1.9/net/sched/ |
D | sch_codel.c | 170 q->params.ecn = !!nla_get_u32(tb[TCA_CODEL_ECN]); in codel_change() 229 q->params.ecn)) in codel_dump()
|
D | sch_pie.c | 99 } else if (q->params.ecn && (q->vars.prob <= MAX_PROB / 10) && in pie_qdisc_enqueue() 181 q->params.ecn = nla_get_u32(tb[TCA_PIE_ECN]); in pie_change() 476 nla_put_u32(skb, TCA_PIE_ECN, q->params.ecn) || in pie_dump()
|
D | sch_fq_pie.c | 165 } else if (q->p_params.ecn && in fq_pie_qdisc_enqueue() 342 q->p_params.ecn = nla_get_u32(tb[TCA_FQ_PIE_ECN]); in fq_pie_change() 466 nla_put_u32(skb, TCA_FQ_PIE_ECN, q->p_params.ecn) || in fq_pie_dump()
|
D | sch_netem.c | 89 u32 ecn; member 456 if (q->ecn && INET_ECN_set_ce(skb)) in netem_enqueue() 1036 q->ecn = nla_get_u32(tb[TCA_NETEM_ECN]); in netem_change() 1193 if (q->ecn && nla_put_u32(skb, TCA_NETEM_ECN, q->ecn)) in netem_dump()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | mlx5_ifc_dr_ste_v1.h | 277 u8 ecn[0x2]; member 323 u8 ecn[0x2]; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.c | 1478 MLXSW_ITEM32(afa, qos, ecn, 0x04, 24, 2); 1530 enum mlxsw_afa_qos_ecn_cmd ecn_cmd, u8 ecn) in mlxsw_afa_qos_ecn_pack() argument 1533 mlxsw_afa_qos_ecn_set(payload, ecn); in mlxsw_afa_qos_ecn_pack() 1555 bool set_ecn, u8 ecn, in __mlxsw_afa_block_append_qos_dsfield() argument 1568 mlxsw_afa_qos_ecn_pack(act, MLXSW_AFA_QOS_ECN_CMD_SET, ecn); in __mlxsw_afa_block_append_qos_dsfield() 1600 u8 ecn, struct netlink_ext_ack *extack) in mlxsw_afa_block_append_qos_ecn() argument 1604 true, ecn, in mlxsw_afa_block_append_qos_ecn()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.h | 176 bool ecn; member
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 174 u8 ecn:1; member 180 u8 ecn:1; member
|