Home
last modified time | relevance | path

Searched refs:mptcp_sk (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/net/mptcp/
Dprotocol.c136 mptcp_sk(sk)->rmem_fwd_alloc -= size; in mptcp_rmem_charge()
177 mptcp_sk(sk)->rmem_fwd_alloc -= amount << PAGE_SHIFT; in __mptcp_rmem_reclaim()
183 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_rmem_uncharge()
329 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_rmem_schedule()
403 mptcp_sk(sk)->timer_ival = 0; in mptcp_stop_timer()
421 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_pending_data_fin_ack()
431 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_check_data_fin_ack()
453 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_pending_data_fin()
479 mptcp_sk(sk)->timer_ival = TCP_RTO_MIN << retransmits; in mptcp_set_datafin_timeout()
484 mptcp_sk(sk)->timer_ival = tout > 0 ? tout : TCP_RTO_MIN; in __mptcp_set_timeout()
[all …]
Dtoken.c74 if (mptcp_sk(sk)->token == token) in __token_lookup_msk()
75 return mptcp_sk(sk); in __token_lookup_msk()
154 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_token_new_connect()
218 msk = mptcp_sk(sk); in mptcp_token_exists()
254 msk = mptcp_sk(sk); in mptcp_token_get_sock()
326 ret = mptcp_sk(sk); in mptcp_token_iter_next()
Dsubflow.c364 if (!test_and_set_bit(MPTCP_WORK_CLOSE_SUBFLOW, &mptcp_sk(sk)->flags) && in mptcp_subflow_reset()
365 schedule_work(&mptcp_sk(sk)->work)) in mptcp_subflow_reset()
390 __set_bit(MPTCP_CONNECTED, &mptcp_sk(sk)->cb_flags); in mptcp_set_connected()
418 pr_fallback(mptcp_sk(subflow->conn)); in subflow_finish_connect()
423 WRITE_ONCE(mptcp_sk(parent)->csum_enabled, true); in subflow_finish_connect()
425 WRITE_ONCE(mptcp_sk(parent)->pm.remote_deny_join_id0, true); in subflow_finish_connect()
468 if (subflow_use_different_dport(mptcp_sk(parent), sk)) { in subflow_finish_connect()
476 mptcp_rcv_space_init(mptcp_sk(parent), sk); in subflow_finish_connect()
495 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in subflow_chk_local_id()
669 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_subflow_fully_established()
[all …]
Dprotocol.h327 static inline struct mptcp_sock *mptcp_sk(const struct sock *sk) in mptcp_sk() function
337 return atomic_read(&sk->sk_rmem_alloc) - READ_ONCE(mptcp_sk(sk)->rmem_released); in __mptcp_rmem()
347 const struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_send_head()
354 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_send_next()
364 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_pending_tail()
377 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_rtx_head()
682 READ_ONCE(mptcp_sk(sk)->fully_established); in mptcp_is_fully_established()
726 if (test_and_clear_bit(MPTCP_NOSPACE, &mptcp_sk(sk)->flags)) in mptcp_write_space()
938 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_check_fallback()
958 msk = mptcp_sk(sk); in mptcp_do_fallback()
Dbpf.c18 return mptcp_sk(mptcp_subflow_ctx(sk)->conn); in bpf_mptcp_sock_from_subflow()
Doptions.c444 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options_mp()
529 u64 data_fin_tx_seq = READ_ONCE(mptcp_sk(subflow->conn)->write_seq) - 1; in mptcp_write_data_fin()
558 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options_dss()
652 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options_add_addr()
704 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options_rm_addr()
779 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options_fastclose()
824 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options()
1100 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_incoming_options()
1238 msk = mptcp_sk(subflow->conn); in mptcp_set_rwin()
Dpm.c206 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_pm_add_addr_received()
284 msk = mptcp_sk(sk); in mptcp_pm_mp_prio_received()
301 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_pm_mp_fail_received()
Dmptcp_diag.c203 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_diag_get_info()
Dsockopt.c823 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_setsockopt()
1220 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_getsockopt()
Dpm_netlink.c1005 msk = mptcp_sk(entry->lsk->sk); in mptcp_pm_nl_create_listen_socket()
2109 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_event_addr_announced()