Home
last modified time | relevance | path

Searched refs:use_ecn (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/sched/
H A Dsch_choke.c81 static int use_ecn(const struct choke_sched_data *q) in use_ecn() function
242 if (use_harddrop(q) || !use_ecn(q) || in choke_enqueue()
255 if (!use_ecn(q) || !INET_ECN_set_ce(skb)) { in choke_enqueue()
/openbmc/linux/net/ipv4/
H A Dtcp_output.c335 bool use_ecn = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_ecn) == 1 || in tcp_ecn_send_syn() local
338 if (!use_ecn) { in tcp_ecn_send_syn()
342 use_ecn = true; in tcp_ecn_send_syn()
347 if (use_ecn) { in tcp_ecn_send_syn()