Lines Matching defs:sk

122 			     void (*cad)(struct sock *sk, u32 ack_seq))  in clean_acked_data_enable()
144 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr()
178 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established()
196 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr()
200 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established()
206 static __cold void tcp_gro_dev_warn(const struct sock *sk, const struct sk_buff *skb, in tcp_gro_dev_warn()
222 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) in tcp_measure_rcv_mss()
300 static void tcp_incr_quickack(struct sock *sk, unsigned int max_quickacks) in tcp_incr_quickack()
312 static void tcp_enter_quickack_mode(struct sock *sk, unsigned int max_quickacks) in tcp_enter_quickack_mode()
325 static bool tcp_in_quickack_mode(struct sock *sk) in tcp_in_quickack_mode()
340 static void tcp_ecn_accept_cwr(struct sock *sk, const struct sk_buff *skb) in tcp_ecn_accept_cwr()
359 static void __tcp_ecn_check_ce(struct sock *sk, const struct sk_buff *skb) in __tcp_ecn_check_ce()
391 static void tcp_ecn_check_ce(struct sock *sk, const struct sk_buff *skb) in tcp_ecn_check_ce()
421 static void tcp_sndbuf_expand(struct sock *sk) in tcp_sndbuf_expand()
479 static int __tcp_grow_window(const struct sock *sk, const struct sk_buff *skb, in __tcp_grow_window()
516 static void tcp_grow_window(struct sock *sk, const struct sk_buff *skb, in tcp_grow_window()
556 static void tcp_init_buffer_space(struct sock *sk) in tcp_init_buffer_space()
594 static void tcp_clamp_window(struct sock *sk) in tcp_clamp_window()
622 void tcp_initialize_rcv_mss(struct sock *sk) in tcp_initialize_rcv_mss()
713 static inline void tcp_rcv_rtt_measure_ts(struct sock *sk, in tcp_rcv_rtt_measure_ts()
735 void tcp_rcv_space_adjust(struct sock *sk) in tcp_rcv_space_adjust()
794 static void tcp_save_lrcv_flowlabel(struct sock *sk, const struct sk_buff *skb) in tcp_save_lrcv_flowlabel()
814 static void tcp_event_data_recv(struct sock *sk, struct sk_buff *skb) in tcp_event_data_recv()
869 static void tcp_rtt_estimator(struct sock *sk, long mrtt_us) in tcp_rtt_estimator()
937 static void tcp_update_pacing_rate(struct sock *sk) in tcp_update_pacing_rate()
974 static void tcp_set_rto(struct sock *sk) in tcp_set_rto()
1073 static void tcp_check_sack_reordering(struct sock *sk, const u32 low_seq, in tcp_check_sack_reordering()
1126 void tcp_mark_skb_lost(struct sock *sk, struct sk_buff *skb) in tcp_mark_skb_lost()
1290 static bool tcp_check_dsack(struct sock *sk, const struct sk_buff *ack_skb, in tcp_check_dsack()
1337 static int tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb, in tcp_match_skb_to_sack()
1386 static u8 tcp_sacktag_one(struct sock *sk, in tcp_sacktag_one()
1471 static bool tcp_shifted_skb(struct sock *sk, struct sk_buff *prev, in tcp_shifted_skb()
1585 static struct sk_buff *tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb, in tcp_shift_skb_data()
1723 static struct sk_buff *tcp_sacktag_walk(struct sk_buff *skb, struct sock *sk, in tcp_sacktag_walk()
1795 static struct sk_buff *tcp_sacktag_bsearch(struct sock *sk, u32 seq) in tcp_sacktag_bsearch()
1816 static struct sk_buff *tcp_sacktag_skip(struct sk_buff *skb, struct sock *sk, in tcp_sacktag_skip()
1826 struct sock *sk, in tcp_maybe_skipping_dsack()
1850 tcp_sacktag_write_queue(struct sock *sk, const struct sk_buff *ack_skb, in tcp_sacktag_write_queue()
2066 static void tcp_check_reno_reordering(struct sock *sk, const int addend) in tcp_check_reno_reordering()
2081 static void tcp_add_reno_sack(struct sock *sk, int num_dupack, bool ece_ack) in tcp_add_reno_sack()
2099 static void tcp_remove_reno_sacks(struct sock *sk, int acked, bool ece_ack) in tcp_remove_reno_sacks()
2149 static bool tcp_is_rack(const struct sock *sk) in tcp_is_rack()
2159 static void tcp_timeout_mark_lost(struct sock *sk) in tcp_timeout_mark_lost()
2190 void tcp_enter_loss(struct sock *sk) in tcp_enter_loss()
2247 static bool tcp_check_sack_reneging(struct sock *sk, int *ack_flag) in tcp_check_sack_reneging()
2376 static bool tcp_time_to_recover(struct sock *sk, int flag) in tcp_time_to_recover()
2396 static void tcp_mark_head_lost(struct sock *sk, int packets, int mark_head) in tcp_mark_head_lost()
2442 static void tcp_update_scoreboard(struct sock *sk, int fast_rexmit) in tcp_update_scoreboard()
2476 const struct sock *sk = (const struct sock *)tp; in tcp_packet_delayed() local
2510 static bool tcp_any_retrans_done(const struct sock *sk) in tcp_any_retrans_done()
2529 static void tcp_retrans_stamp_cleanup(struct sock *sk) in tcp_retrans_stamp_cleanup()
2535 static void DBGUNDO(struct sock *sk, const char *msg) in DBGUNDO()
2562 static void tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss) in tcp_undo_cwnd_reduction()
2596 static bool tcp_is_non_sack_preventing_reopen(struct sock *sk) in tcp_is_non_sack_preventing_reopen()
2612 static bool tcp_try_undo_recovery(struct sock *sk) in tcp_try_undo_recovery()
2641 static bool tcp_try_undo_dsack(struct sock *sk) in tcp_try_undo_dsack()
2657 static bool tcp_try_undo_loss(struct sock *sk, bool frto_undo) in tcp_try_undo_loss()
2690 static void tcp_init_cwnd_reduction(struct sock *sk) in tcp_init_cwnd_reduction()
2704 void tcp_cwnd_reduction(struct sock *sk, int newly_acked_sacked, int newly_lost, int flag) in tcp_cwnd_reduction()
2730 static inline void tcp_end_cwnd_reduction(struct sock *sk) in tcp_end_cwnd_reduction()
2747 void tcp_enter_cwr(struct sock *sk) in tcp_enter_cwr()
2760 static void tcp_try_keep_open(struct sock *sk) in tcp_try_keep_open()
2774 static void tcp_try_to_open(struct sock *sk, int flag) in tcp_try_to_open()
2791 static void tcp_mtup_probe_failed(struct sock *sk) in tcp_mtup_probe_failed()
2800 static void tcp_mtup_probe_success(struct sock *sk) in tcp_mtup_probe_success()
2833 static void tcp_non_congestion_loss_retransmit(struct sock *sk) in tcp_non_congestion_loss_retransmit()
2852 void tcp_simple_retransmit(struct sock *sk) in tcp_simple_retransmit()
2897 void tcp_enter_recovery(struct sock *sk, bool ece_ack) in tcp_enter_recovery()
2934 static void tcp_process_loss(struct sock *sk, int flag, int num_dupack, in tcp_process_loss()
2987 static bool tcp_force_fast_retransmit(struct sock *sk) in tcp_force_fast_retransmit()
2996 static bool tcp_try_undo_partial(struct sock *sk, u32 prior_snd_una, in tcp_try_undo_partial()
3029 static void tcp_identify_packet_loss(struct sock *sk, int *ack_flag) in tcp_identify_packet_loss()
3060 static void tcp_fastretrans_alert(struct sock *sk, const u32 prior_snd_una, in tcp_fastretrans_alert()
3180 static void tcp_update_rtt_min(struct sock *sk, u32 rtt_us, const int flag) in tcp_update_rtt_min()
3196 static bool tcp_ack_update_rtt(struct sock *sk, const int flag, in tcp_ack_update_rtt()
3238 void tcp_synack_rtt_meas(struct sock *sk, struct request_sock *req) in tcp_synack_rtt_meas()
3250 static void tcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_cong_avoid()
3261 void tcp_rearm_rto(struct sock *sk) in tcp_rearm_rto()
3291 static void tcp_set_xmit_timer(struct sock *sk) in tcp_set_xmit_timer()
3298 static u32 tcp_tso_acked(struct sock *sk, struct sk_buff *skb) in tcp_tso_acked()
3318 static void tcp_ack_tstamp(struct sock *sk, struct sk_buff *skb, in tcp_ack_tstamp()
3340 static int tcp_clean_rtx_queue(struct sock *sk, const struct sk_buff *ack_skb, in tcp_clean_rtx_queue()
3546 static void tcp_ack_probe(struct sock *sk) in tcp_ack_probe()
3570 static inline bool tcp_ack_is_dubious(const struct sock *sk, const int flag) in tcp_ack_is_dubious()
3577 static inline bool tcp_may_raise_cwnd(const struct sock *sk, const int flag) in tcp_may_raise_cwnd()
3597 static void tcp_cong_control(struct sock *sk, u32 ack, u32 acked_sacked, in tcp_cong_control()
3690 static int tcp_ack_update_window(struct sock *sk, const struct sk_buff *skb, u32 ack, in tcp_ack_update_window()
3771 static void tcp_send_challenge_ack(struct sock *sk) in tcp_send_challenge_ack()
3829 static void tcp_process_tlp_ack(struct sock *sk, u32 ack, int flag) in tcp_process_tlp_ack()
3859 static inline void tcp_in_ack_event(struct sock *sk, u32 flags) in tcp_in_ack_event()
3871 static void tcp_xmit_recovery(struct sock *sk, int rexmit) in tcp_xmit_recovery()
3889 static u32 tcp_newly_delivered(struct sock *sk, u32 prior_delivered, int flag) in tcp_newly_delivered()
3904 static int tcp_ack(struct sock *sk, const struct sk_buff *skb, int flag) in tcp_ack()
4439 static u32 tcp_tsval_replay(const struct sock *sk) in tcp_tsval_replay()
4453 static int tcp_disordered_ack(const struct sock *sk, const struct sk_buff *skb) in tcp_disordered_ack()
4474 static inline bool tcp_paws_discard(const struct sock *sk, in tcp_paws_discard()
4509 void tcp_done_with_error(struct sock *sk, int err) in tcp_done_with_error()
4524 void tcp_reset(struct sock *sk, struct sk_buff *skb) in tcp_reset()
4566 void tcp_fin(struct sock *sk) in tcp_fin()
4647 static void tcp_dsack_set(struct sock *sk, u32 seq, u32 end_seq) in tcp_dsack_set()
4667 static void tcp_dsack_extend(struct sock *sk, u32 seq, u32 end_seq) in tcp_dsack_extend()
4677 static void tcp_rcv_spurious_retrans(struct sock *sk, const struct sk_buff *skb) in tcp_rcv_spurious_retrans()
4700 static void tcp_send_dupack(struct sock *sk, const struct sk_buff *skb) in tcp_send_dupack()
4751 void tcp_sack_compress_send_ack(struct sock *sk) in tcp_sack_compress_send_ack()
4778 static void tcp_sack_new_ofo_skb(struct sock *sk, u32 seq, u32 end_seq) in tcp_sack_new_ofo_skb()
4872 static bool tcp_try_coalesce(struct sock *sk, in tcp_try_coalesce()
4907 static bool tcp_ooo_try_coalesce(struct sock *sk, in tcp_ooo_try_coalesce()
4924 static void tcp_drop_reason(struct sock *sk, struct sk_buff *skb, in tcp_drop_reason()
4934 static void tcp_ofo_queue(struct sock *sk) in tcp_ofo_queue()
4984 static int tcp_try_rmem_schedule(struct sock *sk, struct sk_buff *skb, in tcp_try_rmem_schedule()
5001 static void tcp_data_queue_ofo(struct sock *sk, struct sk_buff *skb) in tcp_data_queue_ofo()
5148 static int __must_check tcp_queue_rcv(struct sock *sk, struct sk_buff *skb, in tcp_queue_rcv()
5165 int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size) in tcp_send_rcvq()
5217 void tcp_data_ready(struct sock *sk) in tcp_data_ready()
5223 static void tcp_data_queue(struct sock *sk, struct sk_buff *skb) in tcp_data_queue()
5362 static struct sk_buff *tcp_collapse_one(struct sock *sk, struct sk_buff *skb, in tcp_collapse_one()
5407 tcp_collapse(struct sock *sk, struct sk_buff_head *list, struct rb_root *root, in tcp_collapse()
5513 static void tcp_collapse_ofo_queue(struct sock *sk) in tcp_collapse_ofo_queue()
5573 static bool tcp_prune_ofo_queue(struct sock *sk, const struct sk_buff *in_skb) in tcp_prune_ofo_queue()
5627 static int tcp_prune_queue(struct sock *sk, const struct sk_buff *in_skb) in tcp_prune_queue()
5670 static bool tcp_should_expand_sndbuf(struct sock *sk) in tcp_should_expand_sndbuf()
5705 static void tcp_new_space(struct sock *sk) in tcp_new_space()
5727 void tcp_check_space(struct sock *sk) in tcp_check_space()
5739 static inline void tcp_data_snd_check(struct sock *sk) in tcp_data_snd_check()
5748 static void __tcp_ack_snd_check(struct sock *sk, int ofo_possible) in __tcp_ack_snd_check()
5815 static inline void tcp_ack_snd_check(struct sock *sk) in tcp_ack_snd_check()
5834 static void tcp_check_urg(struct sock *sk, const struct tcphdr *th) in tcp_check_urg()
5900 static void tcp_urg(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th) in tcp_urg()
5933 static bool tcp_reset_check(const struct sock *sk, const struct sk_buff *skb) in tcp_reset_check()
5945 static bool tcp_validate_incoming(struct sock *sk, struct sk_buff *skb, in tcp_validate_incoming()
6092 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb) in tcp_rcv_established()
6281 void tcp_init_transfer(struct sock *sk, int bpf_op, struct sk_buff *skb) in tcp_init_transfer()
6309 void tcp_finish_connect(struct sock *sk, struct sk_buff *skb) in tcp_finish_connect()
6340 static bool tcp_rcv_fastopen_synack(struct sock *sk, struct sk_buff *synack, in tcp_rcv_fastopen_synack()
6413 static void tcp_try_undo_spurious_syn(struct sock *sk) in tcp_try_undo_spurious_syn()
6428 static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, in tcp_rcv_synsent_state_process()
6676 static void tcp_rcv_synrecv_state_fastopen(struct sock *sk) in tcp_rcv_synrecv_state_fastopen()
6725 tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb) in tcp_rcv_state_process()
7052 struct sk_buff *skb, const struct sock *sk) in tcp_openreq_init()
7081 static bool tcp_syn_flood_action(struct sock *sk, const char *proto) in tcp_syn_flood_action()
7116 static void tcp_reqsk_record_syn(const struct sock *sk, in tcp_reqsk_record_syn()
7152 struct sock *sk, struct tcphdr *th) in tcp_get_syncookie_mss()
7179 struct sock *sk, struct sk_buff *skb) in tcp_conn_request()