Lines Matching full:sock

37 #include <net/sock.h>
68 void tcp_time_wait(struct sock *sk, int state, int timeo);
299 static inline bool tcp_under_memory_pressure(const struct sock *sk) in tcp_under_memory_pressure()
327 static inline void tcp_wmem_free_skb(struct sock *sk, struct sk_buff *skb) in tcp_wmem_free_skb()
337 void sk_forced_mem_schedule(struct sock *sk, int size);
339 bool tcp_check_oom(const struct sock *sk, int shift);
362 void tcp_shutdown(struct sock *sk, int how);
366 void tcp_remove_empty_skb(struct sock *sk);
367 int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
368 int tcp_sendmsg_locked(struct sock *sk, struct msghdr *msg, size_t size);
369 int tcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, int *copied,
371 void tcp_splice_eof(struct socket *sock);
372 int tcp_send_mss(struct sock *sk, int *size_goal, int flags);
373 int tcp_wmem_schedule(struct sock *sk, int copy);
374 void tcp_push(struct sock *sk, int flags, int mss_now, int nonagle,
377 void tcp_release_cb(struct sock *sk);
379 static inline bool tcp_release_cb_cond(struct sock *sk) in tcp_release_cb_cond()
392 void tcp_write_timer_handler(struct sock *sk);
393 void tcp_delack_timer_handler(struct sock *sk);
394 int tcp_ioctl(struct sock *sk, int cmd, int *karg);
395 enum skb_drop_reason tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb);
396 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb);
397 void tcp_rcvbuf_grow(struct sock *sk, u32 newval);
398 void tcp_rcv_space_adjust(struct sock *sk);
399 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
400 void tcp_twsk_destructor(struct sock *sk);
407 struct sk_buff *tcp_stream_alloc_skb(struct sock *sk, gfp_t gfp,
410 static inline void tcp_dec_quickack_mode(struct sock *sk) in tcp_dec_quickack_mode()
482 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
485 enum skb_drop_reason tcp_child_process(struct sock *parent, struct sock *child,
487 void tcp_enter_loss(struct sock *sk);
488 void tcp_cwnd_reduction(struct sock *sk, int newly_acked_sacked, int newly_lost, int flag);
490 void tcp_update_pacing_rate(struct sock *sk);
491 void tcp_set_rto(struct sock *sk);
492 void tcp_update_metrics(struct sock *sk);
493 void tcp_init_metrics(struct sock *sk);
496 void __tcp_close(struct sock *sk, long timeout);
497 void tcp_close(struct sock *sk, long timeout);
498 void tcp_init_sock(struct sock *sk);
499 void tcp_init_transfer(struct sock *sk, int bpf_op, struct sk_buff *skb);
500 __poll_t tcp_poll(struct file *file, struct socket *sock,
502 int do_tcp_getsockopt(struct sock *sk, int level,
504 int tcp_getsockopt(struct sock *sk, int level, int optname,
507 int do_tcp_setsockopt(struct sock *sk, int level, int optname,
509 int tcp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval,
511 void tcp_reset_keepalive_timer(struct sock *sk, unsigned long timeout);
512 void tcp_set_keepalive(struct sock *sk, int val);
514 int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
516 int tcp_set_rcvlowat(struct sock *sk, int val);
517 void tcp_set_rcvbuf(struct sock *sk, int val);
518 int tcp_set_window_clamp(struct sock *sk, int val);
528 void tcp_recv_timestamp(struct msghdr *msg, const struct sock *sk,
530 void tcp_data_ready(struct sock *sk);
532 int tcp_mmap(struct file *file, struct socket *sock,
542 u16 tcp_v4_get_syncookie(struct sock *sk, struct iphdr *iph,
544 u16 tcp_v6_get_syncookie(struct sock *sk, struct ipv6hdr *iph,
549 struct sock *sk, struct tcphdr *th);
554 void tcp_v4_mtu_reduced(struct sock *sk);
555 void tcp_req_err(struct sock *sk, u32 seq, bool abort);
556 void tcp_ld_RTO_revert(struct sock *sk, u32 seq);
557 int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
558 struct sock *tcp_create_openreq_child(const struct sock *sk,
561 void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst);
562 struct sock *tcp_v4_syn_recv_sock(const struct sock *sk, struct sk_buff *skb,
567 void (*opt_child_init)(struct sock *newsk,
568 const struct sock *sk));
569 int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb);
570 int tcp_v4_connect(struct sock *sk, struct sockaddr_unsized *uaddr, int addr_len);
571 int tcp_connect(struct sock *sk);
578 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
583 int tcp_disconnect(struct sock *sk, int flags);
585 void tcp_finish_connect(struct sock *sk, struct sk_buff *skb);
586 int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size);
587 void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb);
590 struct sock *tcp_get_cookie_sock(struct sock *sk, struct sk_buff *skb,
594 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb);
596 struct sock *sk, struct sk_buff *skb,
633 static inline void tcp_synq_overflow(const struct sock *sk) in tcp_synq_overflow()
657 static inline bool tcp_synq_no_recent_overflow(const struct sock *sk) in tcp_synq_no_recent_overflow()
723 struct request_sock *cookie_bpf_check(struct sock *sk, struct sk_buff *skb);
730 static inline struct request_sock *cookie_bpf_check(struct net *net, struct sock *sk, in cookie_bpf_check()
739 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
747 void tcp_skb_entail(struct sock *sk, struct sk_buff *skb);
749 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss,
751 int __tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs);
752 int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb, int segs);
753 void tcp_retransmit_timer(struct sock *sk);
754 void tcp_xmit_retransmit_queue(struct sock *);
755 void tcp_simple_retransmit(struct sock *);
756 void tcp_enter_recovery(struct sock *sk, bool ece_ack);
757 int tcp_trim_head(struct sock *, struct sk_buff *, u32);
762 int tcp_fragment(struct sock *sk, enum tcp_queue tcp_queue,
766 void tcp_send_probe0(struct sock *);
767 int tcp_write_wakeup(struct sock *, int mib);
768 void tcp_send_fin(struct sock *sk);
769 void tcp_send_active_reset(struct sock *sk, gfp_t priority,
771 int tcp_send_synack(struct sock *);
772 void tcp_push_one(struct sock *, unsigned int mss_now);
773 void __tcp_send_ack(struct sock *sk, u32 rcv_nxt, u16 flags);
774 void tcp_send_ack(struct sock *sk);
775 void tcp_send_delayed_ack(struct sock *sk);
776 void tcp_send_loss_probe(struct sock *sk);
777 bool tcp_schedule_loss_probe(struct sock *sk, bool advancing_rto);
782 void tcp_rearm_rto(struct sock *sk);
783 void tcp_synack_rtt_meas(struct sock *sk, struct request_sock *req);
784 void tcp_done_with_error(struct sock *sk, int err);
785 void tcp_reset(struct sock *sk, struct sk_buff *skb);
786 void tcp_fin(struct sock *sk);
787 void __tcp_check_space(struct sock *sk);
788 static inline void tcp_check_space(struct sock *sk) in tcp_check_space()
796 void tcp_sack_compress_send_ack(struct sock *sk);
804 static inline void tcp_add_receive_queue(struct sock *sk, struct sk_buff *skb) in tcp_add_receive_queue()
812 void tcp_init_xmit_timers(struct sock *);
813 static inline void tcp_clear_xmit_timers(struct sock *sk) in tcp_clear_xmit_timers()
824 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu);
825 unsigned int tcp_current_mss(struct sock *sk);
826 u32 tcp_clamp_probe0_to_user_timeout(const struct sock *sk, u32 when);
852 void tcp_get_info(struct sock *, struct tcp_info *);
853 void tcp_rate_check_app_limited(struct sock *sk);
856 int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
858 int tcp_read_sock_noack(struct sock *sk, read_descriptor_t *desc,
861 int tcp_read_skb(struct sock *sk, skb_read_actor_t recv_actor);
862 struct sk_buff *tcp_recv_skb(struct sock *sk, u32 seq, u32 *off);
863 void tcp_read_done(struct sock *sk, size_t len);
865 void tcp_initialize_rcv_mss(struct sock *sk);
867 int tcp_mtu_to_mss(struct sock *sk, int pmtu);
868 int tcp_mss_to_mtu(struct sock *sk, int mss);
869 void tcp_mtup_init(struct sock *sk);
871 static inline unsigned int tcp_rto_max(const struct sock *sk) in tcp_rto_max()
876 static inline void tcp_bound_rto(struct sock *sk) in tcp_bound_rto()
894 u32 tcp_delack_max(const struct sock *sk);
897 static inline u32 tcp_rto_min(const struct sock *sk) in tcp_rto_min()
907 static inline u32 tcp_rto_min_us(const struct sock *sk) in tcp_rto_min_us()
962 u32 __tcp_select_window(struct sock *sk);
964 void tcp_send_window_probe(struct sock *sk);
1331 void (*cong_avoid)(struct sock *sk, u32 ack, u32 acked);
1335 void (*cong_control)(struct sock *sk, u32 ack, int flag, const struct rate_sample *rs);
1338 u32 (*ssthresh)(struct sock *sk);
1341 void (*set_state)(struct sock *sk, u8 new_state);
1344 void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
1347 void (*cwnd_event_tx_start)(struct sock *sk);
1350 void (*in_ack_event)(struct sock *sk, u32 flags);
1353 void (*pkts_acked)(struct sock *sk, const struct ack_sample *sample);
1356 u32 (*min_tso_segs)(struct sock *sk);
1359 u32 (*undo_cwnd)(struct sock *sk);
1361 u32 (*sndbuf_expand)(struct sock *sk);
1365 size_t (*get_info)(struct sock *sk, u32 ext, int *attr,
1375 void (*init)(struct sock *sk);
1377 void (*release)(struct sock *sk);
1386 void tcp_assign_congestion_control(struct sock *sk);
1387 void tcp_init_congestion_control(struct sock *sk);
1388 void tcp_cleanup_congestion_control(struct sock *sk);
1394 int tcp_set_congestion_control(struct sock *sk, const char *name, bool load,
1399 u32 tcp_reno_ssthresh(struct sock *sk);
1400 u32 tcp_reno_undo_cwnd(struct sock *sk);
1401 void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked);
1416 static inline bool tcp_ca_needs_ecn(const struct sock *sk) in tcp_ca_needs_ecn()
1423 static inline bool tcp_ca_needs_accecn(const struct sock *sk) in tcp_ca_needs_accecn()
1430 static inline bool tcp_ca_ect_1_negotiation(const struct sock *sk) in tcp_ca_ect_1_negotiation()
1437 static inline bool tcp_ca_no_fallback_rfc3168(const struct sock *sk) in tcp_ca_no_fallback_rfc3168()
1444 static inline void tcp_ca_event(struct sock *sk, const enum tcp_ca_event event) in tcp_ca_event()
1458 void tcp_set_ca_state(struct sock *sk, const u8 ca_state);
1530 static inline bool tcp_in_cwnd_reduction(const struct sock *sk) in tcp_in_cwnd_reduction()
1540 static inline __u32 tcp_current_ssthresh(const struct sock *sk) in tcp_current_ssthresh()
1555 void tcp_enter_cwr(struct sock *sk);
1585 static inline bool tcp_is_cwnd_limited(const struct sock *sk) in tcp_is_cwnd_limited()
1605 static inline bool tcp_needs_internal_pacing(const struct sock *sk) in tcp_needs_internal_pacing()
1613 static inline unsigned long tcp_pacing_delay(const struct sock *sk) in tcp_pacing_delay()
1620 static inline void tcp_reset_xmit_timer(struct sock *sk, in tcp_reset_xmit_timer()
1637 static inline unsigned long tcp_probe0_base(const struct sock *sk) in tcp_probe0_base()
1643 static inline unsigned long tcp_probe0_when(const struct sock *sk, in tcp_probe0_when()
1653 static inline void tcp_check_probe_timer(struct sock *sk) in tcp_check_probe_timer()
1685 enum skb_drop_reason tcp_add_backlog(struct sock *sk, struct sk_buff *skb);
1688 tcp_filter(struct sock *sk, struct sk_buff *skb) in tcp_filter()
1695 void tcp_set_state(struct sock *sk, int state);
1696 void tcp_done(struct sock *sk);
1697 int tcp_abort(struct sock *sk, int err);
1705 void tcp_cwnd_restart(struct sock *sk, s32 delta);
1707 static inline void tcp_slow_start_after_idle_check(struct sock *sk) in tcp_slow_start_after_idle_check()
1722 void tcp_select_initial_window(const struct sock *sk, int __space,
1734 static inline int tcp_win_from_space(const struct sock *sk, int space) in tcp_win_from_space()
1748 static inline int tcp_space_from_win(const struct sock *sk, int win) in tcp_space_from_win()
1758 static inline void tcp_scaling_ratio_init(struct sock *sk) in tcp_scaling_ratio_init()
1764 static inline int tcp_space(const struct sock *sk) in tcp_space()
1771 static inline int tcp_full_space(const struct sock *sk) in tcp_full_space()
1776 static inline void __tcp_adjust_rcv_ssthresh(struct sock *sk, u32 new_ssthresh) in __tcp_adjust_rcv_ssthresh()
1787 static inline void tcp_adjust_rcv_ssthresh(struct sock *sk) in tcp_adjust_rcv_ssthresh()
1792 void tcp_cleanup_rbuf(struct sock *sk, int copied);
1793 void __tcp_cleanup_rbuf(struct sock *sk, int copied);
1801 static inline bool tcp_rmem_pressure(const struct sock *sk) in tcp_rmem_pressure()
1814 static inline bool tcp_epollin_ready(const struct sock *sk, int target) in tcp_epollin_ready()
1827 const struct sock *sk_listener,
1830 void tcp_enter_memory_pressure(struct sock *sk);
1831 void tcp_leave_memory_pressure(struct sock *sk);
1835 struct net *net = sock_net((struct sock *)tp); in keepalive_intvl_when()
1848 struct net *net = sock_net((struct sock *)tp); in keepalive_time_when()
1859 struct net *net = sock_net((struct sock *)tp); in keepalive_probes()
1878 static inline int tcp_fin_time(const struct sock *sk) in tcp_fin_time()
1937 if (sk_is_mptcp((struct sock *)tp)) in __tcp_fast_path_on()
1955 static inline void tcp_fast_path_check(struct sock *sk) in tcp_fast_path_check()
1999 /* - sock block */
2056 const struct sock *sk, const struct sk_buff *skb);
2057 int tcp_md5_do_add(struct sock *sk, const union tcp_md5_addr *addr,
2060 int tcp_md5_key_copy(struct sock *sk, const union tcp_md5_addr *addr,
2064 int tcp_md5_do_del(struct sock *sk, const union tcp_md5_addr *addr,
2066 void tcp_clear_md5_list(struct sock *sk);
2067 struct tcp_md5sig_key *tcp_v4_md5_lookup(const struct sock *sk,
2068 const struct sock *addr_sk);
2071 struct tcp_md5sig_key *__tcp_md5_do_lookup(const struct sock *sk, int l3index,
2075 tcp_md5_do_lookup(const struct sock *sk, int l3index, in tcp_md5_do_lookup()
2084 tcp_md5_do_lookup_any_l3index(const struct sock *sk, in tcp_md5_do_lookup_any_l3index()
2093 void tcp_md5_destruct_sock(struct sock *sk);
2096 tcp_md5_do_lookup(const struct sock *sk, int l3index, in tcp_md5_do_lookup()
2103 tcp_md5_do_lookup_any_l3index(const struct sock *sk, in tcp_md5_do_lookup_any_l3index()
2110 static inline void tcp_md5_destruct_sock(struct sock *sk) in tcp_md5_destruct_sock()
2121 void tcp_fastopen_cache_get(struct sock *sk, u16 *mss,
2123 void tcp_fastopen_cache_set(struct sock *sk, u16 mss,
2135 void tcp_fastopen_destroy_cipher(struct sock *sk);
2137 int tcp_fastopen_reset_cipher(struct net *net, struct sock *sk,
2141 void tcp_fastopen_add_skb(struct sock *sk, struct sk_buff *skb);
2142 struct sock *tcp_try_fastopen(struct sock *sk, struct sk_buff *skb,
2147 bool tcp_fastopen_cookie_check(struct sock *sk, u16 *mss,
2149 bool tcp_fastopen_defer_connect(struct sock *sk, int *err);
2162 void tcp_fastopen_active_disable(struct sock *sk);
2163 bool tcp_fastopen_active_should_disable(struct sock *sk);
2164 void tcp_fastopen_active_disable_ofo_check(struct sock *sk);
2165 void tcp_fastopen_active_detect_blackhole(struct sock *sk, bool expired);
2169 struct tcp_fastopen_context *tcp_fastopen_get_ctx(const struct sock *sk) in tcp_fastopen_get_ctx()
2222 static inline void tcp_chrono_start(struct sock *sk, const enum tcp_chrono type) in tcp_chrono_start()
2235 void tcp_chrono_stop(struct sock *sk, const enum tcp_chrono type);
2254 void tcp_write_queue_purge(struct sock *sk);
2256 static inline struct sk_buff *tcp_rtx_queue_head(const struct sock *sk) in tcp_rtx_queue_head()
2261 static inline struct sk_buff *tcp_rtx_queue_tail(const struct sock *sk) in tcp_rtx_queue_tail()
2266 static inline struct sk_buff *tcp_write_queue_tail(const struct sock *sk) in tcp_write_queue_tail()
2274 static inline struct sk_buff *tcp_send_head(const struct sock *sk) in tcp_send_head()
2279 static inline bool tcp_skb_is_last(const struct sock *sk, in tcp_skb_is_last()
2292 static inline bool tcp_write_queue_empty(const struct sock *sk) in tcp_write_queue_empty()
2299 static inline bool tcp_rtx_queue_empty(const struct sock *sk) in tcp_rtx_queue_empty()
2304 static inline bool tcp_rtx_and_write_queues_empty(const struct sock *sk) in tcp_rtx_and_write_queues_empty()
2309 static inline void tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) in tcp_add_write_queue_tail()
2321 struct sock *sk) in tcp_insert_write_queue_before()
2326 static inline void tcp_unlink_write_queue(struct sk_buff *skb, struct sock *sk) in tcp_unlink_write_queue()
2334 static inline void tcp_rtx_queue_unlink(struct sk_buff *skb, struct sock *sk) in tcp_rtx_queue_unlink()
2340 static inline void tcp_rtx_queue_unlink_and_free(struct sk_buff *skb, struct sock *sk) in tcp_rtx_queue_unlink_and_free()
2347 static inline void tcp_write_collapse_fence(struct sock *sk) in tcp_write_collapse_fence()
2355 static inline void tcp_push_pending_frames(struct sock *sk) in tcp_push_pending_frames()
2379 static inline void tcp_advance_highest_sack(struct sock *sk, struct sk_buff *skb) in tcp_advance_highest_sack()
2384 static inline struct sk_buff *tcp_highest_sack(struct sock *sk) in tcp_highest_sack()
2389 static inline void tcp_highest_sack_reset(struct sock *sk) in tcp_highest_sack_reset()
2395 static inline void tcp_highest_sack_replace(struct sock *sk, in tcp_highest_sack_replace()
2404 static inline bool inet_sk_transparent(const struct sock *sk) in inet_sk_transparent()
2440 struct sock *syn_wait_sk;
2448 void tcp_v4_destroy_sock(struct sock *sk);
2475 struct net *net = sock_net((struct sock *)tp); in tcp_notsent_lowat()
2483 bool tcp_stream_memory_free(const struct sock *sk, int wake);
2490 int tcp_rtx_synack(const struct sock *sk, struct request_sock *req);
2493 struct sock *sk, struct sk_buff *skb);
2498 struct tcp_md5sig_key *(*md5_lookup) (const struct sock *sk,
2499 const struct sock *addr_sk);
2502 const struct sock *sk,
2504 int (*md5_parse)(struct sock *sk,
2510 int (*ao_parse)(struct sock *sk, int optname, sockptr_t optval, int optlen);
2511 struct tcp_ao_key *(*ao_lookup)(const struct sock *sk,
2512 struct sock *addr_sk,
2515 const struct sock *sk,
2518 const struct sock *sk, const struct sk_buff *skb,
2526 struct tcp_md5sig_key *(*req_md5_lookup)(const struct sock *sk,
2527 const struct sock *addr_sk);
2530 const struct sock *sk,
2534 struct tcp_ao_key *(*ao_lookup)(const struct sock *sk,
2546 struct dst_entry *(*route_req)(const struct sock *sk,
2554 int (*send_synack)(const struct sock *sk, struct dst_entry *dst,
2568 const struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
2577 const struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
2601 static inline void tcp_get_current_key(const struct sock *sk, in tcp_get_current_key()
2654 void tcp_mark_skb_lost(struct sock *sk, struct sk_buff *skb);
2655 void tcp_newreno_mark_lost(struct sock *sk, bool snd_una_advanced);
2658 extern bool tcp_rack_mark_lost(struct sock *sk);
2659 extern void tcp_rack_reo_timeout(struct sock *sk);
2678 static inline void tcp_plb_init(const struct sock *sk, in tcp_plb_init()
2684 void tcp_plb_update_state(const struct sock *sk, struct tcp_plb_state *plb,
2686 void tcp_plb_check_rehash(struct sock *sk, struct tcp_plb_state *plb);
2687 void tcp_plb_update_state_upon_rto(struct sock *sk, struct tcp_plb_state *plb);
2689 static inline void tcp_warn_once(const struct sock *sk, bool cond, const char *str) in tcp_warn_once()
2704 static inline s64 tcp_rto_delta_us(const struct sock *sk) in tcp_rto_delta_us()
2756 static inline int tcp_inq(struct sock *sk) in tcp_inq()
2780 int tcp_peek_len(struct socket *sock);
2798 * We forced "struct sock" to be const qualified to make sure
2801 * make sock writable again.
2803 static inline void tcp_listendrop(const struct sock *sk) in tcp_listendrop()
2805 sk_drops_inc((struct sock *)sk); in tcp_listendrop()
2823 int (*init)(struct sock *sk);
2825 void (*update)(struct sock *sk, struct proto *p,
2826 void (*write_space)(struct sock *sk));
2828 void (*release)(struct sock *sk);
2830 int (*get_info)(struct sock *sk, struct sk_buff *skb, bool net_admin);
2831 size_t (*get_info_size)(const struct sock *sk, bool net_admin);
2833 void (*clone)(const struct request_sock *req, struct sock *newsk,
2841 int tcp_set_ulp(struct sock *sk, const char *name);
2843 void tcp_cleanup_ulp(struct sock *sk);
2844 void tcp_update_ulp(struct sock *sk, struct proto *p,
2845 void (*write_space)(struct sock *sk));
2856 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
2857 void tcp_bpf_clone(const struct sock *sk, struct sock *newsk);
2866 void tcp_eat_skb(struct sock *sk, struct sk_buff *skb);
2868 static inline void tcp_eat_skb(struct sock *sk, struct sk_buff *skb) in tcp_eat_skb()
2873 int tcp_bpf_sendmsg_redir(struct sock *sk, bool ingress,
2878 static inline void tcp_bpf_clone(const struct sock *sk, struct sock *newsk) in tcp_bpf_clone()
2905 static inline int tcp_call_bpf(struct sock *sk, int op, u32 nargs, u32 *args) in tcp_call_bpf()
2930 static inline int tcp_call_bpf_2arg(struct sock *sk, int op, u32 arg1, u32 arg2) in tcp_call_bpf_2arg()
2937 static inline int tcp_call_bpf_3arg(struct sock *sk, int op, u32 arg1, u32 arg2, in tcp_call_bpf_3arg()
2946 static inline int tcp_call_bpf(struct sock *sk, int op, u32 nargs, u32 *args) in tcp_call_bpf()
2951 static inline int tcp_call_bpf_2arg(struct sock *sk, int op, u32 arg1, u32 arg2) in tcp_call_bpf_2arg()
2956 static inline int tcp_call_bpf_3arg(struct sock *sk, int op, u32 arg1, u32 arg2, in tcp_call_bpf_3arg()
2964 static inline u32 tcp_timeout_init(struct sock *sk) in tcp_timeout_init()
2975 static inline u32 tcp_rwnd_init_bpf(struct sock *sk) in tcp_rwnd_init_bpf()
2986 static inline bool tcp_bpf_ca_needs_ecn(struct sock *sk) in tcp_bpf_ca_needs_ecn()
2991 static inline void tcp_bpf_rtt(struct sock *sk, long mrtt, u32 srtt) in tcp_bpf_rtt()
3003 void (*cad)(struct sock *sk, u32 ack_seq));
3019 static inline u64 tcp_transmit_time(const struct sock *sk) in tcp_transmit_time()
3053 static inline bool tcp_ao_required(struct sock *sk, const void *saddr, in tcp_ao_required()
3080 enum skb_drop_reason tcp_inbound_hash(struct sock *sk,
3085 static inline int tcp_recv_should_stop(struct sock *sk) in tcp_recv_should_stop()