Searched refs:subflow_req (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/net/mptcp/ |
D | syncookies.c | 60 const struct mptcp_subflow_request_sock *subflow_req) in mptcp_join_store_state() argument 62 entry->token = subflow_req->token; in mptcp_join_store_state() 63 entry->remote_nonce = subflow_req->remote_nonce; in mptcp_join_store_state() 64 entry->local_nonce = subflow_req->local_nonce; in mptcp_join_store_state() 65 entry->backup = subflow_req->backup; in mptcp_join_store_state() 66 entry->join_id = subflow_req->remote_id; in mptcp_join_store_state() 67 entry->local_id = subflow_req->local_id; in mptcp_join_store_state() 71 void subflow_init_req_cookie_join_save(const struct mptcp_subflow_request_sock *subflow_req, in subflow_init_req_cookie_join_save() argument 74 struct net *net = read_pnet(&subflow_req->sk.req.ireq_net); in subflow_init_req_cookie_join_save() 81 mptcp_join_store_state(&join_entries[i], subflow_req); in subflow_init_req_cookie_join_save() [all …]
|
D | subflow.c | 41 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in subflow_req_destructor() local 43 pr_debug("subflow_req=%p", subflow_req); in subflow_req_destructor() 45 if (subflow_req->msk) in subflow_req_destructor() 46 sock_put((struct sock *)subflow_req->msk); in subflow_req_destructor() 71 static void subflow_req_create_thmac(struct mptcp_subflow_request_sock *subflow_req) in subflow_req_create_thmac() argument 73 struct mptcp_sock *msk = subflow_req->msk; in subflow_req_create_thmac() 76 get_random_bytes(&subflow_req->local_nonce, sizeof(u32)); in subflow_req_create_thmac() 79 subflow_req->local_nonce, in subflow_req_create_thmac() 80 subflow_req->remote_nonce, hmac); in subflow_req_create_thmac() 82 subflow_req->thmac = get_unaligned_be64(hmac); in subflow_req_create_thmac() [all …]
|
D | token.c | 110 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in mptcp_token_new_request() local 114 mptcp_crypto_key_sha(subflow_req->local_key, in mptcp_token_new_request() 115 &subflow_req->token, in mptcp_token_new_request() 116 &subflow_req->idsn); in mptcp_token_new_request() 118 req, subflow_req->local_key, subflow_req->token, in mptcp_token_new_request() 119 subflow_req->idsn); in mptcp_token_new_request() 121 token = subflow_req->token; in mptcp_token_new_request() 129 hlist_nulls_add_head_rcu(&subflow_req->token_node, &bucket->req_chain); in mptcp_token_new_request() 352 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in mptcp_token_destroy_request() local 356 if (hlist_nulls_unhashed(&subflow_req->token_node)) in mptcp_token_destroy_request() [all …]
|
D | options.c | 898 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in mptcp_synack_options() local 900 if (subflow_req->mp_capable) { in mptcp_synack_options() 902 opts->sndr_key = subflow_req->local_key; in mptcp_synack_options() 903 opts->csum_reqd = subflow_req->csum_reqd; in mptcp_synack_options() 904 opts->allow_join_id0 = subflow_req->allow_join_id0; in mptcp_synack_options() 907 subflow_req, subflow_req->local_key); in mptcp_synack_options() 909 } else if (subflow_req->mp_join) { in mptcp_synack_options() 911 opts->backup = subflow_req->backup; in mptcp_synack_options() 912 opts->join_id = subflow_req->local_id; in mptcp_synack_options() 913 opts->thmac = subflow_req->thmac; in mptcp_synack_options() [all …]
|
D | protocol.h | 1066 void subflow_init_req_cookie_join_save(const struct mptcp_subflow_request_sock *subflow_req, 1068 bool mptcp_token_join_cookie_init_state(struct mptcp_subflow_request_sock *subflow_req, 1073 subflow_init_req_cookie_join_save(const struct mptcp_subflow_request_sock *subflow_req, in subflow_init_req_cookie_join_save() argument 1076 mptcp_token_join_cookie_init_state(struct mptcp_subflow_request_sock *subflow_req, in mptcp_token_join_cookie_init_state() argument
|
D | protocol.c | 3168 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in mptcp_sk_clone_init() local 3183 msk->local_key = subflow_req->local_key; in mptcp_sk_clone_init() 3184 msk->token = subflow_req->token; in mptcp_sk_clone_init() 3190 msk->write_seq = subflow_req->idsn + 1; in mptcp_sk_clone_init() 3216 mptcp_token_accept(subflow_req, msk); in mptcp_sk_clone_init()
|