tcp.h (43e122b014c955a33220fabbd09c4b5e4f422c3c) tcp.h (c3a8d9474684d391b0afc3970d9b249add15ec07)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Definitions for the TCP module.
7 *
8 * Version: @(#)tcp.h 1.0.5 05/23/93

--- 874 unchanged lines hidden (view full) ---

883u32 tcp_slow_start(struct tcp_sock *tp, u32 acked);
884void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked);
885
886u32 tcp_reno_ssthresh(struct sock *sk);
887void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked);
888extern struct tcp_congestion_ops tcp_reno;
889
890struct tcp_congestion_ops *tcp_ca_find_key(u32 key);
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Definitions for the TCP module.
7 *
8 * Version: @(#)tcp.h 1.0.5 05/23/93

--- 874 unchanged lines hidden (view full) ---

883u32 tcp_slow_start(struct tcp_sock *tp, u32 acked);
884void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked);
885
886u32 tcp_reno_ssthresh(struct sock *sk);
887void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked);
888extern struct tcp_congestion_ops tcp_reno;
889
890struct tcp_congestion_ops *tcp_ca_find_key(u32 key);
891u32 tcp_ca_get_key_by_name(const char *name);
891u32 tcp_ca_get_key_by_name(const char *name, bool *ecn_ca);
892#ifdef CONFIG_INET
893char *tcp_ca_get_name_by_key(u32 key, char *buffer);
894#else
895static inline char *tcp_ca_get_name_by_key(u32 key, char *buffer)
896{
897 return NULL;
898}
899#endif

--- 881 unchanged lines hidden ---
892#ifdef CONFIG_INET
893char *tcp_ca_get_name_by_key(u32 key, char *buffer);
894#else
895static inline char *tcp_ca_get_name_by_key(u32 key, char *buffer)
896{
897 return NULL;
898}
899#endif

--- 881 unchanged lines hidden ---