Searched refs:subflow_req (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/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 | 40 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in subflow_req_destructor() local 42 pr_debug("subflow_req=%p", subflow_req); in subflow_req_destructor() 44 if (subflow_req->msk) in subflow_req_destructor() 45 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() 348 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in mptcp_token_destroy_request() local 352 if (hlist_nulls_unhashed(&subflow_req->token_node)) in mptcp_token_destroy_request() [all …]
|
D | options.c | 893 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in mptcp_synack_options() local 895 if (subflow_req->mp_capable) { in mptcp_synack_options() 897 opts->sndr_key = subflow_req->local_key; in mptcp_synack_options() 898 opts->csum_reqd = subflow_req->csum_reqd; in mptcp_synack_options() 899 opts->allow_join_id0 = subflow_req->allow_join_id0; in mptcp_synack_options() 902 subflow_req, subflow_req->local_key); in mptcp_synack_options() 904 } else if (subflow_req->mp_join) { in mptcp_synack_options() 906 opts->backup = subflow_req->backup; in mptcp_synack_options() 907 opts->join_id = subflow_req->local_id; in mptcp_synack_options() 908 opts->thmac = subflow_req->thmac; in mptcp_synack_options() [all …]
|
D | protocol.h | 991 void subflow_init_req_cookie_join_save(const struct mptcp_subflow_request_sock *subflow_req, 993 bool mptcp_token_join_cookie_init_state(struct mptcp_subflow_request_sock *subflow_req, 998 subflow_init_req_cookie_join_save(const struct mptcp_subflow_request_sock *subflow_req, in subflow_init_req_cookie_join_save() argument 1001 mptcp_token_join_cookie_init_state(struct mptcp_subflow_request_sock *subflow_req, in mptcp_token_join_cookie_init_state() argument
|
D | protocol.c | 2962 struct mptcp_subflow_request_sock *subflow_req = mptcp_subflow_rsk(req); in mptcp_sk_clone() local 2978 msk->local_key = subflow_req->local_key; in mptcp_sk_clone() 2979 msk->token = subflow_req->token; in mptcp_sk_clone() 2985 msk->write_seq = subflow_req->idsn + 1; in mptcp_sk_clone()
|