Lines Matching refs:sock

63 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle,
67 static void tcp_event_new_data_sent(struct sock *sk, struct sk_buff *skb)
97 static inline __u32 tcp_acceptable_seq(const struct sock *sk)
123 static __u16 tcp_advertise_mss(struct sock *sk)
144 void tcp_cwnd_restart(struct sock *sk, s32 delta)
164 struct sock *sk)
182 static inline void tcp_event_ack_sent(struct sock *sk, u32 rcv_nxt)
207 void tcp_select_initial_window(const struct sock *sk, int __space, __u32 mss,
258 static u16 tcp_select_window(struct sock *sk)
308 static void tcp_ecn_send_synack(struct sock *sk, struct sk_buff *skb)
321 static void tcp_ecn_send_syn(struct sock *sk, struct sk_buff *skb)
345 static void tcp_ecn_clear_syn(struct sock *sk, struct sk_buff *skb)
364 static void tcp_ecn_send(struct sock *sk, struct sk_buff *skb,
469 static void bpf_skops_hdr_opt_len(struct sock *sk, struct sk_buff *skb,
505 sock_ops.sk = (struct sock *)req;
532 static void bpf_skops_write_hdr_opt(struct sock *sk, struct sk_buff *skb,
550 sock_ops.sk = (struct sock *)req;
576 static void bpf_skops_hdr_opt_len(struct sock *sk, struct sk_buff *skb,
585 static void bpf_skops_write_hdr_opt(struct sock *sk, struct sk_buff *skb,
758 static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb,
839 static unsigned int tcp_synack_options(const struct sock *sk,
903 bpf_skops_hdr_opt_len((struct sock *)sk, skb, req, syn_skb,
912 static unsigned int tcp_established_options(struct sock *sk, struct sk_buff *skb,
1007 static void tcp_tsq_write(struct sock *sk)
1025 static void tcp_tsq_handler(struct sock *sk)
1047 struct sock *sk;
1057 sk = (struct sock *)tp;
1077 void tcp_release_cb(struct sock *sk)
1140 struct sock *sk = skb->sk;
1191 struct sock *sk = (struct sock *)tp;
1199 static void tcp_update_skb_after_send(struct sock *sk, struct sk_buff *skb,
1223 INDIRECT_CALLABLE_DECLARE(int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl));
1224 INDIRECT_CALLABLE_DECLARE(int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl));
1225 INDIRECT_CALLABLE_DECLARE(void tcp_v4_send_check(struct sock *sk, struct sk_buff *skb));
1238 static int __tcp_transmit_skb(struct sock *sk, struct sk_buff *skb,
1418 static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it,
1430 static void tcp_queue_skb(struct sock *sk, struct sk_buff *skb)
1460 static void tcp_adjust_pcount(struct sock *sk, const struct sk_buff *skb, int decr)
1517 struct sock *sk,
1531 int tcp_fragment(struct sock *sk, enum tcp_queue tcp_queue,
1668 int tcp_trim_head(struct sock *sk, struct sk_buff *skb, u32 len)
1694 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu)
1727 int tcp_mtu_to_mss(struct sock *sk, int pmtu)
1736 int tcp_mss_to_mtu(struct sock *sk, int mss)
1759 void tcp_mtup_init(struct sock *sk)
1797 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu)
1822 unsigned int tcp_current_mss(struct sock *sk)
1857 static void tcp_cwnd_application_limited(struct sock *sk)
1875 static void tcp_cwnd_validate(struct sock *sk, bool is_cwnd_limited)
1964 static u32 tcp_tso_autosize(const struct sock *sk, unsigned int mss_now,
1986 static u32 tcp_tso_segs(struct sock *sk, unsigned int mss_now)
2000 static unsigned int tcp_mss_split_point(const struct sock *sk,
2117 static int tso_fragment(struct sock *sk, struct sk_buff *skb, unsigned int len,
2174 static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb,
2276 static inline void tcp_mtu_check_reprobe(struct sock *sk)
2301 static bool tcp_can_coalesce_send_queue_head(struct sock *sk, int len)
2328 static int tcp_mtu_probe(struct sock *sk)
2468 static bool tcp_pacing_check(struct sock *sk)
2487 static bool tcp_rtx_queue_empty_or_single_skb(const struct sock *sk)
2510 static bool tcp_small_queue_check(struct sock *sk, const struct sk_buff *skb,
2567 void tcp_chrono_start(struct sock *sk, const enum tcp_chrono type)
2580 void tcp_chrono_stop(struct sock *sk, const enum tcp_chrono type)
2612 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle,
2740 bool tcp_schedule_loss_probe(struct sock *sk, bool advancing_rto)
2793 static bool skb_still_in_host_queue(const struct sock *sk,
2807 void tcp_send_loss_probe(struct sock *sk)
2874 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss,
2892 void tcp_push_one(struct sock *sk, unsigned int mss_now)
2953 u32 __tcp_select_window(struct sock *sk)
3051 static bool tcp_collapse_retrans(struct sock *sk, struct sk_buff *skb)
3096 static bool tcp_can_collapse(const struct sock *sk, const struct sk_buff *skb)
3112 static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *to,
3153 int __tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs)
3287 int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs)
3317 void tcp_xmit_retransmit_queue(struct sock *sk)
3398 void sk_forced_mem_schedule(struct sock *sk, int size)
3416 void tcp_send_fin(struct sock *sk)
3467 void tcp_send_active_reset(struct sock *sk, gfp_t priority)
3501 int tcp_send_synack(struct sock *sk)
3545 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
3583 skb_set_owner_w(skb, (struct sock *)sk);
3644 bpf_skops_write_hdr_opt((struct sock *)sk, skb, req, syn_skb,
3654 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst)
3674 static void tcp_connect_init(struct sock *sk)
3753 static void tcp_connect_queue_skb(struct sock *sk, struct sk_buff *skb)
3773 static int tcp_send_syn_data(struct sock *sk, struct sk_buff *syn)
3864 int tcp_connect(struct sock *sk)
3922 void tcp_send_delayed_ack(struct sock *sk)
3975 void __tcp_send_ack(struct sock *sk, u32 rcv_nxt)
3985 * sock.
4017 void tcp_send_ack(struct sock *sk)
4033 static int tcp_xmit_probe_skb(struct sock *sk, int urgent, int mib)
4056 void tcp_send_window_probe(struct sock *sk)
4066 int tcp_write_wakeup(struct sock *sk, int mib)
4112 void tcp_send_probe0(struct sock *sk)
4145 int tcp_rtx_synack(const struct sock *sk, struct request_sock *req)