Lines Matching refs:tcp_sk

145 	bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown &&  in bpf_skops_parse_hdr()
146 BPF_SOCK_OPS_TEST_FLAG(tcp_sk(sk), in bpf_skops_parse_hdr()
148 bool parse_all_opt = BPF_SOCK_OPS_TEST_FLAG(tcp_sk(sk), in bpf_skops_parse_hdr()
241 tcp_sk(sk)->advmss); in tcp_measure_rcv_mss()
265 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss()
281 unsigned int quickacks = tcp_sk(sk)->rcv_wnd / (2 * icsk->icsk_ack.rcv_mss); in tcp_incr_quickack()
322 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
340 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ecn_check_ce()
372 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
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()
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()
1027 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reordering()
1080 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_skb_lost()
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()
1802 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_write_queue()
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()
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()
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()
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()
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()
3124 tcp_sk(sk)->snd_cwnd_stamp = tcp_jiffies32; in tcp_cong_avoid()
3133 struct tcp_sock *tp = tcp_sk(sk); in tcp_rearm_rto()
3169 struct tcp_sock *tp = tcp_sk(sk); in tcp_tso_acked()
3198 before(shinfo->tskey, tcp_sk(sk)->snd_una)) { in tcp_ack_tstamp()
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()
3455 if (tcp_sk(sk)->reordering > sock_net(sk)->ipv4.sysctl_tcp_reordering) in tcp_may_raise_cwnd()
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()
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()
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()
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()
4444 if (TCP_SKB_CB(skb)->seq == tcp_sk(sk)->duplicate_sack[0].start_seq && in tcp_rcv_spurious_retrans()
4451 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_dupack()
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()
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()
4907 tcp_rcv_nxt_update(tcp_sk(sk), TCP_SKB_CB(skb)->end_seq); in tcp_queue_rcv()
4950 TCP_SKB_CB(skb)->seq = tcp_sk(sk)->rcv_nxt; in tcp_send_rcvq()
4952 TCP_SKB_CB(skb)->ack_seq = tcp_sk(sk)->snd_una - 1; in tcp_send_rcvq()
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()
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()
6333 tcp_sk(sk)->retrans_stamp = 0; in tcp_rcv_synrecv_state_fastopen()
6339 req = rcu_dereference_protected(tcp_sk(sk)->fastopen_rsk, in tcp_rcv_synrecv_state_fastopen()
6363 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_state_process()
6747 if (tcp_sk(sk)->save_syn) { in tcp_reqsk_record_syn()
6753 if (tcp_sk(sk)->save_syn == 2) { /* Save full header. */ in tcp_reqsk_record_syn()
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()