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()
266 static u16 tcp_select_window(struct sock *sk) in tcp_select_window()
315 static void tcp_ecn_send_synack(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_synack()
327 static void tcp_ecn_send_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_syn()
350 static void tcp_ecn_clear_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_clear_syn()
369 static void tcp_ecn_send(struct sock *sk, struct sk_buff *skb, in tcp_ecn_send()
545 static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb, in tcp_syn_options()
673 static unsigned int tcp_established_options(struct sock *sk, struct sk_buff *skb, in tcp_established_options()
735 static void tcp_tsq_handler(struct sock *sk) in tcp_tsq_handler()
756 struct sock *sk; in tcp_tasklet_func() local
793 void tcp_release_cb(struct sock *sk) in tcp_release_cb()
856 struct sock *sk = skb->sk; in tcp_wfree() local
903 static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it, in tcp_transmit_skb()
1043 static void tcp_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_queue_skb()
1073 static void tcp_adjust_fackets_out(struct sock *sk, const struct sk_buff *skb, in tcp_adjust_fackets_out()
1088 static void tcp_adjust_pcount(struct sock *sk, const struct sk_buff *skb, int decr) in tcp_adjust_pcount()
1135 int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len, in tcp_fragment()
1262 int tcp_trim_head(struct sock *sk, struct sk_buff *skb, u32 len) in tcp_trim_head()
1285 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) in __tcp_mtu_to_mss()
1318 int tcp_mtu_to_mss(struct sock *sk, int pmtu) in tcp_mtu_to_mss()
1326 int tcp_mss_to_mtu(struct sock *sk, int mss) in tcp_mss_to_mtu()
1348 void tcp_mtup_init(struct sock *sk) in tcp_mtup_init()
1386 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss()
1411 unsigned int tcp_current_mss(struct sock *sk) in tcp_current_mss()
1446 static void tcp_cwnd_application_limited(struct sock *sk) in tcp_cwnd_application_limited()
1464 static void tcp_cwnd_validate(struct sock *sk, bool is_cwnd_limited) in tcp_cwnd_validate()
1533 static u32 tcp_tso_autosize(const struct sock *sk, unsigned int mss_now) in tcp_tso_autosize()
1551 static unsigned int tcp_mss_split_point(const struct sock *sk, in tcp_mss_split_point()
1665 static unsigned int tcp_snd_test(const struct sock *sk, struct sk_buff *skb, in tcp_snd_test()
1684 bool tcp_may_send_now(struct sock *sk) in tcp_may_send_now()
1702 static int tso_fragment(struct sock *sk, struct sk_buff *skb, unsigned int len, in tso_fragment()
1755 static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, in tcp_tso_should_defer()
1834 static inline void tcp_mtu_check_reprobe(struct sock *sk) in tcp_mtu_check_reprobe()
1868 static int tcp_mtu_probe(struct sock *sk) in tcp_mtu_probe()
2020 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle, in tcp_write_xmit()
2146 bool tcp_schedule_loss_probe(struct sock *sk) in tcp_schedule_loss_probe()
2210 static bool skb_still_in_host_queue(const struct sock *sk, in skb_still_in_host_queue()
2224 void tcp_send_loss_probe(struct sock *sk) in tcp_send_loss_probe()
2288 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss, in __tcp_push_pending_frames()
2306 void tcp_push_one(struct sock *sk, unsigned int mss_now) in tcp_push_one()
2367 u32 __tcp_select_window(struct sock *sk) in __tcp_select_window()
2446 static void tcp_collapse_retrans(struct sock *sk, struct sk_buff *skb) in tcp_collapse_retrans()
2492 static bool tcp_can_collapse(const struct sock *sk, const struct sk_buff *skb) in tcp_can_collapse()
2513 static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *to, in tcp_retrans_try_collapse()
2555 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()
2680 static bool tcp_can_forward_retransmit(struct sock *sk) in tcp_can_forward_retransmit()
2715 void tcp_xmit_retransmit_queue(struct sock *sk) in tcp_xmit_retransmit_queue()
2816 void sk_forced_mem_schedule(struct sock *sk, int size) in sk_forced_mem_schedule()
2830 void tcp_send_fin(struct sock *sk) in tcp_send_fin()
2877 void tcp_send_active_reset(struct sock *sk, gfp_t priority) in tcp_send_active_reset()
2906 int tcp_send_synack(struct sock *sk) in tcp_send_synack()
2944 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst, in tcp_make_synack()
3039 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst) in tcp_ca_dst_init()
3059 static void tcp_connect_init(struct sock *sk) in tcp_connect_init()
3130 static void tcp_connect_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_connect_queue_skb()
3151 static int tcp_send_syn_data(struct sock *sk, struct sk_buff *syn) in tcp_send_syn_data()
3242 int tcp_connect(struct sock *sk) in tcp_connect()
3288 void tcp_send_delayed_ack(struct sock *sk) in tcp_send_delayed_ack()
3344 void tcp_send_ack(struct sock *sk) in tcp_send_ack()
3396 static int tcp_xmit_probe_skb(struct sock *sk, int urgent, int mib) in tcp_xmit_probe_skb()
3418 void tcp_send_window_probe(struct sock *sk) in tcp_send_window_probe()
3427 int tcp_write_wakeup(struct sock *sk, int mib) in tcp_write_wakeup()
3472 void tcp_send_probe0(struct sock *sk) in tcp_send_probe0()
3509 int tcp_rtx_synack(const struct sock *sk, struct request_sock *req) in tcp_rtx_synack()