Lines Matching refs:htcp
26 struct htcp {
49 static inline u32 htcp_cong_time(const struct htcp *ca)
54 static inline u32 htcp_ccount(const struct htcp *ca)
59 static inline void htcp_reset(struct htcp *ca)
70 struct htcp *ca = inet_csk_ca(sk);
85 struct htcp *ca = inet_csk_ca(sk);
106 struct htcp *ca = inet_csk_ca(sk);
147 static inline void htcp_beta_update(struct htcp *ca, u32 minRTT, u32 maxRTT)
173 static inline void htcp_alpha_update(struct htcp *ca)
210 struct htcp *ca = inet_csk_ca(sk);
225 const struct htcp *ca = inet_csk_ca(sk);
234 struct htcp *ca = inet_csk_ca(sk);
259 struct htcp *ca = inet_csk_ca(sk);
261 memset(ca, 0, sizeof(struct htcp));
273 struct htcp *ca = inet_csk_ca(sk);
289 static struct tcp_congestion_ops htcp __read_mostly = {
297 .name = "htcp",
302 BUILD_BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE);
304 return tcp_register_congestion_control(&htcp);
309 tcp_unregister_congestion_control(&htcp);