Lines Matching refs:tcp_sock

415 void tcp_clear_retrans(struct tcp_sock *tp);
424 void tcp_disable_fack(struct tcp_sock *tp);
556 static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize) in tcp_bound_to_half_wnd()
600 static inline u32 __tcp_set_rto(const struct tcp_sock *tp) in __tcp_set_rto()
605 static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) in __tcp_fast_path_on()
612 static inline void tcp_fast_path_on(struct tcp_sock *tp) in tcp_fast_path_on()
619 struct tcp_sock *tp = tcp_sk(sk); in tcp_fast_path_check()
653 static inline u32 tcp_receive_window(const struct tcp_sock *tp) in tcp_receive_window()
853 u32 tcp_slow_start(struct tcp_sock *tp, u32 acked);
854 void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked);
903 static inline int tcp_is_sack(const struct tcp_sock *tp) in tcp_is_sack()
908 static inline bool tcp_is_reno(const struct tcp_sock *tp) in tcp_is_reno()
913 static inline bool tcp_is_fack(const struct tcp_sock *tp) in tcp_is_fack()
918 static inline void tcp_enable_fack(struct tcp_sock *tp) in tcp_enable_fack()
926 static inline void tcp_enable_early_retrans(struct tcp_sock *tp) in tcp_enable_early_retrans()
933 static inline void tcp_disable_early_retrans(struct tcp_sock *tp) in tcp_disable_early_retrans()
938 static inline unsigned int tcp_left_out(const struct tcp_sock *tp) in tcp_left_out()
957 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_packets_in_flight()
964 static inline bool tcp_in_initial_slowstart(const struct tcp_sock *tp) in tcp_in_initial_slowstart()
981 const struct tcp_sock *tp = tcp_sk(sk); in tcp_current_ssthresh()
995 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst);
1000 static inline __u32 tcp_max_tso_deferred_mss(const struct tcp_sock *tp) in tcp_max_tso_deferred_mss()
1011 static __inline__ __u32 tcp_max_burst(const struct tcp_sock *tp) in tcp_max_burst()
1017 static inline u32 tcp_wnd_end(const struct tcp_sock *tp) in tcp_wnd_end()
1037 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()
1048 const struct tcp_sock *tp = tcp_sk(sk); in tcp_check_probe_timer()
1056 static inline void tcp_init_wl(struct tcp_sock *tp, u32 seq) in tcp_init_wl()
1061 static inline void tcp_update_wl(struct tcp_sock *tp, u32 seq) in tcp_update_wl()
1088 static inline void tcp_prequeue_init(struct tcp_sock *tp) in tcp_prequeue_init()
1148 static inline int keepalive_intvl_when(const struct tcp_sock *tp) in keepalive_intvl_when()
1153 static inline int keepalive_time_when(const struct tcp_sock *tp) in keepalive_time_when()
1158 static inline int keepalive_probes(const struct tcp_sock *tp) in keepalive_probes()
1163 static inline u32 keepalive_time_elapsed(const struct tcp_sock *tp) in keepalive_time_elapsed()
1235 static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp) in tcp_clear_retrans_hints_partial()
1240 static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp) in tcp_clear_all_retrans_hints()
1354 void tcp_free_fastopen_req(struct tcp_sock *tp);
1499 struct tcp_sock *tp = tcp_sk(sk); in tcp_push_pending_frames()
1509 static inline u32 tcp_highest_sack_seq(struct tcp_sock *tp) in tcp_highest_sack_seq()
1548 static inline bool tcp_stream_is_thin(struct tcp_sock *tp) in tcp_stream_is_thin()
1594 static inline u32 tcp_notsent_lowat(const struct tcp_sock *tp) in tcp_notsent_lowat()
1601 const struct tcp_sock *tp = tcp_sk(sk); in tcp_stream_memory_free()