Lines Matching defs:sk
132 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) in tcp_measure_rcv_mss()
178 static void tcp_incr_quickack(struct sock *sk) in tcp_incr_quickack()
189 static void tcp_enter_quickack_mode(struct sock *sk) in tcp_enter_quickack_mode()
201 static bool tcp_in_quickack_mode(struct sock *sk) in tcp_in_quickack_mode()
287 static void tcp_sndbuf_expand(struct sock *sk) in tcp_sndbuf_expand()
342 static int __tcp_grow_window(const struct sock *sk, const struct sk_buff *skb) in __tcp_grow_window()
359 static void tcp_grow_window(struct sock *sk, const struct sk_buff *skb) in tcp_grow_window()
387 static void tcp_fixup_rcvbuf(struct sock *sk) in tcp_fixup_rcvbuf()
408 void tcp_init_buffer_space(struct sock *sk) in tcp_init_buffer_space()
444 static void tcp_clamp_window(struct sock *sk) in tcp_clamp_window()
469 void tcp_initialize_rcv_mss(struct sock *sk) in tcp_initialize_rcv_mss()
542 static inline void tcp_rcv_rtt_measure_ts(struct sock *sk, in tcp_rcv_rtt_measure_ts()
556 void tcp_rcv_space_adjust(struct sock *sk) in tcp_rcv_space_adjust()
632 static void tcp_event_data_recv(struct sock *sk, struct sk_buff *skb) in tcp_event_data_recv()
687 static void tcp_rtt_estimator(struct sock *sk, long mrtt_us) in tcp_rtt_estimator()
760 static void tcp_update_pacing_rate(struct sock *sk) in tcp_update_pacing_rate()
797 static void tcp_set_rto(struct sock *sk) in tcp_set_rto()
851 static void tcp_update_reordering(struct sock *sk, const int metric, in tcp_update_reordering()
1051 static bool tcp_check_dsack(struct sock *sk, const struct sk_buff *ack_skb, in tcp_check_dsack()
1106 static int tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb, in tcp_match_skb_to_sack()
1153 static u8 tcp_sacktag_one(struct sock *sk, in tcp_sacktag_one()
1240 static bool tcp_shifted_skb(struct sock *sk, struct sk_buff *skb, in tcp_shifted_skb()
1334 static struct sk_buff *tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb, in tcp_shift_skb_data()
1472 static struct sk_buff *tcp_sacktag_walk(struct sk_buff *skb, struct sock *sk, in tcp_sacktag_walk()
1549 static struct sk_buff *tcp_sacktag_skip(struct sk_buff *skb, struct sock *sk, in tcp_sacktag_skip()
1566 struct sock *sk, in tcp_maybe_skipping_dsack()
1590 tcp_sacktag_write_queue(struct sock *sk, const struct sk_buff *ack_skb, in tcp_sacktag_write_queue()
1812 static void tcp_check_reno_reordering(struct sock *sk, const int addend) in tcp_check_reno_reordering()
1821 static void tcp_add_reno_sack(struct sock *sk) in tcp_add_reno_sack()
1831 static void tcp_remove_reno_sacks(struct sock *sk, int acked) in tcp_remove_reno_sacks()
1872 void tcp_enter_loss(struct sock *sk) in tcp_enter_loss()
1952 static bool tcp_check_sack_reneging(struct sock *sk, int flag) in tcp_check_sack_reneging()
1991 static bool tcp_pause_early_retransmit(struct sock *sk, int flag) in tcp_pause_early_retransmit()
2108 static bool tcp_time_to_recover(struct sock *sk, int flag) in tcp_time_to_recover()
2163 static void tcp_mark_head_lost(struct sock *sk, int packets, int mark_head) in tcp_mark_head_lost()
2225 static void tcp_update_scoreboard(struct sock *sk, int fast_rexmit) in tcp_update_scoreboard()
2296 static bool tcp_any_retrans_done(const struct sock *sk) in tcp_any_retrans_done()
2312 static void DBGUNDO(struct sock *sk, const char *msg) in DBGUNDO()
2341 static void tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss) in tcp_undo_cwnd_reduction()
2382 static bool tcp_try_undo_recovery(struct sock *sk) in tcp_try_undo_recovery()
2415 static bool tcp_try_undo_dsack(struct sock *sk) in tcp_try_undo_dsack()
2429 static bool tcp_try_undo_loss(struct sock *sk, bool frto_undo) in tcp_try_undo_loss()
2458 static void tcp_init_cwnd_reduction(struct sock *sk) in tcp_init_cwnd_reduction()
2472 static void tcp_cwnd_reduction(struct sock *sk, const int prior_unsacked, in tcp_cwnd_reduction()
2501 static inline void tcp_end_cwnd_reduction(struct sock *sk) in tcp_end_cwnd_reduction()
2515 void tcp_enter_cwr(struct sock *sk) in tcp_enter_cwr()
2528 static void tcp_try_keep_open(struct sock *sk) in tcp_try_keep_open()
2542 static void tcp_try_to_open(struct sock *sk, int flag, const int prior_unsacked) in tcp_try_to_open()
2561 static void tcp_mtup_probe_failed(struct sock *sk) in tcp_mtup_probe_failed()
2570 static void tcp_mtup_probe_success(struct sock *sk) in tcp_mtup_probe_success()
2594 void tcp_simple_retransmit(struct sock *sk) in tcp_simple_retransmit()
2641 static void tcp_enter_recovery(struct sock *sk, bool ece_ack) in tcp_enter_recovery()
2667 static void tcp_process_loss(struct sock *sk, int flag, bool is_dupack) in tcp_process_loss()
2715 static bool tcp_try_undo_partial(struct sock *sk, const int acked, in tcp_try_undo_partial()
2759 static void tcp_fastretrans_alert(struct sock *sk, const int acked, in tcp_fastretrans_alert()
2897 static void tcp_update_rtt_min(struct sock *sk, u32 rtt_us) in tcp_update_rtt_min()
2939 static inline bool tcp_ack_update_rtt(struct sock *sk, const int flag, in tcp_ack_update_rtt()
2980 void tcp_synack_rtt_meas(struct sock *sk, struct request_sock *req) in tcp_synack_rtt_meas()
2995 static void tcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_cong_avoid()
3006 void tcp_rearm_rto(struct sock *sk) in tcp_rearm_rto()
3042 void tcp_resume_early_retransmit(struct sock *sk) in tcp_resume_early_retransmit()
3058 static u32 tcp_tso_acked(struct sock *sk, struct sk_buff *skb) in tcp_tso_acked()
3078 static void tcp_ack_tstamp(struct sock *sk, struct sk_buff *skb, in tcp_ack_tstamp()
3097 static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets, in tcp_clean_rtx_queue()
3271 static void tcp_ack_probe(struct sock *sk) in tcp_ack_probe()
3292 static inline bool tcp_ack_is_dubious(const struct sock *sk, const int flag) in tcp_ack_is_dubious()
3299 static inline bool tcp_may_raise_cwnd(const struct sock *sk, const int flag) in tcp_may_raise_cwnd()
3355 static int tcp_ack_update_window(struct sock *sk, const struct sk_buff *skb, u32 ack, in tcp_ack_update_window()
3424 static void tcp_send_challenge_ack(struct sock *sk, const struct sk_buff *skb) in tcp_send_challenge_ack()
3476 static void tcp_process_tlp_ack(struct sock *sk, u32 ack, int flag) in tcp_process_tlp_ack()
3503 static inline void tcp_in_ack_event(struct sock *sk, u32 flags) in tcp_in_ack_event()
3512 static int tcp_ack(struct sock *sk, const struct sk_buff *skb, int flag) in tcp_ack()
3913 static int tcp_disordered_ack(const struct sock *sk, const struct sk_buff *skb) in tcp_disordered_ack()
3933 static inline bool tcp_paws_discard(const struct sock *sk, in tcp_paws_discard()
3962 void tcp_reset(struct sock *sk) in tcp_reset()
4000 static void tcp_fin(struct sock *sk) in tcp_fin()
4082 static void tcp_dsack_set(struct sock *sk, u32 seq, u32 end_seq) in tcp_dsack_set()
4102 static void tcp_dsack_extend(struct sock *sk, u32 seq, u32 end_seq) in tcp_dsack_extend()
4112 static void tcp_send_dupack(struct sock *sk, const struct sk_buff *skb) in tcp_send_dupack()
4161 static void tcp_sack_new_ofo_skb(struct sock *sk, u32 seq, u32 end_seq) in tcp_sack_new_ofo_skb()
4250 static bool tcp_try_coalesce(struct sock *sk, in tcp_try_coalesce()
4278 static void tcp_ofo_queue(struct sock *sk) in tcp_ofo_queue()
4321 static int tcp_try_rmem_schedule(struct sock *sk, struct sk_buff *skb, in tcp_try_rmem_schedule()
4341 static void tcp_data_queue_ofo(struct sock *sk, struct sk_buff *skb) in tcp_data_queue_ofo()
4467 static int __must_check tcp_queue_rcv(struct sock *sk, struct sk_buff *skb, int hdrlen, in tcp_queue_rcv()
4484 int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size) in tcp_send_rcvq()
4534 static void tcp_data_queue(struct sock *sk, struct sk_buff *skb) in tcp_data_queue()
4653 static struct sk_buff *tcp_collapse_one(struct sock *sk, struct sk_buff *skb, in tcp_collapse_one()
4677 tcp_collapse(struct sock *sk, struct sk_buff_head *list, in tcp_collapse()
4769 static void tcp_collapse_ofo_queue(struct sock *sk) in tcp_collapse_ofo_queue()
4816 static bool tcp_prune_ofo_queue(struct sock *sk) in tcp_prune_ofo_queue()
4845 static int tcp_prune_queue(struct sock *sk) in tcp_prune_queue()
4888 static bool tcp_should_expand_sndbuf(const struct sock *sk) in tcp_should_expand_sndbuf()
4919 static void tcp_new_space(struct sock *sk) in tcp_new_space()
4931 static void tcp_check_space(struct sock *sk) in tcp_check_space()
4943 static inline void tcp_data_snd_check(struct sock *sk) in tcp_data_snd_check()
4952 static void __tcp_ack_snd_check(struct sock *sk, int ofo_possible) in __tcp_ack_snd_check()
4974 static inline void tcp_ack_snd_check(struct sock *sk) in tcp_ack_snd_check()
4993 static void tcp_check_urg(struct sock *sk, const struct tcphdr *th) in tcp_check_urg()
5059 static void tcp_urg(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th) in tcp_urg()
5084 static int tcp_copy_to_iovec(struct sock *sk, struct sk_buff *skb, int hlen) in tcp_copy_to_iovec()
5106 static __sum16 __tcp_checksum_complete_user(struct sock *sk, in __tcp_checksum_complete_user()
5121 static inline bool tcp_checksum_complete_user(struct sock *sk, in tcp_checksum_complete_user()
5131 static bool tcp_validate_incoming(struct sock *sk, struct sk_buff *skb, in tcp_validate_incoming()
5228 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb, in tcp_rcv_established()
5423 void tcp_finish_connect(struct sock *sk, struct sk_buff *skb) in tcp_finish_connect()
5463 static bool tcp_rcv_fastopen_synack(struct sock *sk, struct sk_buff *synack, in tcp_rcv_fastopen_synack()
5517 static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, in tcp_rcv_synsent_state_process()
5745 int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb) in tcp_rcv_state_process()
6065 struct sk_buff *skb, const struct sock *sk) in tcp_openreq_init()
6113 static bool tcp_syn_flood_action(const struct sock *sk, in tcp_syn_flood_action()
6139 static void tcp_reqsk_record_syn(const struct sock *sk, in tcp_reqsk_record_syn()
6158 struct sock *sk, struct sk_buff *skb) in tcp_conn_request()