Lines Matching refs:tcp_sock
206 static void tcp_ecn_queue_cwr(struct tcp_sock *tp) in tcp_ecn_queue_cwr()
212 static void tcp_ecn_accept_cwr(struct tcp_sock *tp, const struct sk_buff *skb) in tcp_ecn_accept_cwr()
218 static void tcp_ecn_withdraw_cwr(struct tcp_sock *tp) in tcp_ecn_withdraw_cwr()
223 static void __tcp_ecn_check_ce(struct tcp_sock *tp, const struct sk_buff *skb) in __tcp_ecn_check_ce()
253 static void tcp_ecn_check_ce(struct tcp_sock *tp, const struct sk_buff *skb) in tcp_ecn_check_ce()
259 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_synack()
265 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_syn()
271 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo()
285 const struct tcp_sock *tp = tcp_sk(sk); in tcp_sndbuf_expand()
340 struct tcp_sock *tp = tcp_sk(sk); in __tcp_grow_window()
357 struct tcp_sock *tp = tcp_sk(sk); in tcp_grow_window()
406 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_buffer_space()
442 struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_window()
467 const struct tcp_sock *tp = tcp_sk(sk); in tcp_initialize_rcv_mss()
489 static void tcp_rcv_rtt_update(struct tcp_sock *tp, u32 sample, int win_dep) in tcp_rcv_rtt_update()
525 static inline void tcp_rcv_rtt_measure(struct tcp_sock *tp) in tcp_rcv_rtt_measure()
541 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts()
554 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_space_adjust()
630 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_data_recv()
685 struct tcp_sock *tp = tcp_sk(sk); in tcp_rtt_estimator()
755 const struct tcp_sock *tp = tcp_sk(sk); in tcp_update_pacing_rate()
779 const struct tcp_sock *tp = tcp_sk(sk); in tcp_set_rto()
804 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst) in tcp_init_cwnd()
817 void tcp_disable_fack(struct tcp_sock *tp) in tcp_disable_fack()
826 static void tcp_dsack_seen(struct tcp_sock *tp) in tcp_dsack_seen()
834 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_reordering()
867 static void tcp_verify_retransmit_hint(struct tcp_sock *tp, struct sk_buff *skb) in tcp_verify_retransmit_hint()
879 static void tcp_skb_mark_lost(struct tcp_sock *tp, struct sk_buff *skb) in tcp_skb_mark_lost()
889 static void tcp_skb_mark_lost_uncond_verify(struct tcp_sock *tp, in tcp_skb_mark_lost_uncond_verify()
994 static bool tcp_is_sackblock_valid(struct tcp_sock *tp, bool is_dsack, in tcp_is_sackblock_valid()
1043 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_lost_retrans()
1099 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_dsack()
1198 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_one()
1287 struct tcp_sock *tp = tcp_sk(sk); in tcp_shifted_skb()
1385 struct tcp_sock *tp = tcp_sk(sk); in tcp_shift_skb_data()
1524 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_walk()
1630 static int tcp_sack_cache_ok(const struct tcp_sock *tp, const struct tcp_sack_block *cache) in tcp_sack_cache_ok()
1639 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_write_queue()
1844 static bool tcp_limit_reno_sacked(struct tcp_sock *tp) in tcp_limit_reno_sacked()
1864 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_reno_reordering()
1873 struct tcp_sock *tp = tcp_sk(sk); in tcp_add_reno_sack()
1883 struct tcp_sock *tp = tcp_sk(sk); in tcp_remove_reno_sacks()
1896 static inline void tcp_reset_reno_sack(struct tcp_sock *tp) in tcp_reset_reno_sack()
1901 void tcp_clear_retrans(struct tcp_sock *tp) in tcp_clear_retrans()
1911 static inline void tcp_init_undo(struct tcp_sock *tp) in tcp_init_undo()
1925 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_loss()
2006 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reneging()
2017 static inline int tcp_fackets_out(const struct tcp_sock *tp) in tcp_fackets_out()
2037 static inline int tcp_dupack_heuristics(const struct tcp_sock *tp) in tcp_dupack_heuristics()
2044 struct tcp_sock *tp = tcp_sk(sk); in tcp_pause_early_retransmit()
2161 struct tcp_sock *tp = tcp_sk(sk); in tcp_time_to_recover()
2216 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_head_lost()
2278 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_scoreboard()
2299 static inline void tcp_moderate_cwnd(struct tcp_sock *tp) in tcp_moderate_cwnd()
2309 static inline bool tcp_packet_delayed(const struct tcp_sock *tp) in tcp_packet_delayed()
2334 const struct tcp_sock *tp = tcp_sk(sk); in tcp_any_retrans_done()
2350 struct tcp_sock *tp = tcp_sk(sk); in DBGUNDO()
2379 struct tcp_sock *tp = tcp_sk(sk); in tcp_undo_cwnd_reduction()
2412 static inline bool tcp_may_undo(const struct tcp_sock *tp) in tcp_may_undo()
2420 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_recovery()
2453 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_dsack()
2467 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_loss()
2497 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_cwnd_reduction()
2512 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_reduction()
2535 struct tcp_sock *tp = tcp_sk(sk); in tcp_end_cwnd_reduction()
2549 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_cwr()
2561 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_keep_open()
2575 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_to_open()
2602 struct tcp_sock *tp = tcp_sk(sk); in tcp_mtup_probe_success()
2626 struct tcp_sock *tp = tcp_sk(sk); in tcp_simple_retransmit()
2672 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_recovery()
2698 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_loss()
2747 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_partial()
2793 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastretrans_alert()
2905 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_rtt()
2942 struct tcp_sock *tp = tcp_sk(sk); in tcp_synack_rtt_meas()
2969 struct tcp_sock *tp = tcp_sk(sk); in tcp_rearm_rto()
3004 struct tcp_sock *tp = tcp_sk(sk); in tcp_resume_early_retransmit()
3020 struct tcp_sock *tp = tcp_sk(sk); in tcp_tso_acked()
3062 struct tcp_sock *tp = tcp_sk(sk); in tcp_clean_rtx_queue()
3229 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_probe()
3275 static inline bool tcp_may_update_window(const struct tcp_sock *tp, in tcp_may_update_window()
3285 static void tcp_snd_una_update(struct tcp_sock *tp, u32 ack) in tcp_snd_una_update()
3296 static void tcp_rcv_nxt_update(struct tcp_sock *tp, u32 seq) in tcp_rcv_nxt_update()
3314 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_window()
3382 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_challenge_ack()
3403 static void tcp_store_ts_recent(struct tcp_sock *tp) in tcp_store_ts_recent()
3409 static void tcp_replace_ts_recent(struct tcp_sock *tp, u32 seq) in tcp_replace_ts_recent()
3431 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_tlp_ack()
3468 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack()
3759 static bool tcp_parse_aligned_timestamp(struct tcp_sock *tp, const struct tcphdr *th) in tcp_parse_aligned_timestamp()
3782 const struct tcphdr *th, struct tcp_sock *tp) in tcp_fast_parse_options()
3866 const struct tcp_sock *tp = tcp_sk(sk); in tcp_disordered_ack()
3887 const struct tcp_sock *tp = tcp_sk(sk); in tcp_paws_discard()
3906 static inline bool tcp_sequence(const struct tcp_sock *tp, u32 seq, u32 end_seq) in tcp_sequence()
3953 struct tcp_sock *tp = tcp_sk(sk); in tcp_fin()
4038 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_set()
4058 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_extend()
4068 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_dupack()
4090 static void tcp_sack_maybe_coalesce(struct tcp_sock *tp) in tcp_sack_maybe_coalesce()
4117 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_new_ofo_skb()
4159 static void tcp_sack_remove(struct tcp_sock *tp) in tcp_sack_remove()
4234 struct tcp_sock *tp = tcp_sk(sk); in tcp_ofo_queue()
4297 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue_ofo()
4490 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue()
4723 struct tcp_sock *tp = tcp_sk(sk); in tcp_collapse_ofo_queue()
4770 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_ofo_queue()
4799 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_queue()
4842 const struct tcp_sock *tp = tcp_sk(sk); in tcp_should_expand_sndbuf()
4873 struct tcp_sock *tp = tcp_sk(sk); in tcp_new_space()
4906 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ack_snd_check()
4947 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_urg()
5013 struct tcp_sock *tp = tcp_sk(sk); in tcp_urg()
5038 struct tcp_sock *tp = tcp_sk(sk); in tcp_copy_to_iovec()
5086 struct tcp_sock *tp = tcp_sk(sk); in tcp_validate_incoming()
5183 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_established()
5377 struct tcp_sock *tp = tcp_sk(sk); in tcp_finish_connect()
5418 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_fastopen_synack()
5473 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_synsent_state_process()
5700 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_state_process()
6093 struct tcp_sock *tp = tcp_sk(sk); in tcp_conn_request()