Lines Matching defs:sk

130 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb)  in tcp_measure_rcv_mss()
176 static void tcp_incr_quickack(struct sock *sk) in tcp_incr_quickack()
187 static void tcp_enter_quickack_mode(struct sock *sk) in tcp_enter_quickack_mode()
199 static inline bool tcp_in_quickack_mode(const struct sock *sk) in tcp_in_quickack_mode()
283 static void tcp_sndbuf_expand(struct sock *sk) in tcp_sndbuf_expand()
338 static int __tcp_grow_window(const struct sock *sk, const struct sk_buff *skb) in __tcp_grow_window()
355 static void tcp_grow_window(struct sock *sk, const struct sk_buff *skb) in tcp_grow_window()
383 static void tcp_fixup_rcvbuf(struct sock *sk) in tcp_fixup_rcvbuf()
404 void tcp_init_buffer_space(struct sock *sk) in tcp_init_buffer_space()
440 static void tcp_clamp_window(struct sock *sk) in tcp_clamp_window()
465 void tcp_initialize_rcv_mss(struct sock *sk) in tcp_initialize_rcv_mss()
538 static inline void tcp_rcv_rtt_measure_ts(struct sock *sk, in tcp_rcv_rtt_measure_ts()
552 void tcp_rcv_space_adjust(struct sock *sk) in tcp_rcv_space_adjust()
628 static void tcp_event_data_recv(struct sock *sk, struct sk_buff *skb) in tcp_event_data_recv()
683 static void tcp_rtt_estimator(struct sock *sk, long mrtt_us) in tcp_rtt_estimator()
753 static void tcp_update_pacing_rate(struct sock *sk) in tcp_update_pacing_rate()
777 static void tcp_set_rto(struct sock *sk) in tcp_set_rto()
831 static void tcp_update_reordering(struct sock *sk, const int metric, in tcp_update_reordering()
1040 static void tcp_mark_lost_retrans(struct sock *sk) in tcp_mark_lost_retrans()
1095 static bool tcp_check_dsack(struct sock *sk, const struct sk_buff *ack_skb, in tcp_check_dsack()
1145 static int tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb, in tcp_match_skb_to_sack()
1192 static u8 tcp_sacktag_one(struct sock *sk, in tcp_sacktag_one()
1282 static bool tcp_shifted_skb(struct sock *sk, struct sk_buff *skb, in tcp_shifted_skb()
1380 static struct sk_buff *tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb, in tcp_shift_skb_data()
1518 static struct sk_buff *tcp_sacktag_walk(struct sk_buff *skb, struct sock *sk, in tcp_sacktag_walk()
1595 static struct sk_buff *tcp_sacktag_skip(struct sk_buff *skb, struct sock *sk, in tcp_sacktag_skip()
1612 struct sock *sk, in tcp_maybe_skipping_dsack()
1636 tcp_sacktag_write_queue(struct sock *sk, const struct sk_buff *ack_skb, in tcp_sacktag_write_queue()
1862 static void tcp_check_reno_reordering(struct sock *sk, const int addend) in tcp_check_reno_reordering()
1871 static void tcp_add_reno_sack(struct sock *sk) in tcp_add_reno_sack()
1881 static void tcp_remove_reno_sacks(struct sock *sk, int acked) in tcp_remove_reno_sacks()
1922 void tcp_enter_loss(struct sock *sk) in tcp_enter_loss()
2003 static bool tcp_check_sack_reneging(struct sock *sk, int flag) in tcp_check_sack_reneging()
2042 static bool tcp_pause_early_retransmit(struct sock *sk, int flag) in tcp_pause_early_retransmit()
2159 static bool tcp_time_to_recover(struct sock *sk, int flag) in tcp_time_to_recover()
2214 static void tcp_mark_head_lost(struct sock *sk, int packets, int mark_head) in tcp_mark_head_lost()
2276 static void tcp_update_scoreboard(struct sock *sk, int fast_rexmit) in tcp_update_scoreboard()
2332 static bool tcp_any_retrans_done(const struct sock *sk) in tcp_any_retrans_done()
2348 static void DBGUNDO(struct sock *sk, const char *msg) in DBGUNDO()
2377 static void tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss) in tcp_undo_cwnd_reduction()
2418 static bool tcp_try_undo_recovery(struct sock *sk) in tcp_try_undo_recovery()
2451 static bool tcp_try_undo_dsack(struct sock *sk) in tcp_try_undo_dsack()
2465 static bool tcp_try_undo_loss(struct sock *sk, bool frto_undo) in tcp_try_undo_loss()
2495 static void tcp_init_cwnd_reduction(struct sock *sk) in tcp_init_cwnd_reduction()
2509 static void tcp_cwnd_reduction(struct sock *sk, const int prior_unsacked, in tcp_cwnd_reduction()
2533 static inline void tcp_end_cwnd_reduction(struct sock *sk) in tcp_end_cwnd_reduction()
2547 void tcp_enter_cwr(struct sock *sk) in tcp_enter_cwr()
2559 static void tcp_try_keep_open(struct sock *sk) in tcp_try_keep_open()
2573 static void tcp_try_to_open(struct sock *sk, int flag, const int prior_unsacked) in tcp_try_to_open()
2592 static void tcp_mtup_probe_failed(struct sock *sk) in tcp_mtup_probe_failed()
2600 static void tcp_mtup_probe_success(struct sock *sk) in tcp_mtup_probe_success()
2623 void tcp_simple_retransmit(struct sock *sk) in tcp_simple_retransmit()
2670 static void tcp_enter_recovery(struct sock *sk, bool ece_ack) in tcp_enter_recovery()
2696 static void tcp_process_loss(struct sock *sk, int flag, bool is_dupack) in tcp_process_loss()
2744 static bool tcp_try_undo_partial(struct sock *sk, const int acked, in tcp_try_undo_partial()
2788 static void tcp_fastretrans_alert(struct sock *sk, const int acked, in tcp_fastretrans_alert()
2902 static inline bool tcp_ack_update_rtt(struct sock *sk, const int flag, in tcp_ack_update_rtt()
2940 static void tcp_synack_rtt_meas(struct sock *sk, const u32 synack_stamp) in tcp_synack_rtt_meas()
2955 static void tcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_cong_avoid()
2966 void tcp_rearm_rto(struct sock *sk) in tcp_rearm_rto()
3002 void tcp_resume_early_retransmit(struct sock *sk) in tcp_resume_early_retransmit()
3018 static u32 tcp_tso_acked(struct sock *sk, struct sk_buff *skb) in tcp_tso_acked()
3038 static void tcp_ack_tstamp(struct sock *sk, struct sk_buff *skb, in tcp_ack_tstamp()
3057 static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets, in tcp_clean_rtx_queue()
3227 static void tcp_ack_probe(struct sock *sk) in tcp_ack_probe()
3248 static inline bool tcp_ack_is_dubious(const struct sock *sk, const int flag) in tcp_ack_is_dubious()
3255 static inline bool tcp_may_raise_cwnd(const struct sock *sk, const int flag) in tcp_may_raise_cwnd()
3311 static int tcp_ack_update_window(struct sock *sk, const struct sk_buff *skb, u32 ack, in tcp_ack_update_window()
3377 static void tcp_send_challenge_ack(struct sock *sk, const struct sk_buff *skb) in tcp_send_challenge_ack()
3429 static void tcp_process_tlp_ack(struct sock *sk, u32 ack, int flag) in tcp_process_tlp_ack()
3456 static inline void tcp_in_ack_event(struct sock *sk, u32 flags) in tcp_in_ack_event()
3465 static int tcp_ack(struct sock *sk, const struct sk_buff *skb, int flag) in tcp_ack()
3864 static int tcp_disordered_ack(const struct sock *sk, const struct sk_buff *skb) in tcp_disordered_ack()
3884 static inline bool tcp_paws_discard(const struct sock *sk, in tcp_paws_discard()
3913 void tcp_reset(struct sock *sk) in tcp_reset()
3951 static void tcp_fin(struct sock *sk) in tcp_fin()
4036 static void tcp_dsack_set(struct sock *sk, u32 seq, u32 end_seq) in tcp_dsack_set()
4056 static void tcp_dsack_extend(struct sock *sk, u32 seq, u32 end_seq) in tcp_dsack_extend()
4066 static void tcp_send_dupack(struct sock *sk, const struct sk_buff *skb) in tcp_send_dupack()
4115 static void tcp_sack_new_ofo_skb(struct sock *sk, u32 seq, u32 end_seq) in tcp_sack_new_ofo_skb()
4204 static bool tcp_try_coalesce(struct sock *sk, in tcp_try_coalesce()
4232 static void tcp_ofo_queue(struct sock *sk) in tcp_ofo_queue()
4275 static int tcp_try_rmem_schedule(struct sock *sk, struct sk_buff *skb, in tcp_try_rmem_schedule()
4295 static void tcp_data_queue_ofo(struct sock *sk, struct sk_buff *skb) in tcp_data_queue_ofo()
4421 static int __must_check tcp_queue_rcv(struct sock *sk, struct sk_buff *skb, int hdrlen, in tcp_queue_rcv()
4438 int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size) in tcp_send_rcvq()
4488 static void tcp_data_queue(struct sock *sk, struct sk_buff *skb) in tcp_data_queue()
4605 static struct sk_buff *tcp_collapse_one(struct sock *sk, struct sk_buff *skb, in tcp_collapse_one()
4629 tcp_collapse(struct sock *sk, struct sk_buff_head *list, in tcp_collapse()
4721 static void tcp_collapse_ofo_queue(struct sock *sk) in tcp_collapse_ofo_queue()
4768 static bool tcp_prune_ofo_queue(struct sock *sk) in tcp_prune_ofo_queue()
4797 static int tcp_prune_queue(struct sock *sk) in tcp_prune_queue()
4840 static bool tcp_should_expand_sndbuf(const struct sock *sk) in tcp_should_expand_sndbuf()
4871 static void tcp_new_space(struct sock *sk) in tcp_new_space()
4883 static void tcp_check_space(struct sock *sk) in tcp_check_space()
4895 static inline void tcp_data_snd_check(struct sock *sk) in tcp_data_snd_check()
4904 static void __tcp_ack_snd_check(struct sock *sk, int ofo_possible) in __tcp_ack_snd_check()
4926 static inline void tcp_ack_snd_check(struct sock *sk) in tcp_ack_snd_check()
4945 static void tcp_check_urg(struct sock *sk, const struct tcphdr *th) in tcp_check_urg()
5011 static void tcp_urg(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th) in tcp_urg()
5036 static int tcp_copy_to_iovec(struct sock *sk, struct sk_buff *skb, int hlen) in tcp_copy_to_iovec()
5058 static __sum16 __tcp_checksum_complete_user(struct sock *sk, in __tcp_checksum_complete_user()
5073 static inline bool tcp_checksum_complete_user(struct sock *sk, in tcp_checksum_complete_user()
5083 static bool tcp_validate_incoming(struct sock *sk, struct sk_buff *skb, in tcp_validate_incoming()
5180 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb, in tcp_rcv_established()
5375 void tcp_finish_connect(struct sock *sk, struct sk_buff *skb) in tcp_finish_connect()
5415 static bool tcp_rcv_fastopen_synack(struct sock *sk, struct sk_buff *synack, in tcp_rcv_fastopen_synack()
5469 static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, in tcp_rcv_synsent_state_process()
5697 int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, in tcp_rcv_state_process()
6015 struct sk_buff *skb, const struct sock *sk) in tcp_openreq_init()
6061 static bool tcp_syn_flood_action(struct sock *sk, in tcp_syn_flood_action()
6089 struct sock *sk, struct sk_buff *skb) in tcp_conn_request()