diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index ed71511e67a6..35cc7d0d3d47 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1002,8 +1002,8 @@ void tcp_unregister_congestion_control(struct tcp_congestion_ops *type); | |||
1002 | void tcp_assign_congestion_control(struct sock *sk); | 1002 | void tcp_assign_congestion_control(struct sock *sk); |
1003 | void tcp_init_congestion_control(struct sock *sk); | 1003 | void tcp_init_congestion_control(struct sock *sk); |
1004 | void tcp_cleanup_congestion_control(struct sock *sk); | 1004 | void tcp_cleanup_congestion_control(struct sock *sk); |
1005 | int tcp_set_default_congestion_control(const char *name); | 1005 | int tcp_set_default_congestion_control(struct net *net, const char *name); |
1006 | void tcp_get_default_congestion_control(char *name); | 1006 | void tcp_get_default_congestion_control(struct net *net, char *name); |
1007 | void tcp_get_available_congestion_control(char *buf, size_t len); | 1007 | void tcp_get_available_congestion_control(char *buf, size_t len); |
1008 | void tcp_get_allowed_congestion_control(char *buf, size_t len); | 1008 | void tcp_get_allowed_congestion_control(char *buf, size_t len); |
1009 | int tcp_set_allowed_congestion_control(char *allowed); | 1009 | int tcp_set_allowed_congestion_control(char *allowed); |
@@ -1017,7 +1017,7 @@ void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked); | |||
1017 | extern struct tcp_congestion_ops tcp_reno; | 1017 | extern struct tcp_congestion_ops tcp_reno; |
1018 | 1018 | ||
1019 | struct tcp_congestion_ops *tcp_ca_find_key(u32 key); | 1019 | struct tcp_congestion_ops *tcp_ca_find_key(u32 key); |
1020 | u32 tcp_ca_get_key_by_name(const char *name, bool *ecn_ca); | 1020 | u32 tcp_ca_get_key_by_name(struct net *net, const char *name, bool *ecn_ca); |
1021 | #ifdef CONFIG_INET | 1021 | #ifdef CONFIG_INET |
1022 | char *tcp_ca_get_name_by_key(u32 key, char *buffer); | 1022 | char *tcp_ca_get_name_by_key(u32 key, char *buffer); |
1023 | #else | 1023 | #else |