Lines Matching refs:sock

61 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle,
65 static void tcp_event_new_data_sent(struct sock *sk, struct sk_buff *skb)
95 static inline __u32 tcp_acceptable_seq(const struct sock *sk)
121 static __u16 tcp_advertise_mss(struct sock *sk)
142 void tcp_cwnd_restart(struct sock *sk, s32 delta)
162 struct sock *sk)
180 static inline void tcp_event_ack_sent(struct sock *sk, u32 rcv_nxt)
205 void tcp_select_initial_window(const struct sock *sk, int __space, __u32 mss,
256 static u16 tcp_select_window(struct sock *sk)
316 static void tcp_ecn_send_synack(struct sock *sk, struct sk_buff *skb)
329 static void tcp_ecn_send_syn(struct sock *sk, struct sk_buff *skb)
353 static void tcp_ecn_clear_syn(struct sock *sk, struct sk_buff *skb)
372 static void tcp_ecn_send(struct sock *sk, struct sk_buff *skb,
478 static void bpf_skops_hdr_opt_len(struct sock *sk, struct sk_buff *skb,
514 sock_ops.sk = (struct sock *)req;
541 static void bpf_skops_write_hdr_opt(struct sock *sk, struct sk_buff *skb,
559 sock_ops.sk = (struct sock *)req;
585 static void bpf_skops_hdr_opt_len(struct sock *sk, struct sk_buff *skb,
594 static void bpf_skops_write_hdr_opt(struct sock *sk, struct sk_buff *skb,
768 static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb,
849 static unsigned int tcp_synack_options(const struct sock *sk,
913 bpf_skops_hdr_opt_len((struct sock *)sk, skb, req, syn_skb,
922 static unsigned int tcp_established_options(struct sock *sk, struct sk_buff *skb,
1017 static void tcp_tsq_write(struct sock *sk)
1035 static void tcp_tsq_handler(struct sock *sk)
1057 struct sock *sk;
1067 sk = (struct sock *)tp;
1087 void tcp_release_cb(struct sock *sk)
1148 struct sock *sk = skb->sk;
1196 struct sock *sk = (struct sock *)tp;
1204 static void tcp_update_skb_after_send(struct sock *sk, struct sk_buff *skb,
1228 INDIRECT_CALLABLE_DECLARE(int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl));
1229 INDIRECT_CALLABLE_DECLARE(int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl));
1230 INDIRECT_CALLABLE_DECLARE(void tcp_v4_send_check(struct sock *sk, struct sk_buff *skb));
1243 static int __tcp_transmit_skb(struct sock *sk, struct sk_buff *skb,
1430 static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it,
1442 static void tcp_queue_skb(struct sock *sk, struct sk_buff *skb)
1472 static void tcp_adjust_pcount(struct sock *sk, const struct sk_buff *skb, int decr)
1529 struct sock *sk,
1543 int tcp_fragment(struct sock *sk, enum tcp_queue tcp_queue,
1671 int tcp_trim_head(struct sock *sk, struct sk_buff *skb, u32 len)
1695 static inline int __tcp_mtu_to_mss(struct sock *sk, int pmtu)
1728 int tcp_mtu_to_mss(struct sock *sk, int pmtu)
1737 int tcp_mss_to_mtu(struct sock *sk, int mss)
1760 void tcp_mtup_init(struct sock *sk)
1798 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu)
1823 unsigned int tcp_current_mss(struct sock *sk)
1858 static void tcp_cwnd_application_limited(struct sock *sk)
1876 static void tcp_cwnd_validate(struct sock *sk, bool is_cwnd_limited)
1976 static u32 tcp_tso_autosize(const struct sock *sk, unsigned int mss_now,
1996 static u32 tcp_tso_segs(struct sock *sk, unsigned int mss_now)
2010 static unsigned int tcp_mss_split_point(const struct sock *sk,
2127 static int tso_fragment(struct sock *sk, struct sk_buff *skb, unsigned int len,
2179 static bool tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb,
2281 static inline void tcp_mtu_check_reprobe(struct sock *sk)
2306 static bool tcp_can_coalesce_send_queue_head(struct sock *sk, int len)
2326 static int tcp_clone_payload(struct sock *sk, struct sk_buff *to,
2386 static int tcp_mtu_probe(struct sock *sk)
2526 static bool tcp_pacing_check(struct sock *sk)
2545 static bool tcp_rtx_queue_empty_or_single_skb(const struct sock *sk)
2568 static bool tcp_small_queue_check(struct sock *sk, const struct sk_buff *skb,
2625 void tcp_chrono_start(struct sock *sk, const enum tcp_chrono type)
2638 void tcp_chrono_stop(struct sock *sk, const enum tcp_chrono type)
2670 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle,
2799 bool tcp_schedule_loss_probe(struct sock *sk, bool advancing_rto)
2852 static bool skb_still_in_host_queue(struct sock *sk,
2870 void tcp_send_loss_probe(struct sock *sk)
2937 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss,
2955 void tcp_push_one(struct sock *sk, unsigned int mss_now)
3016 u32 __tcp_select_window(struct sock *sk)
3153 static bool tcp_collapse_retrans(struct sock *sk, struct sk_buff *skb)
3194 static bool tcp_can_collapse(const struct sock *sk, const struct sk_buff *skb)
3210 static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *to,
3251 int __tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs)
3377 int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs)
3407 void tcp_xmit_retransmit_queue(struct sock *sk)
3488 void sk_forced_mem_schedule(struct sock *sk, int size)
3507 void tcp_send_fin(struct sock *sk)
3556 void tcp_send_active_reset(struct sock *sk, gfp_t priority)
3590 int tcp_send_synack(struct sock *sk)
3634 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
3672 skb_set_owner_w(skb, (struct sock *)sk);
3734 bpf_skops_write_hdr_opt((struct sock *)sk, skb, req, syn_skb,
3744 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst)
3764 static void tcp_connect_init(struct sock *sk)
3835 static void tcp_connect_queue_skb(struct sock *sk, struct sk_buff *skb)
3855 static int tcp_send_syn_data(struct sock *sk, struct sk_buff *syn)
3952 int tcp_connect(struct sock *sk)
4006 u32 tcp_delack_max(const struct sock *sk)
4024 void tcp_send_delayed_ack(struct sock *sk)
4077 void __tcp_send_ack(struct sock *sk, u32 rcv_nxt)
4087 * sock.
4119 void tcp_send_ack(struct sock *sk)
4135 static int tcp_xmit_probe_skb(struct sock *sk, int urgent, int mib)
4158 void tcp_send_window_probe(struct sock *sk)
4168 int tcp_write_wakeup(struct sock *sk, int mib)
4214 void tcp_send_probe0(struct sock *sk)
4248 int tcp_rtx_synack(const struct sock *sk, struct request_sock *req)