Lines Matching refs:tcp_sock
248 static void tcp_ecn_queue_cwr(struct tcp_sock *tp) in tcp_ecn_queue_cwr()
267 static void tcp_ecn_withdraw_cwr(struct tcp_sock *tp) in tcp_ecn_withdraw_cwr()
274 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ecn_check_ce()
310 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_synack()
316 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_syn()
322 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo()
336 const struct tcp_sock *tp = tcp_sk(sk); in tcp_sndbuf_expand()
394 struct tcp_sock *tp = tcp_sk(sk); in __tcp_grow_window()
411 struct tcp_sock *tp = tcp_sk(sk); in tcp_grow_window()
442 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_buffer_space()
477 struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_window()
504 const struct tcp_sock *tp = tcp_sk(sk); in tcp_initialize_rcv_mss()
526 static void tcp_rcv_rtt_update(struct tcp_sock *tp, u32 sample, int win_dep) in tcp_rcv_rtt_update()
558 static inline void tcp_rcv_rtt_measure(struct tcp_sock *tp) in tcp_rcv_rtt_measure()
579 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts()
605 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_space_adjust()
678 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_data_recv()
733 struct tcp_sock *tp = tcp_sk(sk); in tcp_rtt_estimator()
801 const struct tcp_sock *tp = tcp_sk(sk); in tcp_update_pacing_rate()
838 const struct tcp_sock *tp = tcp_sk(sk); in tcp_set_rto()
863 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst) in tcp_init_cwnd()
873 static void tcp_dsack_seen(struct tcp_sock *tp) in tcp_dsack_seen()
887 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reordering()
916 static void tcp_verify_retransmit_hint(struct tcp_sock *tp, struct sk_buff *skb) in tcp_verify_retransmit_hint()
931 static void tcp_sum_lost(struct tcp_sock *tp, struct sk_buff *skb) in tcp_sum_lost()
940 static void tcp_skb_mark_lost(struct tcp_sock *tp, struct sk_buff *skb) in tcp_skb_mark_lost()
951 void tcp_skb_mark_lost_uncond_verify(struct tcp_sock *tp, struct sk_buff *skb) in tcp_skb_mark_lost_uncond_verify()
1055 static bool tcp_is_sackblock_valid(struct tcp_sock *tp, bool is_dsack, in tcp_is_sackblock_valid()
1096 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_dsack()
1203 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_one()
1287 struct tcp_sock *tp = tcp_sk(sk); in tcp_shifted_skb()
1400 struct tcp_sock *tp = tcp_sk(sk); in tcp_shift_skb_data()
1537 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_walk()
1652 static int tcp_sack_cache_ok(const struct tcp_sock *tp, const struct tcp_sack_block *cache) in tcp_sack_cache_ok()
1661 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_write_queue()
1857 static bool tcp_limit_reno_sacked(struct tcp_sock *tp) in tcp_limit_reno_sacked()
1877 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_reno_reordering()
1893 struct tcp_sock *tp = tcp_sk(sk); in tcp_add_reno_sack()
1910 struct tcp_sock *tp = tcp_sk(sk); in tcp_remove_reno_sacks()
1924 static inline void tcp_reset_reno_sack(struct tcp_sock *tp) in tcp_reset_reno_sack()
1929 void tcp_clear_retrans(struct tcp_sock *tp) in tcp_clear_retrans()
1938 static inline void tcp_init_undo(struct tcp_sock *tp) in tcp_init_undo()
1956 struct tcp_sock *tp = tcp_sk(sk); in tcp_timeout_mark_lost()
1988 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_loss()
2041 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reneging()
2063 static inline int tcp_dupack_heuristics(const struct tcp_sock *tp) in tcp_dupack_heuristics()
2167 struct tcp_sock *tp = tcp_sk(sk); in tcp_time_to_recover()
2188 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_head_lost()
2249 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_scoreboard()
2260 static bool tcp_tsopt_ecr_before(const struct tcp_sock *tp, u32 when) in tcp_tsopt_ecr_before()
2269 static bool tcp_skb_spurious_retrans(const struct tcp_sock *tp, in tcp_skb_spurious_retrans()
2279 static inline bool tcp_packet_delayed(const struct tcp_sock *tp) in tcp_packet_delayed()
2303 const struct tcp_sock *tp = tcp_sk(sk); in tcp_any_retrans_done()
2319 struct tcp_sock *tp = tcp_sk(sk); in DBGUNDO()
2345 struct tcp_sock *tp = tcp_sk(sk); in tcp_undo_cwnd_reduction()
2372 static inline bool tcp_may_undo(const struct tcp_sock *tp) in tcp_may_undo()
2380 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_recovery()
2415 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_dsack()
2431 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_loss()
2462 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_cwnd_reduction()
2476 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_reduction()
2503 struct tcp_sock *tp = tcp_sk(sk); in tcp_end_cwnd_reduction()
2520 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_cwr()
2533 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_keep_open()
2547 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_to_open()
2573 struct tcp_sock *tp = tcp_sk(sk); in tcp_mtup_probe_success()
2598 struct tcp_sock *tp = tcp_sk(sk); in tcp_simple_retransmit()
2641 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_recovery()
2668 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_loss()
2721 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_partial()
2751 struct tcp_sock *tp = tcp_sk(sk); in tcp_identify_packet_loss()
2769 struct tcp_sock *tp = tcp_sk(sk); in tcp_force_fast_retransmit()
2791 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastretrans_alert()
2904 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_rtt_min()
2921 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_rtt()
2990 struct tcp_sock *tp = tcp_sk(sk); in tcp_rearm_rto()
3026 struct tcp_sock *tp = tcp_sk(sk); in tcp_tso_acked()
3072 struct tcp_sock *tp = tcp_sk(sk); in tcp_clean_rtx_queue()
3273 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_probe()
3341 static inline bool tcp_may_update_window(const struct tcp_sock *tp, in tcp_may_update_window()
3351 static void tcp_snd_una_update(struct tcp_sock *tp, u32 ack) in tcp_snd_una_update()
3361 static void tcp_rcv_nxt_update(struct tcp_sock *tp, u32 seq) in tcp_rcv_nxt_update()
3378 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_window()
3454 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_challenge_ack()
3481 static void tcp_store_ts_recent(struct tcp_sock *tp) in tcp_store_ts_recent()
3487 static void tcp_replace_ts_recent(struct tcp_sock *tp, u32 seq) in tcp_replace_ts_recent()
3509 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_tlp_ack()
3548 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_recovery()
3567 struct tcp_sock *tp = tcp_sk(sk); in tcp_newly_delivered()
3583 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack()
3952 static bool tcp_parse_aligned_timestamp(struct tcp_sock *tp, const struct tcphdr *th) in tcp_parse_aligned_timestamp()
3976 const struct tcphdr *th, struct tcp_sock *tp) in tcp_fast_parse_options()
4057 const struct tcp_sock *tp = tcp_sk(sk); in tcp_disordered_ack()
4078 const struct tcp_sock *tp = tcp_sk(sk); in tcp_paws_discard()
4097 static inline bool tcp_sequence(const struct tcp_sock *tp, u32 seq, u32 end_seq) in tcp_sequence()
4147 struct tcp_sock *tp = tcp_sk(sk); in tcp_fin()
4229 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_set()
4249 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_extend()
4270 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_dupack()
4293 static void tcp_sack_maybe_coalesce(struct tcp_sock *tp) in tcp_sack_maybe_coalesce()
4320 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_new_ofo_skb()
4364 static void tcp_sack_remove(struct tcp_sock *tp) in tcp_sack_remove()
4475 struct tcp_sock *tp = tcp_sk(sk); in tcp_ofo_queue()
4542 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue_ofo()
4746 const struct tcp_sock *tp = tcp_sk(sk); in tcp_data_ready()
4757 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue()
5012 struct tcp_sock *tp = tcp_sk(sk); in tcp_collapse_ofo_queue()
5070 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_ofo_queue()
5115 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_queue()
5159 const struct tcp_sock *tp = tcp_sk(sk); in tcp_should_expand_sndbuf()
5190 struct tcp_sock *tp = tcp_sk(sk); in tcp_new_space()
5226 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ack_snd_check()
5304 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_urg()
5370 struct tcp_sock *tp = tcp_sk(sk); in tcp_urg()
5403 struct tcp_sock *tp = tcp_sk(sk); in tcp_reset_check()
5416 struct tcp_sock *tp = tcp_sk(sk); in tcp_validate_incoming()
5547 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_established()
5725 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_transfer()
5750 struct tcp_sock *tp = tcp_sk(sk); in tcp_finish_connect()
5781 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_fastopen_synack()
5839 static void smc_check_reset_syn(struct tcp_sock *tp) in smc_check_reset_syn()
5851 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_spurious_syn()
5868 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_synsent_state_process()
6127 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_state_process()
6525 struct tcp_sock *tp = tcp_sk(sk); in tcp_get_syncookie_mss()
6555 struct tcp_sock *tp = tcp_sk(sk); in tcp_conn_request()