Lines Matching refs:tcp_sock
313 static void tcp_ecn_queue_cwr(struct tcp_sock *tp) in tcp_ecn_queue_cwr()
333 static void tcp_ecn_withdraw_cwr(struct tcp_sock *tp) in tcp_ecn_withdraw_cwr()
340 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ecn_check_ce()
376 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_synack()
382 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_syn()
388 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo()
402 const struct tcp_sock *tp = tcp_sk(sk); in tcp_sndbuf_expand()
461 struct tcp_sock *tp = tcp_sk(sk); in __tcp_grow_window()
498 struct tcp_sock *tp = tcp_sk(sk); in tcp_grow_window()
530 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_buffer_space()
566 struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_window()
593 const struct tcp_sock *tp = tcp_sk(sk); in tcp_initialize_rcv_mss()
615 static void tcp_rcv_rtt_update(struct tcp_sock *tp, u32 sample, int win_dep) in tcp_rcv_rtt_update()
647 static inline void tcp_rcv_rtt_measure(struct tcp_sock *tp) in tcp_rcv_rtt_measure()
668 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts()
694 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_space_adjust()
767 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_data_recv()
822 struct tcp_sock *tp = tcp_sk(sk); in tcp_rtt_estimator()
890 const struct tcp_sock *tp = tcp_sk(sk); in tcp_update_pacing_rate()
927 const struct tcp_sock *tp = tcp_sk(sk); in tcp_set_rto()
952 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst) in tcp_init_cwnd()
981 static u32 tcp_dsack_seen(struct tcp_sock *tp, u32 start_seq, in tcp_dsack_seen()
1027 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reordering()
1060 static void tcp_verify_retransmit_hint(struct tcp_sock *tp, struct sk_buff *skb) in tcp_verify_retransmit_hint()
1072 static void tcp_notify_skb_loss_event(struct tcp_sock *tp, const struct sk_buff *skb) in tcp_notify_skb_loss_event()
1080 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_skb_lost()
1103 static void tcp_count_delivered(struct tcp_sock *tp, u32 delivered, in tcp_count_delivered()
1204 static bool tcp_is_sackblock_valid(struct tcp_sock *tp, bool is_dsack, in tcp_is_sackblock_valid()
1245 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_dsack()
1343 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_one()
1428 struct tcp_sock *tp = tcp_sk(sk); in tcp_shifted_skb()
1541 struct tcp_sock *tp = tcp_sk(sk); in tcp_shift_skb_data()
1678 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_walk()
1793 static int tcp_sack_cache_ok(const struct tcp_sock *tp, const struct tcp_sack_block *cache) in tcp_sack_cache_ok()
1802 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_write_queue()
1997 static bool tcp_limit_reno_sacked(struct tcp_sock *tp) in tcp_limit_reno_sacked()
2017 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_reno_reordering()
2033 struct tcp_sock *tp = tcp_sk(sk); in tcp_add_reno_sack()
2050 struct tcp_sock *tp = tcp_sk(sk); in tcp_remove_reno_sacks()
2065 static inline void tcp_reset_reno_sack(struct tcp_sock *tp) in tcp_reset_reno_sack()
2070 void tcp_clear_retrans(struct tcp_sock *tp) in tcp_clear_retrans()
2079 static inline void tcp_init_undo(struct tcp_sock *tp) in tcp_init_undo()
2097 struct tcp_sock *tp = tcp_sk(sk); in tcp_timeout_mark_lost()
2129 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_loss()
2182 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reneging()
2204 static inline int tcp_dupack_heuristics(const struct tcp_sock *tp) in tcp_dupack_heuristics()
2308 struct tcp_sock *tp = tcp_sk(sk); in tcp_time_to_recover()
2328 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_head_lost()
2374 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_scoreboard()
2385 static bool tcp_tsopt_ecr_before(const struct tcp_sock *tp, u32 when) in tcp_tsopt_ecr_before()
2394 static bool tcp_skb_spurious_retrans(const struct tcp_sock *tp, in tcp_skb_spurious_retrans()
2404 static inline bool tcp_packet_delayed(const struct tcp_sock *tp) in tcp_packet_delayed()
2428 const struct tcp_sock *tp = tcp_sk(sk); in tcp_any_retrans_done()
2444 struct tcp_sock *tp = tcp_sk(sk); in DBGUNDO()
2470 struct tcp_sock *tp = tcp_sk(sk); in tcp_undo_cwnd_reduction()
2497 static inline bool tcp_may_undo(const struct tcp_sock *tp) in tcp_may_undo()
2505 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_recovery()
2540 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_dsack()
2556 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_loss()
2587 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_cwnd_reduction()
2601 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_reduction()
2627 struct tcp_sock *tp = tcp_sk(sk); in tcp_end_cwnd_reduction()
2644 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_cwr()
2657 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_keep_open()
2671 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_to_open()
2697 struct tcp_sock *tp = tcp_sk(sk); in tcp_mtup_probe_success()
2722 struct tcp_sock *tp = tcp_sk(sk); in tcp_simple_retransmit()
2774 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_recovery()
2801 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_loss()
2853 struct tcp_sock *tp = tcp_sk(sk); in tcp_force_fast_retransmit()
2863 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_partial()
2895 struct tcp_sock *tp = tcp_sk(sk); in tcp_identify_packet_loss()
2928 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastretrans_alert()
3045 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_rtt_min()
3062 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_rtt()
3133 struct tcp_sock *tp = tcp_sk(sk); in tcp_rearm_rto()
3169 struct tcp_sock *tp = tcp_sk(sk); in tcp_tso_acked()
3215 struct tcp_sock *tp = tcp_sk(sk); in tcp_clean_rtx_queue()
3420 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_probe()
3489 static inline bool tcp_may_update_window(const struct tcp_sock *tp, in tcp_may_update_window()
3499 static void tcp_snd_una_update(struct tcp_sock *tp, u32 ack) in tcp_snd_una_update()
3509 static void tcp_rcv_nxt_update(struct tcp_sock *tp, u32 seq) in tcp_rcv_nxt_update()
3526 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_window()
3602 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_challenge_ack()
3629 static void tcp_store_ts_recent(struct tcp_sock *tp) in tcp_store_ts_recent()
3635 static void tcp_replace_ts_recent(struct tcp_sock *tp, u32 seq) in tcp_replace_ts_recent()
3655 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_tlp_ack()
3697 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_recovery()
3716 struct tcp_sock *tp = tcp_sk(sk); in tcp_newly_delivered()
3731 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack()
4126 static bool tcp_parse_aligned_timestamp(struct tcp_sock *tp, const struct tcphdr *th) in tcp_parse_aligned_timestamp()
4150 const struct tcphdr *th, struct tcp_sock *tp) in tcp_fast_parse_options()
4231 const struct tcp_sock *tp = tcp_sk(sk); in tcp_disordered_ack()
4252 const struct tcp_sock *tp = tcp_sk(sk); in tcp_paws_discard()
4271 static inline bool tcp_sequence(const struct tcp_sock *tp, u32 seq, u32 end_seq) in tcp_sequence()
4327 struct tcp_sock *tp = tcp_sk(sk); in tcp_fin()
4409 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_set()
4429 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_extend()
4451 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_dupack()
4474 static void tcp_sack_maybe_coalesce(struct tcp_sock *tp) in tcp_sack_maybe_coalesce()
4502 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_compress_send_ack()
4529 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_new_ofo_skb()
4576 static void tcp_sack_remove(struct tcp_sock *tp) in tcp_sack_remove()
4689 struct tcp_sock *tp = tcp_sk(sk); in tcp_ofo_queue()
4756 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue_ofo()
4975 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue()
5239 struct tcp_sock *tp = tcp_sk(sk); in tcp_collapse_ofo_queue()
5297 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_ofo_queue()
5342 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_queue()
5386 const struct tcp_sock *tp = tcp_sk(sk); in tcp_should_expand_sndbuf()
5411 struct tcp_sock *tp = tcp_sk(sk); in tcp_new_space()
5444 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ack_snd_check()
5521 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_urg()
5587 struct tcp_sock *tp = tcp_sk(sk); in tcp_urg()
5620 struct tcp_sock *tp = tcp_sk(sk); in tcp_reset_check()
5633 struct tcp_sock *tp = tcp_sk(sk); in tcp_validate_incoming()
5766 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_established()
5947 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_transfer()
5974 struct tcp_sock *tp = tcp_sk(sk); in tcp_finish_connect()
6005 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_fastopen_synack()
6065 static void smc_check_reset_syn(struct tcp_sock *tp) in smc_check_reset_syn()
6077 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_spurious_syn()
6094 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_synsent_state_process()
6363 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_state_process()
6781 struct tcp_sock *tp = tcp_sk(sk); in tcp_get_syncookie_mss()
6811 struct tcp_sock *tp = tcp_sk(sk); in tcp_conn_request()