Home
last modified time | relevance | path

Searched defs:tcp_congestion_ops (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h159 struct tcp_congestion_ops { struct
160 char name[TCP_CA_NAME_MAX];
161 __u32 flags;
164 void (*init)(struct sock *sk);
166 void (*release)(struct sock *sk);
169 __u32 (*ssthresh)(struct sock *sk);
171 void (*cong_avoid)(struct sock *sk, __u32 ack, __u32 acked);
173 void (*set_state)(struct sock *sk, __u8 new_state);
175 void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
177 void (*in_ack_event)(struct sock *sk, __u32 flags);
[all …]
/linux-6.6.21/include/net/
Dtcp.h1064 struct tcp_congestion_ops { struct
1068 u32 (*ssthresh)(struct sock *sk);
1071 void (*cong_avoid)(struct sock *sk, u32 ack, u32 acked);
1074 void (*set_state)(struct sock *sk, u8 new_state);
1077 void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
1080 void (*in_ack_event)(struct sock *sk, u32 flags);
1083 void (*pkts_acked)(struct sock *sk, const struct ack_sample *sample);
1086 u32 (*min_tso_segs)(struct sock *sk);
1091 void (*cong_control)(struct sock *sk, const struct rate_sample *rs);
1116 int tcp_register_congestion_control(struct tcp_congestion_ops *type); argument