Lines Matching defs:sk
72 static void tcp_event_new_data_sent(struct sock *sk, const struct sk_buff *skb) in tcp_event_new_data_sent()
97 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()
141 static void tcp_cwnd_restart(struct sock *sk, const struct dst_entry *dst) in tcp_cwnd_restart()
162 struct sock *sk) in tcp_event_data_sent()
183 static inline void tcp_event_ack_sent(struct sock *sk, unsigned int pkts) in tcp_event_ack_sent()
269 static u16 tcp_select_window(struct sock *sk) in tcp_select_window()
318 static void tcp_ecn_send_synack(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_synack()
330 static void tcp_ecn_send_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_syn()
355 struct sock *sk) in tcp_ecn_make_synack()
367 static void tcp_ecn_send(struct sock *sk, struct sk_buff *skb, in tcp_ecn_send()
547 static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb, in tcp_syn_options()
613 static unsigned int tcp_synack_options(struct sock *sk, in tcp_synack_options()
676 static unsigned int tcp_established_options(struct sock *sk, struct sk_buff *skb, in tcp_established_options()
738 static void tcp_tsq_handler(struct sock *sk) in tcp_tsq_handler()
759 struct sock *sk; in tcp_tasklet_func() local
796 void tcp_release_cb(struct sock *sk) in tcp_release_cb()
859 struct sock *sk = skb->sk; in tcp_wfree() local
906 static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it, in tcp_transmit_skb()
1046 static void tcp_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_queue_skb()
1059 static void tcp_set_skb_tso_segs(const struct sock *sk, struct sk_buff *skb, in tcp_set_skb_tso_segs()
1084 static void tcp_adjust_fackets_out(struct sock *sk, const struct sk_buff *skb, in tcp_adjust_fackets_out()
1099 static void tcp_adjust_pcount(struct sock *sk, const struct sk_buff *skb, int decr) in tcp_adjust_pcount()
1146 int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len, in tcp_fragment()
1273 int tcp_trim_head(struct sock *sk, struct sk_buff *skb, u32 len) in tcp_trim_head()
1296 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) in __tcp_mtu_to_mss()
1329 int tcp_mtu_to_mss(struct sock *sk, int pmtu) in tcp_mtu_to_mss()
1337 int tcp_mss_to_mtu(struct sock *sk, int mss) in tcp_mss_to_mtu()
1359 void tcp_mtup_init(struct sock *sk) in tcp_mtup_init()
1397 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss()
1422 unsigned int tcp_current_mss(struct sock *sk) in tcp_current_mss()
1457 static void tcp_cwnd_application_limited(struct sock *sk) in tcp_cwnd_application_limited()
1475 static void tcp_cwnd_validate(struct sock *sk, bool is_cwnd_limited) in tcp_cwnd_validate()
1544 static u32 tcp_tso_autosize(const struct sock *sk, unsigned int mss_now) in tcp_tso_autosize()
1562 static unsigned int tcp_mss_split_point(const struct sock *sk, in tcp_mss_split_point()
1622 static int tcp_init_tso_segs(const struct sock *sk, struct sk_buff *skb, in tcp_init_tso_segs()
1677 static unsigned int tcp_snd_test(const struct sock *sk, struct sk_buff *skb, in tcp_snd_test()
1696 bool tcp_may_send_now(struct sock *sk) in tcp_may_send_now()
1714 static int tso_fragment(struct sock *sk, struct sk_buff *skb, unsigned int len, in tso_fragment()
1767 static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, in tcp_tso_should_defer()
1846 static inline void tcp_mtu_check_reprobe(struct sock *sk) in tcp_mtu_check_reprobe()
1880 static int tcp_mtu_probe(struct sock *sk) in tcp_mtu_probe()
2032 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle, in tcp_write_xmit()
2158 bool tcp_schedule_loss_probe(struct sock *sk) in tcp_schedule_loss_probe()
2221 static bool skb_still_in_host_queue(const struct sock *sk, in skb_still_in_host_queue()
2235 void tcp_send_loss_probe(struct sock *sk) in tcp_send_loss_probe()
2294 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss, in __tcp_push_pending_frames()
2312 void tcp_push_one(struct sock *sk, unsigned int mss_now) in tcp_push_one()
2373 u32 __tcp_select_window(struct sock *sk) in __tcp_select_window()
2452 static void tcp_collapse_retrans(struct sock *sk, struct sk_buff *skb) in tcp_collapse_retrans()
2498 static bool tcp_can_collapse(const struct sock *sk, const struct sk_buff *skb) in tcp_can_collapse()
2519 static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *to, in tcp_retrans_try_collapse()
2561 int __tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb) in __tcp_retransmit_skb()
2649 int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb) in tcp_retransmit_skb()
2686 static bool tcp_can_forward_retransmit(struct sock *sk) in tcp_can_forward_retransmit()
2721 void tcp_xmit_retransmit_queue(struct sock *sk) in tcp_xmit_retransmit_queue()
2820 static void sk_forced_wmem_schedule(struct sock *sk, int size) in sk_forced_wmem_schedule()
2834 void tcp_send_fin(struct sock *sk) in tcp_send_fin()
2881 void tcp_send_active_reset(struct sock *sk, gfp_t priority) in tcp_send_active_reset()
2910 int tcp_send_synack(struct sock *sk) in tcp_send_synack()
2948 struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst, in tcp_make_synack()
3030 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst) in tcp_ca_dst_init()
3050 static void tcp_connect_init(struct sock *sk) in tcp_connect_init()
3121 static void tcp_connect_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_connect_queue_skb()
3142 static int tcp_send_syn_data(struct sock *sk, struct sk_buff *syn) in tcp_send_syn_data()
3233 int tcp_connect(struct sock *sk) in tcp_connect()
3279 void tcp_send_delayed_ack(struct sock *sk) in tcp_send_delayed_ack()
3335 void tcp_send_ack(struct sock *sk) in tcp_send_ack()
3387 static int tcp_xmit_probe_skb(struct sock *sk, int urgent) in tcp_xmit_probe_skb()
3408 void tcp_send_window_probe(struct sock *sk) in tcp_send_window_probe()
3417 int tcp_write_wakeup(struct sock *sk) in tcp_write_wakeup()
3462 void tcp_send_probe0(struct sock *sk) in tcp_send_probe0()
3499 int tcp_rtx_synack(struct sock *sk, struct request_sock *req) in tcp_rtx_synack()