Lines Matching defs:sk
64 static void tcp_event_new_data_sent(struct sock *sk, struct sk_buff *skb) in tcp_event_new_data_sent()
94 static inline __u32 tcp_acceptable_seq(const struct sock *sk) in tcp_acceptable_seq()
120 static __u16 tcp_advertise_mss(struct sock *sk) in tcp_advertise_mss()
141 void tcp_cwnd_restart(struct sock *sk, s32 delta) in tcp_cwnd_restart()
161 struct sock *sk) in tcp_event_data_sent()
182 static inline void tcp_event_ack_sent(struct sock *sk, u32 rcv_nxt) in tcp_event_ack_sent()
207 void tcp_select_initial_window(const struct sock *sk, int __space, __u32 mss, in tcp_select_initial_window()
258 static u16 tcp_select_window(struct sock *sk) in tcp_select_window()
308 static void tcp_ecn_send_synack(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_synack()
321 static void tcp_ecn_send_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_syn()
345 static void tcp_ecn_clear_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_clear_syn()
364 static void tcp_ecn_send(struct sock *sk, struct sk_buff *skb, in tcp_ecn_send()
590 static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb, in tcp_syn_options()
660 static unsigned int tcp_synack_options(const struct sock *sk, in tcp_synack_options()
727 static unsigned int tcp_established_options(struct sock *sk, struct sk_buff *skb, in tcp_established_options()
792 static void tcp_tsq_write(struct sock *sk) in tcp_tsq_write()
810 static void tcp_tsq_handler(struct sock *sk) in tcp_tsq_handler()
832 struct sock *sk; in tcp_tasklet_func() local
862 void tcp_release_cb(struct sock *sk) in tcp_release_cb()
925 struct sock *sk = skb->sk; in tcp_wfree() local
976 struct sock *sk = (struct sock *)tp; in tcp_pace_kick() local
984 static void tcp_update_skb_after_send(struct sock *sk, struct sk_buff *skb, in tcp_update_skb_after_send()
1019 static int __tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, in __tcp_transmit_skb()
1192 static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it, in tcp_transmit_skb()
1204 static void tcp_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_queue_skb()
1234 static void tcp_adjust_pcount(struct sock *sk, const struct sk_buff *skb, int decr) in tcp_adjust_pcount()
1291 struct sock *sk, in tcp_insert_write_queue_after()
1305 int tcp_fragment(struct sock *sk, enum tcp_queue tcp_queue, in tcp_fragment()
1442 int tcp_trim_head(struct sock *sk, struct sk_buff *skb, u32 len) in tcp_trim_head()
1469 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu) in __tcp_mtu_to_mss()
1502 int tcp_mtu_to_mss(struct sock *sk, int pmtu) in tcp_mtu_to_mss()
1511 int tcp_mss_to_mtu(struct sock *sk, int mss) in tcp_mss_to_mtu()
1534 void tcp_mtup_init(struct sock *sk) in tcp_mtup_init()
1572 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss()
1597 unsigned int tcp_current_mss(struct sock *sk) in tcp_current_mss()
1632 static void tcp_cwnd_application_limited(struct sock *sk) in tcp_cwnd_application_limited()
1650 static void tcp_cwnd_validate(struct sock *sk, bool is_cwnd_limited) in tcp_cwnd_validate()
1739 static u32 tcp_tso_autosize(const struct sock *sk, unsigned int mss_now, in tcp_tso_autosize()
1761 static u32 tcp_tso_segs(struct sock *sk, unsigned int mss_now) in tcp_tso_segs()
1775 static unsigned int tcp_mss_split_point(const struct sock *sk, in tcp_mss_split_point()
1892 static int tso_fragment(struct sock *sk, struct sk_buff *skb, unsigned int len, in tso_fragment()
1949 static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, in tcp_tso_should_defer()
2051 static inline void tcp_mtu_check_reprobe(struct sock *sk) in tcp_mtu_check_reprobe()
2076 static bool tcp_can_coalesce_send_queue_head(struct sock *sk, int len) in tcp_can_coalesce_send_queue_head()
2103 static int tcp_mtu_probe(struct sock *sk) in tcp_mtu_probe()
2243 static bool tcp_pacing_check(struct sock *sk) in tcp_pacing_check()
2262 static bool tcp_rtx_queue_empty_or_single_skb(const struct sock *sk) in tcp_rtx_queue_empty_or_single_skb()
2285 static bool tcp_small_queue_check(struct sock *sk, const struct sk_buff *skb, in tcp_small_queue_check()
2342 void tcp_chrono_start(struct sock *sk, const enum tcp_chrono type) in tcp_chrono_start()
2355 void tcp_chrono_stop(struct sock *sk, const enum tcp_chrono type) in tcp_chrono_stop()
2387 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle, in tcp_write_xmit()
2515 bool tcp_schedule_loss_probe(struct sock *sk, bool advancing_rto) in tcp_schedule_loss_probe()
2569 static bool skb_still_in_host_queue(const struct sock *sk, in skb_still_in_host_queue()
2583 void tcp_send_loss_probe(struct sock *sk) in tcp_send_loss_probe()
2650 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss, in __tcp_push_pending_frames()
2668 void tcp_push_one(struct sock *sk, unsigned int mss_now) in tcp_push_one()
2729 u32 __tcp_select_window(struct sock *sk) in __tcp_select_window()
2823 static bool tcp_collapse_retrans(struct sock *sk, struct sk_buff *skb) in tcp_collapse_retrans()
2868 static bool tcp_can_collapse(const struct sock *sk, const struct sk_buff *skb) in tcp_can_collapse()
2884 static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *to, in tcp_retrans_try_collapse()
2925 int __tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs) in __tcp_retransmit_skb()
3059 int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs) in tcp_retransmit_skb()
3089 void tcp_xmit_retransmit_queue(struct sock *sk) in tcp_xmit_retransmit_queue()
3167 void sk_forced_mem_schedule(struct sock *sk, int size) in sk_forced_mem_schedule()
3185 void tcp_send_fin(struct sock *sk) in tcp_send_fin()
3233 void tcp_send_active_reset(struct sock *sk, gfp_t priority) in tcp_send_active_reset()
3267 int tcp_send_synack(struct sock *sk) in tcp_send_synack()
3310 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst, in tcp_make_synack()
3412 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst) in tcp_ca_dst_init()
3432 static void tcp_connect_init(struct sock *sk) in tcp_connect_init()
3508 static void tcp_connect_queue_skb(struct sock *sk, struct sk_buff *skb) in tcp_connect_queue_skb()
3528 static int tcp_send_syn_data(struct sock *sk, struct sk_buff *syn) in tcp_send_syn_data()
3619 int tcp_connect(struct sock *sk) in tcp_connect()
3677 void tcp_send_delayed_ack(struct sock *sk) in tcp_send_delayed_ack()
3731 void __tcp_send_ack(struct sock *sk, u32 rcv_nxt) in __tcp_send_ack()
3768 void tcp_send_ack(struct sock *sk) in tcp_send_ack()
3784 static int tcp_xmit_probe_skb(struct sock *sk, int urgent, int mib) in tcp_xmit_probe_skb()
3807 void tcp_send_window_probe(struct sock *sk) in tcp_send_window_probe()
3817 int tcp_write_wakeup(struct sock *sk, int mib) in tcp_write_wakeup()
3863 void tcp_send_probe0(struct sock *sk) in tcp_send_probe0()
3897 int tcp_rtx_synack(const struct sock *sk, struct request_sock *req) in tcp_rtx_synack()