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()
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()
272 static u16 tcp_select_window(struct sock *sk) in tcp_select_window()
321 static void tcp_ecn_send_synack(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_synack()
333 static void tcp_ecn_send_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_syn()
356 static void tcp_ecn_clear_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_clear_syn()
375 static void tcp_ecn_send(struct sock *sk, struct sk_buff *skb, in tcp_ecn_send()
551 static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb, in tcp_syn_options()
679 static unsigned int tcp_established_options(struct sock *sk, struct sk_buff *skb, in tcp_established_options()
742 static void tcp_tsq_handler(struct sock *sk) in tcp_tsq_handler()
763 struct sock *sk; in tcp_tasklet_func() local
800 void tcp_release_cb(struct sock *sk) in tcp_release_cb()
863 struct sock *sk = skb->sk; in tcp_wfree() local
910 static int __tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, in __tcp_transmit_skb()
1045 static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it, in tcp_transmit_skb()
1057 static void tcp_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_queue_skb()
1087 static void tcp_adjust_fackets_out(struct sock *sk, const struct sk_buff *skb, in tcp_adjust_fackets_out()
1102 static void tcp_adjust_pcount(struct sock *sk, const struct sk_buff *skb, int decr) in tcp_adjust_pcount()
1149 int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len, in tcp_fragment()
1291 int tcp_trim_head(struct sock *sk, struct sk_buff *skb, u32 len) in tcp_trim_head()
1318 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) in __tcp_mtu_to_mss()
1350 int tcp_mtu_to_mss(struct sock *sk, int pmtu) in tcp_mtu_to_mss()
1359 int tcp_mss_to_mtu(struct sock *sk, int mss) in tcp_mss_to_mtu()
1381 void tcp_mtup_init(struct sock *sk) in tcp_mtup_init()
1419 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss()
1444 unsigned int tcp_current_mss(struct sock *sk) in tcp_current_mss()
1479 static void tcp_cwnd_application_limited(struct sock *sk) in tcp_cwnd_application_limited()
1497 static void tcp_cwnd_validate(struct sock *sk, bool is_cwnd_limited) in tcp_cwnd_validate()
1567 static u32 tcp_tso_autosize(const struct sock *sk, unsigned int mss_now) in tcp_tso_autosize()
1585 static unsigned int tcp_mss_split_point(const struct sock *sk, in tcp_mss_split_point()
1699 static unsigned int tcp_snd_test(const struct sock *sk, struct sk_buff *skb, in tcp_snd_test()
1718 bool tcp_may_send_now(struct sock *sk) in tcp_may_send_now()
1736 static int tso_fragment(struct sock *sk, struct sk_buff *skb, unsigned int len, in tso_fragment()
1789 static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, in tcp_tso_should_defer()
1868 static inline void tcp_mtu_check_reprobe(struct sock *sk) in tcp_mtu_check_reprobe()
1902 static int tcp_mtu_probe(struct sock *sk) in tcp_mtu_probe()
2057 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle, in tcp_write_xmit()
2193 bool tcp_schedule_loss_probe(struct sock *sk) in tcp_schedule_loss_probe()
2257 static bool skb_still_in_host_queue(const struct sock *sk, in skb_still_in_host_queue()
2271 void tcp_send_loss_probe(struct sock *sk) in tcp_send_loss_probe()
2342 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss, in __tcp_push_pending_frames()
2360 void tcp_push_one(struct sock *sk, unsigned int mss_now) in tcp_push_one()
2421 u32 __tcp_select_window(struct sock *sk) in __tcp_select_window()
2502 static void tcp_collapse_retrans(struct sock *sk, struct sk_buff *skb) in tcp_collapse_retrans()
2548 static bool tcp_can_collapse(const struct sock *sk, const struct sk_buff *skb) in tcp_can_collapse()
2569 static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *to, in tcp_retrans_try_collapse()
2611 int __tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb) in __tcp_retransmit_skb()
2708 int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb) in tcp_retransmit_skb()
2739 static bool tcp_can_forward_retransmit(struct sock *sk) in tcp_can_forward_retransmit()
2774 void tcp_xmit_retransmit_queue(struct sock *sk) in tcp_xmit_retransmit_queue()
2875 void sk_forced_mem_schedule(struct sock *sk, int size) in sk_forced_mem_schedule()
2889 void tcp_send_fin(struct sock *sk) in tcp_send_fin()
2936 void tcp_send_active_reset(struct sock *sk, gfp_t priority) in tcp_send_active_reset()
2965 int tcp_send_synack(struct sock *sk) in tcp_send_synack()
3003 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst, in tcp_make_synack()
3093 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst) in tcp_ca_dst_init()
3113 static void tcp_connect_init(struct sock *sk) in tcp_connect_init()
3185 static void tcp_connect_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_connect_queue_skb()
3206 static int tcp_send_syn_data(struct sock *sk, struct sk_buff *syn) in tcp_send_syn_data()
3297 int tcp_connect(struct sock *sk) in tcp_connect()
3346 void tcp_send_delayed_ack(struct sock *sk) in tcp_send_delayed_ack()
3400 void __tcp_send_ack(struct sock *sk, u32 rcv_nxt) in __tcp_send_ack()
3439 void tcp_send_ack(struct sock *sk) in tcp_send_ack()
3455 static int tcp_xmit_probe_skb(struct sock *sk, int urgent, int mib) in tcp_xmit_probe_skb()
3477 void tcp_send_window_probe(struct sock *sk) in tcp_send_window_probe()
3486 int tcp_write_wakeup(struct sock *sk, int mib) in tcp_write_wakeup()
3531 void tcp_send_probe0(struct sock *sk) in tcp_send_probe0()
3568 int tcp_rtx_synack(const struct sock *sk, struct request_sock *req) in tcp_rtx_synack()