Lines Matching refs:handshake_req
31 * We need both a handshake_req -> sock mapping, and a sock ->
32 * handshake_req mapping. Both are one-to-one.
36 * find the struct handshake_req outstanding for that socket. The
37 * reverse direction uses a simple pointer field in the handshake_req
44 .key_len = sizeof_field(struct handshake_req, hr_sk),
45 .key_offset = offsetof(struct handshake_req, hr_sk),
46 .head_offset = offsetof(struct handshake_req, hr_rhash),
60 struct handshake_req *handshake_req_hash_lookup(struct sock *sk)
67 static bool handshake_req_hash_add(struct handshake_req *req)
77 static void handshake_req_destroy(struct handshake_req *req)
89 struct handshake_req *req;
107 * Returns an initialized handshake_req or NULL.
109 struct handshake_req *handshake_req_alloc(const struct handshake_proto *proto,
112 struct handshake_req *req;
138 void *handshake_req_private(struct handshake_req *req)
145 struct handshake_req *req)
155 struct handshake_req *req)
167 static bool remove_pending(struct handshake_net *hn, struct handshake_req *req)
181 struct handshake_req *handshake_req_next(struct handshake_net *hn, int class)
183 struct handshake_req *req, *pos;
223 int handshake_req_submit(struct socket *sock, struct handshake_req *req,
286 void handshake_complete(struct handshake_req *req, unsigned int status,
315 struct handshake_req *req;