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()
594 const struct tcp_sock *tp = tcp_sk(sk); in tcp_initialize_rcv_mss()
669 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_rtt_measure_ts()
695 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_space_adjust()
768 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_data_recv()
823 struct tcp_sock *tp = tcp_sk(sk); in tcp_rtt_estimator()
891 const struct tcp_sock *tp = tcp_sk(sk); in tcp_update_pacing_rate()
928 const struct tcp_sock *tp = tcp_sk(sk); in tcp_set_rto()
1019 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reordering()
1072 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_skb_lost()
1237 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_dsack()
1335 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_one()
1420 struct tcp_sock *tp = tcp_sk(sk); in tcp_shifted_skb()
1533 struct tcp_sock *tp = tcp_sk(sk); in tcp_shift_skb_data()
1672 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_walk()
1796 struct tcp_sock *tp = tcp_sk(sk); in tcp_sacktag_write_queue()
2011 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_reno_reordering()
2027 struct tcp_sock *tp = tcp_sk(sk); in tcp_add_reno_sack()
2044 struct tcp_sock *tp = tcp_sk(sk); in tcp_remove_reno_sacks()
2092 struct tcp_sock *tp = tcp_sk(sk); in tcp_timeout_mark_lost()
2124 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_loss()
2181 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_sack_reneging()
2307 struct tcp_sock *tp = tcp_sk(sk); in tcp_time_to_recover()
2327 struct tcp_sock *tp = tcp_sk(sk); in tcp_mark_head_lost()
2373 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_scoreboard()
2427 const struct tcp_sock *tp = tcp_sk(sk); in tcp_any_retrans_done()
2443 struct tcp_sock *tp = tcp_sk(sk); in DBGUNDO()
2469 struct tcp_sock *tp = tcp_sk(sk); in tcp_undo_cwnd_reduction()
2503 struct tcp_sock *tp = tcp_sk(sk); in tcp_is_non_sack_preventing_reopen()
2519 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_recovery()
2548 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_dsack()
2564 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_loss()
2597 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_cwnd_reduction()
2611 struct tcp_sock *tp = tcp_sk(sk); in tcp_cwnd_reduction()
2638 struct tcp_sock *tp = tcp_sk(sk); in tcp_end_cwnd_reduction()
2655 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_cwr()
2668 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_keep_open()
2682 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_to_open()
2708 struct tcp_sock *tp = tcp_sk(sk); in tcp_mtup_probe_success()
2736 struct tcp_sock *tp = tcp_sk(sk); in tcp_simple_retransmit()
2773 struct tcp_sock *tp = tcp_sk(sk); in tcp_enter_recovery()
2800 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_loss()
2852 struct tcp_sock *tp = tcp_sk(sk); in tcp_force_fast_retransmit()
2862 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_partial()
2894 struct tcp_sock *tp = tcp_sk(sk); in tcp_identify_packet_loss()
2927 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastretrans_alert()
3044 struct tcp_sock *tp = tcp_sk(sk); in tcp_update_rtt_min()
3061 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_rtt()
3123 tcp_sk(sk)->snd_cwnd_stamp = tcp_jiffies32; in tcp_cong_avoid()
3132 struct tcp_sock *tp = tcp_sk(sk); in tcp_rearm_rto()
3168 struct tcp_sock *tp = tcp_sk(sk); in tcp_tso_acked()
3197 before(shinfo->tskey, tcp_sk(sk)->snd_una)) { in tcp_ack_tstamp()
3214 struct tcp_sock *tp = tcp_sk(sk); in tcp_clean_rtx_queue()
3419 const struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_probe()
3454 if (tcp_sk(sk)->reordering > in tcp_may_raise_cwnd()
3526 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack_update_window()
3603 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_challenge_ack()
3656 struct tcp_sock *tp = tcp_sk(sk); in tcp_process_tlp_ack()
3698 struct tcp_sock *tp = tcp_sk(sk); in tcp_xmit_recovery()
3717 struct tcp_sock *tp = tcp_sk(sk); in tcp_newly_delivered()
3732 struct tcp_sock *tp = tcp_sk(sk); in tcp_ack()
4233 const struct tcp_sock *tp = tcp_sk(sk); in tcp_disordered_ack()
4254 const struct tcp_sock *tp = tcp_sk(sk); in tcp_paws_discard()
4323 struct tcp_sock *tp = tcp_sk(sk); in tcp_fin()
4405 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_set()
4425 struct tcp_sock *tp = tcp_sk(sk); in tcp_dsack_extend()
4440 if (TCP_SKB_CB(skb)->seq == tcp_sk(sk)->duplicate_sack[0].start_seq && in tcp_rcv_spurious_retrans()
4447 struct tcp_sock *tp = tcp_sk(sk); in tcp_send_dupack()
4498 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_compress_send_ack()
4525 struct tcp_sock *tp = tcp_sk(sk); in tcp_sack_new_ofo_skb()
4686 struct tcp_sock *tp = tcp_sk(sk); in tcp_ofo_queue()
4753 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue_ofo()
4904 tcp_rcv_nxt_update(tcp_sk(sk), TCP_SKB_CB(skb)->end_seq); in tcp_queue_rcv()
4947 TCP_SKB_CB(skb)->seq = tcp_sk(sk)->rcv_nxt; in tcp_send_rcvq()
4949 TCP_SKB_CB(skb)->ack_seq = tcp_sk(sk)->snd_una - 1; in tcp_send_rcvq()
4966 const struct tcp_sock *tp = tcp_sk(sk); in tcp_data_ready()
4979 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_queue()
5238 struct tcp_sock *tp = tcp_sk(sk); in tcp_collapse_ofo_queue()
5296 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_ofo_queue()
5341 struct tcp_sock *tp = tcp_sk(sk); in tcp_prune_queue()
5385 const struct tcp_sock *tp = tcp_sk(sk); in tcp_should_expand_sndbuf()
5410 struct tcp_sock *tp = tcp_sk(sk); in tcp_new_space()
5453 struct tcp_sock *tp = tcp_sk(sk); in __tcp_ack_snd_check()
5531 struct tcp_sock *tp = tcp_sk(sk); in tcp_check_urg()
5597 struct tcp_sock *tp = tcp_sk(sk); in tcp_urg()
5630 struct tcp_sock *tp = tcp_sk(sk); in tcp_reset_check()
5643 struct tcp_sock *tp = tcp_sk(sk); in tcp_validate_incoming()
5776 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_established()
5956 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_transfer()
5983 struct tcp_sock *tp = tcp_sk(sk); in tcp_finish_connect()
6014 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_fastopen_synack()
6088 struct tcp_sock *tp = tcp_sk(sk); in tcp_try_undo_spurious_syn()
6105 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_synsent_state_process()
6344 tcp_sk(sk)->retrans_stamp = 0; in tcp_rcv_synrecv_state_fastopen()
6350 req = rcu_dereference_protected(tcp_sk(sk)->fastopen_rsk, in tcp_rcv_synrecv_state_fastopen()
6374 struct tcp_sock *tp = tcp_sk(sk); in tcp_rcv_state_process()
6757 if (tcp_sk(sk)->save_syn) { in tcp_reqsk_record_syn()
6763 if (tcp_sk(sk)->save_syn == 2) { /* Save full header. */ in tcp_reqsk_record_syn()
6791 struct tcp_sock *tp = tcp_sk(sk); in tcp_get_syncookie_mss()
6821 struct tcp_sock *tp = tcp_sk(sk); in tcp_conn_request()