Home
last modified time | relevance | path

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

/openbmc/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.c107 case offsetof(struct tcp_sock, ecn_flags): in bpf_tcp_ca_btf_struct_access()
108 end = offsetofend(struct tcp_sock, ecn_flags); in bpf_tcp_ca_btf_struct_access()
H A Dtcp_dctcp.c93 if ((tp->ecn_flags & TCP_ECN_OK) || in dctcp_init()
H A Dtcp_input.c348 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
349 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
355 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
368 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_withdraw_cwr()
381 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
388 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
391 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
393 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
398 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
405 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
[all …]
H A Dtcp_output.c326 if (!(tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_send_synack()
348 tp->ecn_flags = 0; in tcp_ecn_send_syn()
352 tp->ecn_flags = TCP_ECN_OK; in tcp_ecn_send_syn()
382 if (tp->ecn_flags & TCP_ECN_OK) { in tcp_ecn_send()
387 if (tp->ecn_flags & TCP_ECN_QUEUE_CWR) { in tcp_ecn_send()
388 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_send()
396 if (tp->ecn_flags & TCP_ECN_DEMAND_CWR) in tcp_ecn_send()
H A Dtcp_minisocks.c428 tp->ecn_flags = inet_rsk(req)->ecn_ok ? TCP_ECN_OK : 0; in tcp_ecn_openreq_child()
H A Dtcp.c3808 if (tp->ecn_flags & TCP_ECN_OK) in tcp_get_info()
3810 if (tp->ecn_flags & TCP_ECN_SEEN) in tcp_get_info()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c67 if (!(tp->ecn_flags & TCP_ECN_OK) && fallback[0]) { in BPF_PROG()
172 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
174 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in dctcp_ece_ack_cwr()
H A Dtest_sock_fields.c96 dst->ecn_flags = src->ecn_flags; in tpcpy()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dbpf_tcp_helpers.h69 __u8 ecn_flags; member
/openbmc/linux/include/linux/
H A Dtcp.h303 u8 ecn_flags; /* ECN status bits. */ member
/openbmc/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()
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6228 __u32 ecn_flags; /* ECN status bits. */ member
6651 __u32 ecn_flags; member
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6231 __u32 ecn_flags; /* ECN status bits. */ member
6654 __u32 ecn_flags; member
/openbmc/linux/net/core/
H A Dfilter.c7153 case offsetof(struct bpf_tcp_sock, ecn_flags): in bpf_tcp_sock_convert_ctx_access()
7154 BPF_TCP_SOCK_GET_COMMON(ecn_flags); in bpf_tcp_sock_convert_ctx_access()
10605 case offsetof(struct bpf_sock_ops, ecn_flags): in sock_ops_convert_ctx_access()
10606 SOCK_OPS_GET_TCP_SOCK_FIELD(ecn_flags); in sock_ops_convert_ctx_access()