Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A 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()
H A Dbpf_tcp_ca.c100 case offsetof(struct tcp_sock, ecn_flags): in bpf_tcp_ca_btf_struct_access()
101 end = offsetofend(struct tcp_sock, ecn_flags); in bpf_tcp_ca_btf_struct_access()
H A Dtcp_input.c342 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
343 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
349 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
362 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_withdraw_cwr()
375 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
382 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
385 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
387 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
392 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
399 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
[all …]
H A Dtcp_dctcp.c93 if ((tp->ecn_flags & TCP_ECN_OK) || in dctcp_init()
H A Dtcp_output.c328 if (!(tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_send_synack()
350 tp->ecn_flags = 0; in tcp_ecn_send_syn()
354 tp->ecn_flags = TCP_ECN_OK; in tcp_ecn_send_syn()
384 if (tp->ecn_flags & TCP_ECN_OK) { in tcp_ecn_send()
389 if (tp->ecn_flags & TCP_ECN_QUEUE_CWR) { in tcp_ecn_send()
390 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_send()
398 if (tp->ecn_flags & TCP_ECN_DEMAND_CWR) in tcp_ecn_send()
H A Dtcp_minisocks.c465 tp->ecn_flags = inet_rsk(req)->ecn_ok ? TCP_ECN_OK : 0; in tcp_ecn_openreq_child()
H A Dtcp.c4123 if (tp->ecn_flags & TCP_ECN_OK) in tcp_get_info()
4125 if (tp->ecn_flags & TCP_ECN_SEEN) in tcp_get_info()
5025 CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, tcp_sock_write_tx, ecn_flags); in tcp_struct_check()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c74 if (!(tp->ecn_flags & TCP_ECN_OK) && fallback_cc[0]) { in BPF_PROG()
179 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
181 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
H A Dtest_sock_fields.c99 dst->ecn_flags = src->ecn_flags; in tpcpy()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_fields.c94 tp->ecn_flags, tp->rate_delivered, tp->rate_interval_us, in print_tp()
/linux/include/uapi/linux/
H A Dbpf.h6371 __u32 ecn_flags; /* ECN status bits. */ member
6814 __u32 ecn_flags; member
/linux/tools/include/uapi/linux/
H A Dbpf.h6371 __u32 ecn_flags; /* ECN status bits. */ member
6814 __u32 ecn_flags; member
/linux/net/core/
H A Dfilter.c7203 case offsetof(struct bpf_tcp_sock, ecn_flags): in bpf_tcp_sock_convert_ctx_access()
7204 BPF_TCP_SOCK_GET_COMMON(ecn_flags); in bpf_tcp_sock_convert_ctx_access()
10667 case offsetof(struct bpf_sock_ops, ecn_flags): in sock_ops_convert_ctx_access()
10668 SOCK_OPS_GET_TCP_SOCK_FIELD(ecn_flags); in sock_ops_convert_ctx_access()