Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.h197 struct mptcp_sock { struct
238 static inline struct mptcp_sock *mptcp_sk(const struct sock *sk) in mptcp_sk() argument
240 return (struct mptcp_sock *)sk; in mptcp_sk()
245 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_rtx_tail()
255 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_rtx_head()
274 struct mptcp_sock *msk;
407 void mptcp_rcv_space_init(struct mptcp_sock *msk, const struct sock *ssk);
412 bool mptcp_update_rcv_data_fin(struct mptcp_sock *msk, u64 data_fin_seq, bool use_64bit);
413 void mptcp_destroy_common(struct mptcp_sock *msk);
425 struct mptcp_sock *msk);
[all …]
Dpm.c15 int mptcp_pm_announce_addr(struct mptcp_sock *msk, in mptcp_pm_announce_addr()
27 int mptcp_pm_remove_addr(struct mptcp_sock *msk, u8 local_id) in mptcp_pm_remove_addr()
36 int mptcp_pm_remove_subflow(struct mptcp_sock *msk, u8 local_id) in mptcp_pm_remove_subflow()
48 void mptcp_pm_new_connection(struct mptcp_sock *msk, int server_side) in mptcp_pm_new_connection()
57 bool mptcp_pm_allow_new_subflow(struct mptcp_sock *msk) in mptcp_pm_allow_new_subflow()
83 static bool mptcp_pm_schedule_work(struct mptcp_sock *msk, in mptcp_pm_schedule_work()
97 void mptcp_pm_fully_established(struct mptcp_sock *msk) in mptcp_pm_fully_established()
115 void mptcp_pm_connection_closed(struct mptcp_sock *msk) in mptcp_pm_connection_closed()
120 void mptcp_pm_subflow_established(struct mptcp_sock *msk, in mptcp_pm_subflow_established()
138 void mptcp_pm_subflow_closed(struct mptcp_sock *msk, u8 id) in mptcp_pm_subflow_closed()
[all …]
Dtoken_test.c21 struct mptcp_sock *null_msk = NULL; in mptcp_token_test_req_basic()
52 static struct mptcp_sock *build_msk(struct kunit *test) in build_msk()
54 struct mptcp_sock *msk; in build_msk()
56 msk = kunit_kzalloc(test, sizeof(struct mptcp_sock), GFP_USER); in build_msk()
67 struct mptcp_sock *msk = build_msk(test); in mptcp_token_test_msk_basic()
68 struct mptcp_sock *null_msk = NULL; in mptcp_token_test_msk_basic()
89 struct mptcp_sock *msk = build_msk(test); in mptcp_token_test_accept()
108 struct mptcp_sock *msk = build_msk(test); in mptcp_token_test_destroyed()
109 struct mptcp_sock *null_msk = NULL; in mptcp_token_test_destroyed()
Dtoken.c68 static struct mptcp_sock *
155 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_token_new_connect()
191 struct mptcp_sock *msk) in mptcp_token_accept()
211 struct mptcp_sock *msk; in mptcp_token_exists()
243 struct mptcp_sock *mptcp_token_get_sock(struct net *net, u32 token) in mptcp_token_get_sock()
247 struct mptcp_sock *msk; in mptcp_token_get_sock()
294 struct mptcp_sock *mptcp_token_iter_next(const struct net *net, long *s_slot, in mptcp_token_iter_next()
297 struct mptcp_sock *ret = NULL; in mptcp_token_iter_next()
372 void mptcp_token_destroy(struct mptcp_sock *msk) in mptcp_token_destroy()
375 struct mptcp_sock *pos; in mptcp_token_destroy()
Dprotocol.c29 struct mptcp_sock msk;
48 static struct socket *__mptcp_nmpc_socket(const struct mptcp_sock *msk) in __mptcp_nmpc_socket()
80 static struct sock *__mptcp_tcp_fallback(struct mptcp_sock *msk) in __mptcp_tcp_fallback()
90 static int __mptcp_socket_create(struct mptcp_sock *msk) in __mptcp_socket_create()
141 static bool mptcp_ooo_try_coalesce(struct mptcp_sock *msk, struct sk_buff *to, in mptcp_ooo_try_coalesce()
154 static void mptcp_data_queue_ofo(struct mptcp_sock *msk, struct sk_buff *skb) in mptcp_data_queue_ofo()
264 static bool __mptcp_move_skb(struct mptcp_sock *msk, struct sock *ssk, in __mptcp_move_skb()
330 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_check_data_fin_ack()
365 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_pending_data_fin()
395 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_check_data_fin()
[all …]
Dpm_netlink.c35 struct mptcp_sock *sock;
133 struct mptcp_sock *msk) in select_local_address()
182 static void check_work_pending(struct mptcp_sock *msk) in check_work_pending()
191 lookup_anno_list_by_saddr(struct mptcp_sock *msk, in lookup_anno_list_by_saddr()
207 struct mptcp_sock *msk = entry->sock; in mptcp_pm_add_timer()
244 mptcp_pm_del_add_timer(struct mptcp_sock *msk, in mptcp_pm_del_add_timer()
262 static bool mptcp_pm_alloc_anno_list(struct mptcp_sock *msk, in mptcp_pm_alloc_anno_list()
287 void mptcp_pm_free_anno_list(struct mptcp_sock *msk) in mptcp_pm_free_anno_list()
305 static void mptcp_pm_create_subflow_or_signal_addr(struct mptcp_sock *msk) in mptcp_pm_create_subflow_or_signal_addr()
359 void mptcp_pm_nl_fully_established(struct mptcp_sock *msk) in mptcp_pm_nl_fully_established()
[all …]
Dmptcp_diag.c32 struct mptcp_sock *msk = NULL; in mptcp_diag_dump_one()
77 struct mptcp_sock *msk; in mptcp_diag_dump()
116 struct mptcp_sock *msk = mptcp_sk(sk); in mptcp_diag_get_info()
Doptions.c489 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options_dss()
584 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options_add_addr()
632 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_established_options_rm_addr()
723 static bool check_fully_established(struct mptcp_sock *msk, struct sock *ssk, in check_fully_established()
814 static void update_una(struct mptcp_sock *msk, in update_una()
841 bool mptcp_update_rcv_data_fin(struct mptcp_sock *msk, u64 data_fin_seq, bool use_64bit) in mptcp_update_rcv_data_fin()
858 static bool add_addr_hmac_valid(struct mptcp_sock *msk, in add_addr_hmac_valid()
887 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_incoming_options()
Dsubflow.c56 static bool mptcp_can_accept_new_subflow(const struct mptcp_sock *msk) in mptcp_can_accept_new_subflow()
63 static struct mptcp_sock *subflow_token_join_request(struct request_sock *req, in subflow_token_join_request()
68 struct mptcp_sock *msk; in subflow_token_join_request()
447 struct mptcp_sock *msk; in subflow_hmac_valid()
518 struct mptcp_sock *msk = mptcp_sk(subflow->conn); in mptcp_subflow_fully_established()
624 struct mptcp_sock *owner; in subflow_syn_recv_sock()
725 struct mptcp_sock *msk) in get_mapping_status()
884 struct mptcp_sock *msk; in subflow_check_data_avail()
1008 struct mptcp_sock *msk; in subflow_data_ready()
1100 struct mptcp_sock *msk = mptcp_sk(sk); in __mptcp_subflow_connect()
Dsyncookies.c97 struct mptcp_sock *msk; in mptcp_token_join_cookie_init_state()