Home
last modified time | relevance | path

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

/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()
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()
/net/ipv6/netfilter/
Dnf_conntrack_reasm.c172 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()
/net/ipv6/
Dreassembly.c115 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()
/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()
/net/sched/
Dsch_pie.c99 } 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()
479 nla_put_u32(skb, TCA_PIE_ECN, q->params.ecn) || in pie_dump()
Dsch_codel.c170 q->params.ecn = !!nla_get_u32(tb[TCA_CODEL_ECN]); in codel_change()
229 q->params.ecn)) in codel_dump()
Dsch_fq_pie.c166 } else if (q->p_params.ecn && in fq_pie_qdisc_enqueue()
349 q->p_params.ecn = nla_get_u32(tb[TCA_FQ_PIE_ECN]); in fq_pie_change()
485 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()
1034 q->ecn = nla_get_u32(tb[TCA_NETEM_ECN]); in netem_change()
1188 if (q->ecn && nla_put_u32(skb, TCA_NETEM_ECN, q->ecn)) in netem_dump()
Dsch_fq_codel.c423 q->cparams.ecn = !!nla_get_u32(tb[TCA_FQ_CODEL_ECN]); in fq_codel_change()
475 q->cparams.ecn = true; in fq_codel_init()
538 q->cparams.ecn) || in fq_codel_dump()
/net/ipv4/netfilter/
DKconfig144 tristate '"ecn" match support'
/net/mac80211/
Dsta_info.c681 sta->cparams.ecn = true; in __sta_info_alloc()
2788 sta->cparams.ecn = false; in sta_update_codel_params()
2792 sta->cparams.ecn = true; in sta_update_codel_params()
Ddebugfs_sta.c160 sta->cparams.ecn ? "yes" : "no"); in sta_aqm_read()
Dtx.c1631 local->cparams.ecn = true; in ieee80211_txq_setup_flows()
/net/netfilter/
DKconfig1315 tristate '"ecn" match support'