Lines Matching refs:tcp_sock
394 void tcp_clear_retrans(struct tcp_sock *tp);
592 void tcp_mark_push(struct tcp_sock *tp, struct sk_buff *skb);
650 static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize) in tcp_bound_to_half_wnd()
694 static inline u32 __tcp_set_rto(const struct tcp_sock *tp) in __tcp_set_rto()
699 static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) in __tcp_fast_path_on()
710 static inline void tcp_fast_path_on(struct tcp_sock *tp) in tcp_fast_path_on()
717 struct tcp_sock *tp = tcp_sk(sk); in tcp_fast_path_check()
748 static inline u32 tcp_min_rtt(const struct tcp_sock *tp) in tcp_min_rtt()
757 static inline u32 tcp_receive_window(const struct tcp_sock *tp) in tcp_receive_window()
798 static inline u32 tcp_time_stamp(const struct tcp_sock *tp) in tcp_time_stamp()
815 void tcp_mstamp_refresh(struct tcp_sock *tp);
1130 u32 tcp_slow_start(struct tcp_sock *tp, u32 acked);
1131 void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked);
1188 static inline int tcp_is_sack(const struct tcp_sock *tp) in tcp_is_sack()
1193 static inline bool tcp_is_reno(const struct tcp_sock *tp) in tcp_is_reno()
1198 static inline unsigned int tcp_left_out(const struct tcp_sock *tp) in tcp_left_out()
1217 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_packets_in_flight()
1224 static inline u32 tcp_snd_cwnd(const struct tcp_sock *tp) in tcp_snd_cwnd()
1229 static inline void tcp_snd_cwnd_set(struct tcp_sock *tp, u32 val) in tcp_snd_cwnd_set()
1235 static inline bool tcp_in_slow_start(const struct tcp_sock *tp) in tcp_in_slow_start()
1240 static inline bool tcp_in_initial_slowstart(const struct tcp_sock *tp) in tcp_in_initial_slowstart()
1257 const struct tcp_sock *tp = tcp_sk(sk); in tcp_current_ssthresh()
1271 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst);
1276 static inline __u32 tcp_max_tso_deferred_mss(const struct tcp_sock *tp) in tcp_max_tso_deferred_mss()
1282 static inline u32 tcp_wnd_end(const struct tcp_sock *tp) in tcp_wnd_end()
1302 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()
1373 static inline void tcp_init_wl(struct tcp_sock *tp, u32 seq) in tcp_init_wl()
1378 static inline void tcp_update_wl(struct tcp_sock *tp, u32 seq) in tcp_update_wl()
1418 struct tcp_sock *tp = tcp_sk(sk); in tcp_slow_start_after_idle_check()
1486 struct tcp_sock *tp = tcp_sk(sk); in tcp_adjust_rcv_ssthresh()
1518 const struct tcp_sock *tp = tcp_sk(sk); in tcp_epollin_ready()
1535 static inline int keepalive_intvl_when(const struct tcp_sock *tp) in keepalive_intvl_when()
1548 static inline int keepalive_time_when(const struct tcp_sock *tp) in keepalive_time_when()
1559 static inline int keepalive_probes(const struct tcp_sock *tp) in keepalive_probes()
1572 static inline u32 keepalive_time_elapsed(const struct tcp_sock *tp) in keepalive_time_elapsed()
1647 static inline void tcp_clear_retrans_hints_partial(struct tcp_sock *tp) in tcp_clear_retrans_hints_partial()
1652 static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp) in tcp_clear_all_retrans_hints()
1795 void tcp_free_fastopen_req(struct tcp_sock *tp);
1928 const struct tcp_sock *tp = tcp_sk(sk); in tcp_write_queue_empty()
1984 struct tcp_sock *tp = tcp_sk(sk); in tcp_push_pending_frames()
1994 static inline u32 tcp_highest_sack_seq(struct tcp_sock *tp) in tcp_highest_sack_seq()
2044 static inline bool tcp_stream_is_thin(struct tcp_sock *tp) in tcp_stream_is_thin()
2087 static inline u32 tcp_notsent_lowat(const struct tcp_sock *tp) in tcp_notsent_lowat()
2183 extern s32 tcp_rack_skb_timeout(struct tcp_sock *tp, struct sk_buff *skb,
2186 extern void tcp_rack_advance(struct tcp_sock *tp, u8 sacked, u32 end_seq,
2267 struct tcp_sock *tp = tcp_sk(sk); in tcp_inq()
2291 static inline void tcp_segs_in(struct tcp_sock *tp, const struct sk_buff *skb) in tcp_segs_in()
2513 const struct tcp_sock *tp) in tcp_add_tx_delay()