aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 6af4baf5b769..e1a5d29d0a1f 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -625,6 +625,7 @@ enum tcp_ca_event {
625 625
626struct tcp_congestion_ops { 626struct tcp_congestion_ops {
627 struct list_head list; 627 struct list_head list;
628 int non_restricted;
628 629
629 /* initialize private data (optional) */ 630 /* initialize private data (optional) */
630 void (*init)(struct sock *sk); 631 void (*init)(struct sock *sk);
@@ -663,6 +664,8 @@ extern void tcp_cleanup_congestion_control(struct sock *sk);
663extern int tcp_set_default_congestion_control(const char *name); 664extern int tcp_set_default_congestion_control(const char *name);
664extern void tcp_get_default_congestion_control(char *name); 665extern void tcp_get_default_congestion_control(char *name);
665extern void tcp_get_available_congestion_control(char *buf, size_t len); 666extern void tcp_get_available_congestion_control(char *buf, size_t len);
667extern void tcp_get_allowed_congestion_control(char *buf, size_t len);
668extern int tcp_set_allowed_congestion_control(char *allowed);
666extern int tcp_set_congestion_control(struct sock *sk, const char *name); 669extern int tcp_set_congestion_control(struct sock *sk, const char *name);
667extern void tcp_slow_start(struct tcp_sock *tp); 670extern void tcp_slow_start(struct tcp_sock *tp);
668 671