Lines Matching defs:sk

65 static void tcp_event_new_data_sent(struct sock *sk, struct sk_buff *skb)  in tcp_event_new_data_sent()
95 static inline __u32 tcp_acceptable_seq(const struct sock *sk) in tcp_acceptable_seq()
121 static __u16 tcp_advertise_mss(struct sock *sk) in tcp_advertise_mss()
142 void tcp_cwnd_restart(struct sock *sk, s32 delta) in tcp_cwnd_restart()
162 struct sock *sk) in tcp_event_data_sent()
180 static inline void tcp_event_ack_sent(struct sock *sk, unsigned int pkts, in tcp_event_ack_sent()
206 void tcp_select_initial_window(const struct sock *sk, int __space, __u32 mss, in tcp_select_initial_window()
257 static u16 tcp_select_window(struct sock *sk) in tcp_select_window()
307 static void tcp_ecn_send_synack(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_synack()
320 static void tcp_ecn_send_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_syn()
344 static void tcp_ecn_clear_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_clear_syn()
363 static void tcp_ecn_send(struct sock *sk, struct sk_buff *skb, in tcp_ecn_send()
468 static void bpf_skops_hdr_opt_len(struct sock *sk, struct sk_buff *skb, in bpf_skops_hdr_opt_len()
531 static void bpf_skops_write_hdr_opt(struct sock *sk, struct sk_buff *skb, in bpf_skops_write_hdr_opt()
575 static void bpf_skops_hdr_opt_len(struct sock *sk, struct sk_buff *skb, in bpf_skops_hdr_opt_len()
584 static void bpf_skops_write_hdr_opt(struct sock *sk, struct sk_buff *skb, in bpf_skops_write_hdr_opt()
757 static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb, in tcp_syn_options()
838 static unsigned int tcp_synack_options(const struct sock *sk, in tcp_synack_options()
911 static unsigned int tcp_established_options(struct sock *sk, struct sk_buff *skb, in tcp_established_options()
1006 static void tcp_tsq_write(struct sock *sk) in tcp_tsq_write()
1024 static void tcp_tsq_handler(struct sock *sk) in tcp_tsq_handler()
1046 struct sock *sk; in tcp_tasklet_func() local
1076 void tcp_release_cb(struct sock *sk) in tcp_release_cb()
1139 struct sock *sk = skb->sk; in tcp_wfree() local
1190 struct sock *sk = (struct sock *)tp; in tcp_pace_kick() local
1198 static void tcp_update_skb_after_send(struct sock *sk, struct sk_buff *skb, in tcp_update_skb_after_send()
1237 static int __tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, in __tcp_transmit_skb()
1417 static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it, in tcp_transmit_skb()
1429 static void tcp_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_queue_skb()
1459 static void tcp_adjust_pcount(struct sock *sk, const struct sk_buff *skb, int decr) in tcp_adjust_pcount()
1516 struct sock *sk, in tcp_insert_write_queue_after()
1530 int tcp_fragment(struct sock *sk, enum tcp_queue tcp_queue, in tcp_fragment()
1667 int tcp_trim_head(struct sock *sk, struct sk_buff *skb, u32 len) in tcp_trim_head()
1693 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) in __tcp_mtu_to_mss()
1726 int tcp_mtu_to_mss(struct sock *sk, int pmtu) in tcp_mtu_to_mss()
1735 int tcp_mss_to_mtu(struct sock *sk, int mss) in tcp_mss_to_mtu()
1758 void tcp_mtup_init(struct sock *sk) in tcp_mtup_init()
1796 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss()
1821 unsigned int tcp_current_mss(struct sock *sk) in tcp_current_mss()
1856 static void tcp_cwnd_application_limited(struct sock *sk) in tcp_cwnd_application_limited()
1874 static void tcp_cwnd_validate(struct sock *sk, bool is_cwnd_limited) in tcp_cwnd_validate()
1963 static u32 tcp_tso_autosize(const struct sock *sk, unsigned int mss_now, in tcp_tso_autosize()
1985 static u32 tcp_tso_segs(struct sock *sk, unsigned int mss_now) in tcp_tso_segs()
1999 static unsigned int tcp_mss_split_point(const struct sock *sk, in tcp_mss_split_point()
2116 static int tso_fragment(struct sock *sk, struct sk_buff *skb, unsigned int len, in tso_fragment()
2173 static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, in tcp_tso_should_defer()
2275 static inline void tcp_mtu_check_reprobe(struct sock *sk) in tcp_mtu_check_reprobe()
2300 static bool tcp_can_coalesce_send_queue_head(struct sock *sk, int len) in tcp_can_coalesce_send_queue_head()
2327 static int tcp_mtu_probe(struct sock *sk) in tcp_mtu_probe()
2467 static bool tcp_pacing_check(struct sock *sk) in tcp_pacing_check()
2497 static bool tcp_small_queue_check(struct sock *sk, const struct sk_buff *skb, in tcp_small_queue_check()
2554 void tcp_chrono_start(struct sock *sk, const enum tcp_chrono type) in tcp_chrono_start()
2567 void tcp_chrono_stop(struct sock *sk, const enum tcp_chrono type) in tcp_chrono_stop()
2599 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle, in tcp_write_xmit()
2727 bool tcp_schedule_loss_probe(struct sock *sk, bool advancing_rto) in tcp_schedule_loss_probe()
2779 static bool skb_still_in_host_queue(const struct sock *sk, in skb_still_in_host_queue()
2793 void tcp_send_loss_probe(struct sock *sk) in tcp_send_loss_probe()
2860 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss, in __tcp_push_pending_frames()
2878 void tcp_push_one(struct sock *sk, unsigned int mss_now) in tcp_push_one()
2939 u32 __tcp_select_window(struct sock *sk) in __tcp_select_window()
3037 static bool tcp_collapse_retrans(struct sock *sk, struct sk_buff *skb) in tcp_collapse_retrans()
3082 static bool tcp_can_collapse(const struct sock *sk, const struct sk_buff *skb) in tcp_can_collapse()
3098 static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *to, in tcp_retrans_try_collapse()
3139 int __tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs) in __tcp_retransmit_skb()
3267 int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs) in tcp_retransmit_skb()
3297 void tcp_xmit_retransmit_queue(struct sock *sk) in tcp_xmit_retransmit_queue()
3378 void sk_forced_mem_schedule(struct sock *sk, int size) in sk_forced_mem_schedule()
3396 void tcp_send_fin(struct sock *sk) in tcp_send_fin()
3445 void tcp_send_active_reset(struct sock *sk, gfp_t priority) in tcp_send_active_reset()
3479 int tcp_send_synack(struct sock *sk) in tcp_send_synack()
3523 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst, in tcp_make_synack()
3632 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst) in tcp_ca_dst_init()
3652 static void tcp_connect_init(struct sock *sk) in tcp_connect_init()
3728 static void tcp_connect_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_connect_queue_skb()
3748 static int tcp_send_syn_data(struct sock *sk, struct sk_buff *syn) in tcp_send_syn_data()
3839 int tcp_connect(struct sock *sk) in tcp_connect()
3897 void tcp_send_delayed_ack(struct sock *sk) in tcp_send_delayed_ack()
3950 void __tcp_send_ack(struct sock *sk, u32 rcv_nxt) in __tcp_send_ack()
3992 void tcp_send_ack(struct sock *sk) in tcp_send_ack()
4008 static int tcp_xmit_probe_skb(struct sock *sk, int urgent, int mib) in tcp_xmit_probe_skb()
4031 void tcp_send_window_probe(struct sock *sk) in tcp_send_window_probe()
4041 int tcp_write_wakeup(struct sock *sk, int mib) in tcp_write_wakeup()
4087 void tcp_send_probe0(struct sock *sk) in tcp_send_probe0()
4121 int tcp_rtx_synack(const struct sock *sk, struct request_sock *req) in tcp_rtx_synack()