Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/
Dtcp_dctcp.h9 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
11 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
Dtcp_dctcp.c79 if ((tp->ecn_flags & TCP_ECN_OK) || in dctcp_init()
Dtcp_input.c250 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
251 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
257 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
269 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_withdraw_cwr()
282 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
289 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
292 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
294 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
299 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
306 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
[all …]
Dtcp_output.c310 if (!(tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_send_synack()
332 tp->ecn_flags = 0; in tcp_ecn_send_syn()
336 tp->ecn_flags = TCP_ECN_OK; in tcp_ecn_send_syn()
366 if (tp->ecn_flags & TCP_ECN_OK) { in tcp_ecn_send()
371 if (tp->ecn_flags & TCP_ECN_QUEUE_CWR) { in tcp_ecn_send()
372 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_send()
380 if (tp->ecn_flags & TCP_ECN_DEMAND_CWR) in tcp_ecn_send()
Dtcp_minisocks.c403 tp->ecn_flags = inet_rsk(req)->ecn_ok ? TCP_ECN_OK : 0; in tcp_ecn_openreq_child()
Dtcp.c3249 if (tp->ecn_flags & TCP_ECN_OK) in tcp_get_info()
3251 if (tp->ecn_flags & TCP_ECN_SEEN) in tcp_get_info()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_sock_fields_kern.c117 dst->ecn_flags = src->ecn_flags; in tpcpy()
/Linux-v5.4/include/linux/
Dtcp.h262 u8 ecn_flags; /* ECN status bits. */ member
/Linux-v5.4/include/uapi/linux/
Dbpf.h3086 __u32 ecn_flags; /* ECN status bits. */ member
3341 __u32 ecn_flags; member
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h3086 __u32 ecn_flags; /* ECN status bits. */ member
3341 __u32 ecn_flags; member
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_sock_fields.c115 tp->ecn_flags, tp->rate_delivered, tp->rate_interval_us, in print_tp()
/Linux-v5.4/net/core/
Dfilter.c5635 case offsetof(struct bpf_tcp_sock, ecn_flags): in bpf_tcp_sock_convert_ctx_access()
5636 BPF_TCP_SOCK_GET_COMMON(ecn_flags); in bpf_tcp_sock_convert_ctx_access()
8247 case offsetof(struct bpf_sock_ops, ecn_flags): in sock_ops_convert_ctx_access()
8248 SOCK_OPS_GET_TCP_SOCK_FIELD(ecn_flags); in sock_ops_convert_ctx_access()