Lines Matching refs:tcp_sk

147 	bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown &&  in bpf_skops_parse_hdr()
148 BPF_SOCK_OPS_TEST_FLAG(tcp_sk(sk), in bpf_skops_parse_hdr()
150 bool parse_all_opt = BPF_SOCK_OPS_TEST_FLAG(tcp_sk(sk), in bpf_skops_parse_hdr()
244 u8 old_ratio = tcp_sk(sk)->scaling_ratio; in tcp_measure_rcv_mss()
247 tcp_sk(sk)->scaling_ratio = val ? val : 1; in tcp_measure_rcv_mss()
249 if (old_ratio != tcp_sk(sk)->scaling_ratio) { in tcp_measure_rcv_mss()
250 struct tcp_sock *tp = tcp_sk(sk); in tcp_measure_rcv_mss()
260 tcp_sk(sk)->advmss); in tcp_measure_rcv_mss()
296 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss()
312 unsigned int quickacks = tcp_sk(sk)->rcv_wnd / (2 * icsk->icsk_ack.rcv_mss); in tcp_incr_quickack()
351 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
369 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_ecn_check()
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()
735 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts()
756 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_space_adjust()
835 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_data_recv()
890 struct tcp_sock *tp = tcp_sk(sk); in tcp_rtt_estimator()
958 const struct tcp_sock *tp = tcp_sk(sk); in tcp_update_pacing_rate()
995 const struct tcp_sock *tp = tcp_sk(sk); in tcp_set_rto()
1095 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reordering()
1148 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_skb_lost()
1304 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_dsack()
1402 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_one()
1487 struct tcp_sock *tp = tcp_sk(sk); in tcp_shifted_skb()
1600 struct tcp_sock *tp = tcp_sk(sk); in tcp_shift_skb_data()
1739 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_walk()
1863 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_write_queue()
2078 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_reno_reordering()
2094 struct tcp_sock *tp = tcp_sk(sk); in tcp_add_reno_sack()
2111 struct tcp_sock *tp = tcp_sk(sk); in tcp_remove_reno_sacks()
2171 struct tcp_sock *tp = tcp_sk(sk); in tcp_timeout_mark_lost()
2203 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_loss()
2261 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reneging()
2387 struct tcp_sock *tp = tcp_sk(sk); in tcp_time_to_recover()
2407 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_head_lost()
2453 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_scoreboard()
2521 const struct tcp_sock *tp = tcp_sk(sk); in tcp_any_retrans_done()
2541 tcp_sk(sk)->retrans_stamp = 0; in tcp_retrans_stamp_cleanup()
2547 struct tcp_sock *tp = tcp_sk(sk); in DBGUNDO()
2573 struct tcp_sock *tp = tcp_sk(sk); in tcp_undo_cwnd_reduction()
2607 struct tcp_sock *tp = tcp_sk(sk); in tcp_is_non_sack_preventing_reopen()
2623 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_recovery()
2652 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_dsack()
2668 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_loss()
2701 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_cwnd_reduction()
2715 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_reduction()
2743 struct tcp_sock *tp = tcp_sk(sk); in tcp_end_cwnd_reduction()
2760 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_cwr()
2773 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_keep_open()
2787 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_to_open()
2813 struct tcp_sock *tp = tcp_sk(sk); in tcp_mtup_probe_success()
2847 struct tcp_sock *tp = tcp_sk(sk); in tcp_non_congestion_loss_retransmit()
2865 struct tcp_sock *tp = tcp_sk(sk); in tcp_simple_retransmit()
2910 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_recovery()
2948 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_loss()
3000 struct tcp_sock *tp = tcp_sk(sk); in tcp_force_fast_retransmit()
3010 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_partial()
3042 struct tcp_sock *tp = tcp_sk(sk); in tcp_identify_packet_loss()
3075 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastretrans_alert()
3194 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_rtt_min()
3211 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_rtt()
3266 tcp_sk(sk)->snd_cwnd_stamp = tcp_jiffies32; in tcp_cong_avoid()
3275 struct tcp_sock *tp = tcp_sk(sk); in tcp_rearm_rto()
3310 struct tcp_sock *tp = tcp_sk(sk); in tcp_tso_acked()
3339 before(shinfo->tskey, tcp_sk(sk)->snd_una)) { in tcp_ack_tstamp()
3356 struct tcp_sock *tp = tcp_sk(sk); in tcp_clean_rtx_queue()
3560 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_probe()
3595 if (tcp_sk(sk)->reordering > in tcp_may_raise_cwnd()
3703 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_window()
3783 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_challenge_ack()
3853 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_tlp_ack()
3906 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_recovery()
3925 struct tcp_sock *tp = tcp_sk(sk); in tcp_newly_delivered()
3940 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack()
4468 if (tcp_sk(sk)->tcp_usec_ts) in tcp_tsval_replay()
4480 const struct tcp_sock *tp = tcp_sk(sk); in tcp_disordered_ack_check()
4598 struct tcp_sock *tp = tcp_sk(sk); in tcp_fin()
4679 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_set()
4699 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_extend()
4720 (tcp_sk(sk)->inet_conn.icsk_ack.lrcv_flowlabel != in tcp_rcv_spurious_retrans()
4732 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_dupack()
4783 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_compress_send_ack()
4810 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_new_ofo_skb()
4966 struct tcp_sock *tp = tcp_sk(sk); in tcp_ofo_queue()
5033 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue_ofo()
5187 tcp_rcv_nxt_update(tcp_sk(sk), TCP_SKB_CB(skb)->end_seq); in tcp_queue_rcv()
5230 TCP_SKB_CB(skb)->seq = tcp_sk(sk)->rcv_nxt; in tcp_send_rcvq()
5232 TCP_SKB_CB(skb)->ack_seq = tcp_sk(sk)->snd_una - 1; in tcp_send_rcvq()
5255 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue()
5545 struct tcp_sock *tp = tcp_sk(sk); in tcp_collapse_ofo_queue()
5605 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_ofo_queue()
5659 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_queue()
5702 const struct tcp_sock *tp = tcp_sk(sk); in tcp_should_expand_sndbuf()
5737 struct tcp_sock *tp = tcp_sk(sk); in tcp_new_space()
5780 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ack_snd_check()
5866 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_urg()
5932 struct tcp_sock *tp = tcp_sk(sk); in tcp_urg()
5965 const struct tcp_sock *tp = tcp_sk(sk); in tcp_reset_check()
5978 struct tcp_sock *tp = tcp_sk(sk); in tcp_validate_incoming()
6138 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_established()
6332 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_transfer()
6359 struct tcp_sock *tp = tcp_sk(sk); in tcp_finish_connect()
6391 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_fastopen_synack()
6463 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_spurious_syn()
6480 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_synsent_state_process()
6725 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_synrecv_state_fastopen()
6774 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_state_process()
7120 ireq->smc_ok = rx_opt->smc_ok && !(tcp_sk(sk)->smc_hs_congested && in tcp_openreq_init()
7121 tcp_sk(sk)->smc_hs_congested(sk)); in tcp_openreq_init()
7167 if (tcp_sk(sk)->save_syn) { in tcp_reqsk_record_syn()
7173 if (tcp_sk(sk)->save_syn == 2) { /* Save full header. */ in tcp_reqsk_record_syn()
7201 struct tcp_sock *tp = tcp_sk(sk); in tcp_get_syncookie_mss()
7230 struct tcp_sock *tp = tcp_sk(sk); in tcp_conn_request()