Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dpedit_dsfield.sh208 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))" \
Dsch_red.sh453 install_qdisc ecn
460 install_qdisc ecn nodrop
481 install_qdisc ecn qevent mark block 10
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_conntrack_reasm.c176 u8 ecn; in nf_ct_frag6_queue() local
194 ecn = ip6_frag_ecn(ipv6_hdr(skb)); in nf_ct_frag6_queue()
271 fq->ecn |= ecn; in nf_ct_frag6_queue()
320 u8 ecn; in nf_ct_frag6_reasm() local
324 ecn = ip_frag_ecn_table[fq->ecn]; in nf_ct_frag6_reasm()
325 if (unlikely(ecn == 0xff)) in nf_ct_frag6_reasm()
356 ipv6_change_dsfield(ipv6_hdr(skb), 0xff, ecn); in nf_ct_frag6_reasm()
/kernel/linux/linux-5.10/net/ipv4/
Dip_fragment.c64 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()
353 qp->ecn |= ecn; in ip_frag_queue()
410 u8 ecn; in ip_frag_reasm() local
414 ecn = ip_frag_ecn_table[qp->ecn]; in ip_frag_reasm()
415 if (unlikely(ecn == 0xff)) { in ip_frag_reasm()
438 iph->tos |= ecn; in ip_frag_reasm()
/kernel/linux/linux-5.10/net/ipv6/
Dreassembly.c115 u8 ecn; in ip6_frag_queue() local
133 ecn = ip6_frag_ecn(ipv6_hdr(skb)); in ip6_frag_queue()
198 fq->ecn |= ecn; in ip6_frag_queue()
257 u8 ecn; in ip6_frag_reasm() local
261 ecn = ip_frag_ecn_table[fq->ecn]; in ip6_frag_reasm()
262 if (unlikely(ecn == 0xff)) in ip6_frag_reasm()
291 ipv6_change_dsfield(ipv6_hdr(skb), 0xff, ecn); in ip6_frag_reasm()
/kernel/linux/linux-5.10/samples/bpf/
Dhbm_kern.h81 short ecn; member
123 pkti->ecn = (ip6h->flow_lbl[0] >> 4) & INET_ECN_MASK; in hbm_get_pkt_info()
127 pkti->ecn = iph.tos & INET_ECN_MASK; in hbm_get_pkt_info()
131 pkti->ecn = 0; in hbm_get_pkt_info()
Ddo_hbm_test.sh87 ecn=0
134 ecn=1
213 if [ $ecn -ne 0 ] ; then
396 if [ $ecn -ne 0 ] ; then
Dhbm_out_kern.c128 if (pkti.ecn) in _hbm_out_cg()
134 if (pkti.ecn || pkti.is_tcp) { in _hbm_out_cg()
Dhbm_edt_kern.c118 if (pkti.is_tcp && pkti.ecn == 0) in _hbm_out_cg()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_root.sh33 install_qdisc ecn
40 install_qdisc ecn nodrop
Dsch_red_ets.sh48 install_qdisc ecn
58 install_qdisc ecn nodrop
/kernel/linux/linux-5.10/include/net/
Dinet_ecn.h79 u32 ecn = (iph->tos + 1) & INET_ECN_MASK; in IP_ECN_set_ce() local
88 if (!(ecn & 2)) in IP_ECN_set_ce()
89 return !ecn; in IP_ECN_set_ce()
96 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()
Dpie.h34 u8 ecn; member
96 params->ecn = false; in pie_params_init()
Dipv6_frag.h27 u8 ecn; member
37 fq->ecn = 0; in ip6frag_init()
Dcodel.h111 bool ecn; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/sched/
Dsch_codel.c173 q->params.ecn = !!nla_get_u32(tb[TCA_CODEL_ECN]); in codel_change()
232 q->params.ecn)) in codel_dump()
Dsch_pie.c99 } else if (q->params.ecn && (q->vars.prob <= MAX_PROB / 10) && in pie_qdisc_enqueue()
184 q->params.ecn = nla_get_u32(tb[TCA_PIE_ECN]); in pie_change()
479 nla_put_u32(skb, TCA_PIE_ECN, q->params.ecn) || in pie_dump()
Dsch_fq_pie.c165 } else if (q->p_params.ecn && in fq_pie_qdisc_enqueue()
345 q->p_params.ecn = nla_get_u32(tb[TCA_FQ_PIE_ECN]); in fq_pie_change()
469 nla_put_u32(skb, TCA_FQ_PIE_ECN, q->p_params.ecn) || in fq_pie_dump()
Dsch_netem.c89 u32 ecn; member
456 if (q->ecn && INET_ECN_set_ce(skb)) in netem_enqueue()
1039 q->ecn = nla_get_u32(tb[TCA_NETEM_ECN]); in netem_change()
1196 if (q->ecn && nla_put_u32(skb, TCA_NETEM_ECN, q->ecn)) in netem_dump()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c1477 MLXSW_ITEM32(afa, qos, ecn, 0x04, 24, 2);
1529 enum mlxsw_afa_qos_ecn_cmd ecn_cmd, u8 ecn) in mlxsw_afa_qos_ecn_pack() argument
1532 mlxsw_afa_qos_ecn_set(payload, ecn); in mlxsw_afa_qos_ecn_pack()
1554 bool set_ecn, u8 ecn, in __mlxsw_afa_block_append_qos_dsfield() argument
1567 mlxsw_afa_qos_ecn_pack(act, MLXSW_AFA_QOS_ECN_CMD_SET, ecn); in __mlxsw_afa_block_append_qos_dsfield()
1599 u8 ecn, struct netlink_ext_ack *extack) in mlxsw_afa_block_append_qos_ecn() argument
1603 true, ecn, in mlxsw_afa_block_append_qos_ecn()
Dcore_acl_flex_actions.h78 u8 ecn, struct netlink_ext_ack *extack);
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
Dmain.h176 bool ecn; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h183 u8 ecn:1; member
189 u8 ecn:1; member

12