Home
last modified time | relevance | path

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

/linux-5.19.10/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()
Dbpf_tcp_ca.c130 case offsetof(struct tcp_sock, ecn_flags): in bpf_tcp_ca_btf_struct_access()
131 end = offsetofend(struct tcp_sock, ecn_flags); in bpf_tcp_ca_btf_struct_access()
Dtcp_dctcp.c81 if ((tp->ecn_flags & TCP_ECN_OK) || in dctcp_init()
Dtcp_input.c315 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
316 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
322 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
335 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_withdraw_cwr()
348 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
355 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
358 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
360 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
365 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
372 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
[all …]
Dtcp_output.c312 if (!(tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_send_synack()
334 tp->ecn_flags = 0; in tcp_ecn_send_syn()
338 tp->ecn_flags = TCP_ECN_OK; in tcp_ecn_send_syn()
368 if (tp->ecn_flags & TCP_ECN_OK) { in tcp_ecn_send()
373 if (tp->ecn_flags & TCP_ECN_QUEUE_CWR) { in tcp_ecn_send()
374 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_send()
382 if (tp->ecn_flags & TCP_ECN_DEMAND_CWR) in tcp_ecn_send()
Dtcp_minisocks.c396 tp->ecn_flags = inet_rsk(req)->ecn_ok ? TCP_ECN_OK : 0; in tcp_ecn_openreq_child()
Dtcp.c3783 if (tp->ecn_flags & TCP_ECN_OK) in tcp_get_info()
3785 if (tp->ecn_flags & TCP_ECN_SEEN) in tcp_get_info()
/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dbpf_dctcp.c65 if (!(tp->ecn_flags & TCP_ECN_OK) && fallback[0]) { in BPF_PROG()
163 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
165 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
Dtest_sock_fields.c96 dst->ecn_flags = src->ecn_flags; in tpcpy()
/linux-5.19.10/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h69 __u8 ecn_flags; member
/linux-5.19.10/include/linux/
Dtcp.h271 u8 ecn_flags; /* ECN status bits. */ member
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c94 tp->ecn_flags, tp->rate_delivered, tp->rate_interval_us, in print_tp()
/linux-5.19.10/tools/include/uapi/linux/
Dbpf.h5786 __u32 ecn_flags; /* ECN status bits. */ member
6129 __u32 ecn_flags; member
/linux-5.19.10/include/uapi/linux/
Dbpf.h5786 __u32 ecn_flags; /* ECN status bits. */ member
6129 __u32 ecn_flags; member
/linux-5.19.10/net/core/
Dfilter.c6870 case offsetof(struct bpf_tcp_sock, ecn_flags): in bpf_tcp_sock_convert_ctx_access()
6871 BPF_TCP_SOCK_GET_COMMON(ecn_flags); in bpf_tcp_sock_convert_ctx_access()
10156 case offsetof(struct bpf_sock_ops, ecn_flags): in sock_ops_convert_ctx_access()
10157 SOCK_OPS_GET_TCP_SOCK_FIELD(ecn_flags); in sock_ops_convert_ctx_access()