Lines Matching refs:tcp_sock

122 void clean_acked_data_enable(struct tcp_sock *tp,  in clean_acked_data_enable()
130 void clean_acked_data_disable(struct tcp_sock *tp) in clean_acked_data_disable()
250 struct tcp_sock *tp = tcp_sk(sk); in tcp_measure_rcv_mss()
342 static void tcp_ecn_queue_cwr(struct tcp_sock *tp) in tcp_ecn_queue_cwr()
362 static void tcp_ecn_withdraw_cwr(struct tcp_sock *tp) in tcp_ecn_withdraw_cwr()
369 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_ecn_check()
402 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_synack()
408 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_syn()
414 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo()
421 static void tcp_count_delivered_ce(struct tcp_sock *tp, u32 ecn_count) in tcp_count_delivered_ce()
427 static void tcp_count_delivered(struct tcp_sock *tp, u32 delivered, in tcp_count_delivered()
442 const struct tcp_sock *tp = tcp_sk(sk); in tcp_sndbuf_expand()
501 const struct tcp_sock *tp = tcp_sk(sk); in __tcp_grow_window()
538 struct tcp_sock *tp = tcp_sk(sk); in tcp_grow_window()
578 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_buffer_space()
615 struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_window()
643 const struct tcp_sock *tp = tcp_sk(sk); in tcp_initialize_rcv_mss()
665 static void tcp_rcv_rtt_update(struct tcp_sock *tp, u32 sample, int win_dep) in tcp_rcv_rtt_update()
694 static inline void tcp_rcv_rtt_measure(struct tcp_sock *tp) in tcp_rcv_rtt_measure()
712 static s32 tcp_rtt_tsopt_us(const struct tcp_sock *tp, u32 min_delta) in tcp_rtt_tsopt_us()
732 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts()
750 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcvbuf_grow()
779 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_space_adjust()
830 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_data_recv()
885 struct tcp_sock *tp = tcp_sk(sk); in tcp_rtt_estimator()
953 const struct tcp_sock *tp = tcp_sk(sk); in tcp_update_pacing_rate()
990 const struct tcp_sock *tp = tcp_sk(sk); in tcp_set_rto()
1015 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst) in tcp_init_cwnd()
1044 static u32 tcp_dsack_seen(struct tcp_sock *tp, u32 start_seq, in tcp_dsack_seen()
1090 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reordering()
1123 static void tcp_verify_retransmit_hint(struct tcp_sock *tp, struct sk_buff *skb) in tcp_verify_retransmit_hint()
1135 static void tcp_notify_skb_loss_event(struct tcp_sock *tp, const struct sk_buff *skb) in tcp_notify_skb_loss_event()
1143 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_skb_lost()
1258 static bool tcp_is_sackblock_valid(struct tcp_sock *tp, bool is_dsack, in tcp_is_sackblock_valid()
1299 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_dsack()
1397 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_one()
1477 struct tcp_sock *tp = tcp_sk(sk); in tcp_shifted_skb()
1583 struct tcp_sock *tp = tcp_sk(sk); in tcp_shift_skb_data()
1722 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_walk()
1837 static int tcp_sack_cache_ok(const struct tcp_sock *tp, const struct tcp_sack_block *cache) in tcp_sack_cache_ok()
1846 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_write_queue()
2041 static bool tcp_limit_reno_sacked(struct tcp_sock *tp) in tcp_limit_reno_sacked()
2061 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_reno_reordering()
2077 struct tcp_sock *tp = tcp_sk(sk); in tcp_add_reno_sack()
2094 struct tcp_sock *tp = tcp_sk(sk); in tcp_remove_reno_sacks()
2109 static inline void tcp_reset_reno_sack(struct tcp_sock *tp) in tcp_reset_reno_sack()
2114 void tcp_clear_retrans(struct tcp_sock *tp) in tcp_clear_retrans()
2127 static inline void tcp_init_undo(struct tcp_sock *tp) in tcp_init_undo()
2148 struct tcp_sock *tp = tcp_sk(sk); in tcp_timeout_mark_lost()
2179 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_loss()
2237 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reneging()
2339 static bool tcp_time_to_recover(const struct tcp_sock *tp) in tcp_time_to_recover()
2345 static bool tcp_tsopt_ecr_before(const struct tcp_sock *tp, u32 when) in tcp_tsopt_ecr_before()
2354 static bool tcp_skb_spurious_retrans(const struct tcp_sock *tp, in tcp_skb_spurious_retrans()
2364 static inline bool tcp_packet_delayed(const struct tcp_sock *tp) in tcp_packet_delayed()
2415 const struct tcp_sock *tp = tcp_sk(sk); in tcp_any_retrans_done()
2441 struct tcp_sock *tp = tcp_sk(sk); in DBGUNDO()
2467 struct tcp_sock *tp = tcp_sk(sk); in tcp_undo_cwnd_reduction()
2494 static inline bool tcp_may_undo(const struct tcp_sock *tp) in tcp_may_undo()
2501 struct tcp_sock *tp = tcp_sk(sk); in tcp_is_non_sack_preventing_reopen()
2517 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_recovery()
2546 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_dsack()
2562 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_loss()
2595 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_cwnd_reduction()
2609 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_reduction()
2637 struct tcp_sock *tp = tcp_sk(sk); in tcp_end_cwnd_reduction()
2654 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_cwr()
2667 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_keep_open()
2681 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_to_open()
2707 struct tcp_sock *tp = tcp_sk(sk); in tcp_mtup_probe_success()
2741 struct tcp_sock *tp = tcp_sk(sk); in tcp_non_congestion_loss_retransmit()
2759 struct tcp_sock *tp = tcp_sk(sk); in tcp_simple_retransmit()
2802 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_recovery()
2826 static void tcp_update_rto_time(struct tcp_sock *tp) in tcp_update_rto_time()
2840 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_loss()
2893 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_partial()
2922 struct tcp_sock *tp = tcp_sk(sk); in tcp_identify_packet_loss()
2955 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastretrans_alert()
3069 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_rtt_min()
3086 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_rtt()
3150 struct tcp_sock *tp = tcp_sk(sk); in tcp_rearm_rto()
3185 struct tcp_sock *tp = tcp_sk(sk); in tcp_tso_acked()
3231 struct tcp_sock *tp = tcp_sk(sk); in tcp_clean_rtx_queue()
3428 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_probe()
3498 static inline bool tcp_may_update_window(const struct tcp_sock *tp, in tcp_may_update_window()
3507 static void tcp_snd_sne_update(struct tcp_sock *tp, u32 ack) in tcp_snd_sne_update()
3525 static void tcp_snd_una_update(struct tcp_sock *tp, u32 ack) in tcp_snd_una_update()
3535 static void tcp_rcv_sne_update(struct tcp_sock *tp, u32 seq) in tcp_rcv_sne_update()
3553 static void tcp_rcv_nxt_update(struct tcp_sock *tp, u32 seq) in tcp_rcv_nxt_update()
3571 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_window()
3651 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_challenge_ack()
3683 static void tcp_store_ts_recent(struct tcp_sock *tp) in tcp_store_ts_recent()
3689 static int __tcp_replace_ts_recent(struct tcp_sock *tp, s32 tstamp_delta) in __tcp_replace_ts_recent()
3695 static int tcp_replace_ts_recent(struct tcp_sock *tp, u32 seq) in tcp_replace_ts_recent()
3721 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_tlp_ack()
3774 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_recovery()
3793 struct tcp_sock *tp = tcp_sk(sk); in tcp_newly_delivered()
3808 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack()
4206 static bool tcp_parse_aligned_timestamp(struct tcp_sock *tp, const struct tcphdr *th) in tcp_parse_aligned_timestamp()
4230 const struct tcphdr *th, struct tcp_sock *tp) in tcp_fast_parse_options()
4348 const struct tcp_sock *tp = tcp_sk(sk); in tcp_disordered_ack_check()
4397 const struct tcp_sock *tp = tcp_sk(sk); in tcp_sequence()
4474 struct tcp_sock *tp = tcp_sk(sk); in tcp_fin()
4555 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_set()
4575 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_extend()
4608 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_dupack()
4631 static void tcp_sack_maybe_coalesce(struct tcp_sock *tp) in tcp_sack_maybe_coalesce()
4659 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_compress_send_ack()
4686 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_new_ofo_skb()
4733 static void tcp_sack_remove(struct tcp_sock *tp) in tcp_sack_remove()
4842 struct tcp_sock *tp = tcp_sk(sk); in tcp_ofo_queue()
4920 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue_ofo()
5146 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue()
5436 struct tcp_sock *tp = tcp_sk(sk); in tcp_collapse_ofo_queue()
5496 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_ofo_queue()
5550 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_queue()
5597 const struct tcp_sock *tp = tcp_sk(sk); in tcp_should_expand_sndbuf()
5632 struct tcp_sock *tp = tcp_sk(sk); in tcp_new_space()
5675 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ack_snd_check()
5761 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_urg()
5827 struct tcp_sock *tp = tcp_sk(sk); in tcp_urg()
5860 const struct tcp_sock *tp = tcp_sk(sk); in tcp_reset_check()
5873 struct tcp_sock *tp = tcp_sk(sk); in tcp_validate_incoming()
6038 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_established()
6236 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_transfer()
6263 struct tcp_sock *tp = tcp_sk(sk); in tcp_finish_connect()
6295 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_fastopen_synack()
6355 static void smc_check_reset_syn(struct tcp_sock *tp) in smc_check_reset_syn()
6367 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_spurious_syn()
6384 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_synsent_state_process()
6629 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_synrecv_state_fastopen()
6678 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_state_process()
7105 struct tcp_sock *tp = tcp_sk(sk); in tcp_get_syncookie_mss()
7134 struct tcp_sock *tp = tcp_sk(sk); in tcp_conn_request()