Lines Matching defs:sk
127 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) in tcp_measure_rcv_mss()
173 static void tcp_incr_quickack(struct sock *sk) in tcp_incr_quickack()
184 static void tcp_enter_quickack_mode(struct sock *sk) in tcp_enter_quickack_mode()
196 static inline int tcp_in_quickack_mode(const struct sock *sk) in tcp_in_quickack_mode()
265 static void tcp_fixup_sndbuf(struct sock *sk) in tcp_fixup_sndbuf()
300 static int __tcp_grow_window(const struct sock *sk, const struct sk_buff *skb) in __tcp_grow_window()
317 static void tcp_grow_window(struct sock *sk, const struct sk_buff *skb) in tcp_grow_window()
345 static void tcp_fixup_rcvbuf(struct sock *sk) in tcp_fixup_rcvbuf()
370 static void tcp_init_buffer_space(struct sock *sk) in tcp_init_buffer_space()
404 static void tcp_clamp_window(struct sock *sk) in tcp_clamp_window()
429 void tcp_initialize_rcv_mss(struct sock *sk) in tcp_initialize_rcv_mss()
499 static inline void tcp_rcv_rtt_measure_ts(struct sock *sk, in tcp_rcv_rtt_measure_ts()
513 void tcp_rcv_space_adjust(struct sock *sk) in tcp_rcv_space_adjust()
575 static void tcp_event_data_recv(struct sock *sk, struct sk_buff *skb) in tcp_event_data_recv()
630 static void tcp_rtt_estimator(struct sock *sk, const __u32 mrtt) in tcp_rtt_estimator()
696 static inline void tcp_set_rto(struct sock *sk) in tcp_set_rto()
727 void tcp_update_metrics(struct sock *sk) in tcp_update_metrics()
836 void tcp_enter_cwr(struct sock *sk, const int set_ssthresh) in tcp_enter_cwr()
878 static void tcp_init_metrics(struct sock *sk) in tcp_init_metrics()
955 static void tcp_update_reordering(struct sock *sk, const int metric, in tcp_update_reordering()
1161 static void tcp_mark_lost_retrans(struct sock *sk) in tcp_mark_lost_retrans()
1216 static int tcp_check_dsack(struct sock *sk, const struct sk_buff *ack_skb, in tcp_check_dsack()
1265 static int tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb, in tcp_match_skb_to_sack()
1311 static u8 tcp_sacktag_one(struct sock *sk, in tcp_sacktag_one()
1394 static int tcp_shifted_skb(struct sock *sk, struct sk_buff *skb, in tcp_shifted_skb()
1490 static struct sk_buff *tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb, in tcp_shift_skb_data()
1628 static struct sk_buff *tcp_sacktag_walk(struct sk_buff *skb, struct sock *sk, in tcp_sacktag_walk()
1704 static struct sk_buff *tcp_sacktag_skip(struct sk_buff *skb, struct sock *sk, in tcp_sacktag_skip()
1721 struct sock *sk, in tcp_maybe_skipping_dsack()
1745 tcp_sacktag_write_queue(struct sock *sk, const struct sk_buff *ack_skb, in tcp_sacktag_write_queue()
1979 static void tcp_check_reno_reordering(struct sock *sk, const int addend) in tcp_check_reno_reordering()
1988 static void tcp_add_reno_sack(struct sock *sk) in tcp_add_reno_sack()
1998 static void tcp_remove_reno_sacks(struct sock *sk, int acked) in tcp_remove_reno_sacks()
2026 int tcp_use_frto(struct sock *sk) in tcp_use_frto()
2074 void tcp_enter_frto(struct sock *sk) in tcp_enter_frto()
2147 static void tcp_enter_frto_loss(struct sock *sk, int allowed_segments, int flag) in tcp_enter_frto_loss()
2231 void tcp_enter_loss(struct sock *sk, int how) in tcp_enter_loss()
2295 static int tcp_check_sack_reneging(struct sock *sk, int flag) in tcp_check_sack_reneging()
2336 static inline int tcp_skb_timedout(const struct sock *sk, in tcp_skb_timedout()
2342 static inline int tcp_head_timedout(const struct sock *sk) in tcp_head_timedout()
2443 static int tcp_time_to_recover(struct sock *sk) in tcp_time_to_recover()
2504 static void tcp_timeout_skbs(struct sock *sk) in tcp_timeout_skbs()
2536 static void tcp_mark_head_lost(struct sock *sk, int packets, int mark_head) in tcp_mark_head_lost()
2597 static void tcp_update_scoreboard(struct sock *sk, int fast_rexmit) in tcp_update_scoreboard()
2632 static inline u32 tcp_cwnd_min(const struct sock *sk) in tcp_cwnd_min()
2640 static void tcp_cwnd_down(struct sock *sk, int flag) in tcp_cwnd_down()
2671 static void DBGUNDO(struct sock *sk, const char *msg) in DBGUNDO()
2700 static void tcp_undo_cwr(struct sock *sk, const bool undo_ssthresh) in tcp_undo_cwr()
2728 static int tcp_try_undo_recovery(struct sock *sk) in tcp_try_undo_recovery()
2760 static void tcp_try_undo_dsack(struct sock *sk) in tcp_try_undo_dsack()
2786 static int tcp_any_retrans_done(const struct sock *sk) in tcp_any_retrans_done()
2803 static int tcp_try_undo_partial(struct sock *sk, int acked) in tcp_try_undo_partial()
2832 static int tcp_try_undo_loss(struct sock *sk) in tcp_try_undo_loss()
2859 static inline void tcp_complete_cwr(struct sock *sk) in tcp_complete_cwr()
2874 static void tcp_try_keep_open(struct sock *sk) in tcp_try_keep_open()
2888 static void tcp_try_to_open(struct sock *sk, int flag) in tcp_try_to_open()
2909 static void tcp_mtup_probe_failed(struct sock *sk) in tcp_mtup_probe_failed()
2917 static void tcp_mtup_probe_success(struct sock *sk) in tcp_mtup_probe_success()
2940 void tcp_simple_retransmit(struct sock *sk) in tcp_simple_retransmit()
2998 static void tcp_update_cwnd_in_recovery(struct sock *sk, int newly_acked_sacked, in tcp_update_cwnd_in_recovery()
3030 static void tcp_fastretrans_alert(struct sock *sk, int pkts_acked, in tcp_fastretrans_alert()
3175 void tcp_valid_rtt_meas(struct sock *sk, u32 seq_rtt) in tcp_valid_rtt_meas()
3186 static void tcp_ack_saw_tstamp(struct sock *sk, int flag) in tcp_ack_saw_tstamp()
3208 static void tcp_ack_no_tstamp(struct sock *sk, u32 seq_rtt, int flag) in tcp_ack_no_tstamp()
3225 static inline void tcp_ack_update_rtt(struct sock *sk, const int flag, in tcp_ack_update_rtt()
3236 static void tcp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) in tcp_cong_avoid()
3246 static void tcp_rearm_rto(struct sock *sk) in tcp_rearm_rto()
3259 static u32 tcp_tso_acked(struct sock *sk, struct sk_buff *skb) in tcp_tso_acked()
3283 static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets, in tcp_clean_rtx_queue()
3450 static void tcp_ack_probe(struct sock *sk) in tcp_ack_probe()
3470 static inline int tcp_ack_is_dubious(const struct sock *sk, const int flag) in tcp_ack_is_dubious()
3476 static inline int tcp_may_raise_cwnd(const struct sock *sk, const int flag) in tcp_may_raise_cwnd()
3500 static int tcp_ack_update_window(struct sock *sk, const struct sk_buff *skb, u32 ack, in tcp_ack_update_window()
3550 static void tcp_ratehalving_spur_to_response(struct sock *sk) in tcp_ratehalving_spur_to_response()
3555 static void tcp_undo_spur_to_response(struct sock *sk, int flag) in tcp_undo_spur_to_response()
3593 static int tcp_process_frto(struct sock *sk, int flag) in tcp_process_frto()
3676 static int tcp_ack(struct sock *sk, const struct sk_buff *skb, int flag) in tcp_ack()
4063 static int tcp_disordered_ack(const struct sock *sk, const struct sk_buff *skb) in tcp_disordered_ack()
4083 static inline int tcp_paws_discard(const struct sock *sk, in tcp_paws_discard()
4112 static void tcp_reset(struct sock *sk) in tcp_reset()
4150 static void tcp_fin(struct sock *sk) in tcp_fin()
4232 static void tcp_dsack_set(struct sock *sk, u32 seq, u32 end_seq) in tcp_dsack_set()
4252 static void tcp_dsack_extend(struct sock *sk, u32 seq, u32 end_seq) in tcp_dsack_extend()
4262 static void tcp_send_dupack(struct sock *sk, const struct sk_buff *skb) in tcp_send_dupack()
4311 static void tcp_sack_new_ofo_skb(struct sock *sk, u32 seq, u32 end_seq) in tcp_sack_new_ofo_skb()
4390 static void tcp_ofo_queue(struct sock *sk) in tcp_ofo_queue()
4428 static inline int tcp_try_rmem_schedule(struct sock *sk, unsigned int size) in tcp_try_rmem_schedule()
4447 static void tcp_data_queue(struct sock *sk, struct sk_buff *skb) in tcp_data_queue()
4663 static struct sk_buff *tcp_collapse_one(struct sock *sk, struct sk_buff *skb, in tcp_collapse_one()
4687 tcp_collapse(struct sock *sk, struct sk_buff_head *list, in tcp_collapse()
4792 static void tcp_collapse_ofo_queue(struct sock *sk) in tcp_collapse_ofo_queue()
4839 static int tcp_prune_ofo_queue(struct sock *sk) in tcp_prune_ofo_queue()
4868 static int tcp_prune_queue(struct sock *sk) in tcp_prune_queue()
4915 void tcp_cwnd_application_limited(struct sock *sk) in tcp_cwnd_application_limited()
4933 static int tcp_should_expand_sndbuf(const struct sock *sk) in tcp_should_expand_sndbuf()
4964 static void tcp_new_space(struct sock *sk) in tcp_new_space()
4984 static void tcp_check_space(struct sock *sk) in tcp_check_space()
4994 static inline void tcp_data_snd_check(struct sock *sk) in tcp_data_snd_check()
5003 static void __tcp_ack_snd_check(struct sock *sk, int ofo_possible) in __tcp_ack_snd_check()
5025 static inline void tcp_ack_snd_check(struct sock *sk) in tcp_ack_snd_check()
5044 static void tcp_check_urg(struct sock *sk, const struct tcphdr *th) in tcp_check_urg()
5110 static void tcp_urg(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th) in tcp_urg()
5135 static int tcp_copy_to_iovec(struct sock *sk, struct sk_buff *skb, int hlen) in tcp_copy_to_iovec()
5158 static __sum16 __tcp_checksum_complete_user(struct sock *sk, in __tcp_checksum_complete_user()
5173 static inline int tcp_checksum_complete_user(struct sock *sk, in tcp_checksum_complete_user()
5181 static int tcp_dma_try_early_copy(struct sock *sk, struct sk_buff *skb, in tcp_dma_try_early_copy()
5230 static int tcp_validate_incoming(struct sock *sk, struct sk_buff *skb, in tcp_validate_incoming()
5313 int tcp_rcv_established(struct sock *sk, struct sk_buff *skb, in tcp_rcv_established()
5524 static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, in tcp_rcv_synsent_state_process()
5801 int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, in tcp_rcv_state_process()