Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/
A 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);
173 void (*set_state)(struct sock *sk, __u8 new_state);
179 __u32 (*undo_cwnd)(struct sock *sk);
183 __u32 (*min_tso_segs)(struct sock *sk);
185 __u32 (*sndbuf_expand)(struct sock *sk);
[all …]
/linux-6.3-rc2/include/net/
A Dtcp.h1066 struct tcp_congestion_ops { struct
1070 u32 (*ssthresh)(struct sock *sk);
1073 void (*cong_avoid)(struct sock *sk, u32 ack, u32 acked);
1076 void (*set_state)(struct sock *sk, u8 new_state);
1079 void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
1082 void (*in_ack_event)(struct sock *sk, u32 flags);
1085 void (*pkts_acked)(struct sock *sk, const struct ack_sample *sample);
1088 u32 (*min_tso_segs)(struct sock *sk);
1093 void (*cong_control)(struct sock *sk, const struct rate_sample *rs);
1118 int tcp_register_congestion_control(struct tcp_congestion_ops *type); argument

Completed in 10 milliseconds