Home
last modified time | relevance | path

Searched refs:ecn_flags (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/net/ipv4/
Dtcp_dctcp.c88 if ((tp->ecn_flags & TCP_ECN_OK) || in dctcp_init()
145 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in dctcp_ce_state_0_to_1()
166 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in dctcp_ce_state_1_to_0()
Dtcp_input.c244 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
245 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
251 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
263 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_withdraw_cwr()
276 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
283 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
286 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
288 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
293 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
300 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
[all …]
Dtcp_output.c314 if (!(tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_send_synack()
336 tp->ecn_flags = 0; in tcp_ecn_send_syn()
340 tp->ecn_flags = TCP_ECN_OK; in tcp_ecn_send_syn()
370 if (tp->ecn_flags & TCP_ECN_OK) { in tcp_ecn_send()
375 if (tp->ecn_flags & TCP_ECN_QUEUE_CWR) { in tcp_ecn_send()
376 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_send()
384 if (tp->ecn_flags & TCP_ECN_DEMAND_CWR) in tcp_ecn_send()
Dtcp_minisocks.c395 tp->ecn_flags = inet_rsk(req)->ecn_ok ? TCP_ECN_OK : 0; in tcp_ecn_openreq_child()
Dtcp.c3154 if (tp->ecn_flags & TCP_ECN_OK) in tcp_get_info()
3156 if (tp->ecn_flags & TCP_ECN_SEEN) in tcp_get_info()
/Linux-v4.19/include/linux/
Dtcp.h266 u8 ecn_flags; /* ECN status bits. */ member
/Linux-v4.19/tools/include/uapi/linux/
Dbpf.h2578 __u32 ecn_flags; member
/Linux-v4.19/include/uapi/linux/
Dbpf.h2578 __u32 ecn_flags; member
/Linux-v4.19/net/core/
Dfilter.c6644 case offsetof(struct bpf_sock_ops, ecn_flags): in sock_ops_convert_ctx_access()
6645 SOCK_OPS_GET_FIELD(ecn_flags, ecn_flags, struct tcp_sock); in sock_ops_convert_ctx_access()