Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h148 struct tcp_congestion_ops { struct
149 char name[TCP_CA_NAME_MAX];
150 __u32 flags;
153 void (*init)(struct sock *sk);
155 void (*release)(struct sock *sk);
158 __u32 (*ssthresh)(struct sock *sk);
160 void (*cong_avoid)(struct sock *sk, __u32 ack, __u32 acked);
162 void (*set_state)(struct sock *sk, __u8 new_state);
164 void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
166 void (*in_ack_event)(struct sock *sk, __u32 flags);
[all …]
/kernel/linux/linux-5.10/include/net/
Dtcp.h1054 struct tcp_congestion_ops { struct
1055 struct list_head list;
1056 u32 key;
1057 u32 flags;
1060 void (*init)(struct sock *sk);
1062 void (*release)(struct sock *sk);
1065 u32 (*ssthresh)(struct sock *sk);
1067 void (*cong_avoid)(struct sock *sk, u32 ack, u32 acked);
1069 void (*set_state)(struct sock *sk, u8 new_state);
1094 int tcp_register_congestion_control(struct tcp_congestion_ops *type); argument