Home
last modified time | relevance | path

Searched refs:newsock (Results 1 – 2 of 2) sorted by relevance

/crypto/
Dalgif_hash.c230 static int hash_accept(struct socket *sock, struct socket *newsock, int flags, in hash_accept() argument
252 err = af_alg_accept(ask->parent, newsock, kern); in hash_accept()
256 sk2 = newsock->sk; in hash_accept()
368 static int hash_accept_nokey(struct socket *sock, struct socket *newsock, in hash_accept_nokey() argument
377 return hash_accept(sock, newsock, flags, kern); in hash_accept_nokey()
Daf_alg.c271 int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern) in af_alg_accept() argument
291 sock_init_data(newsock, sk2); in af_alg_accept()
292 security_sock_graft(sk2, newsock); in af_alg_accept()
311 newsock->ops = type->ops; in af_alg_accept()
312 newsock->state = SS_CONNECTED; in af_alg_accept()
315 newsock->ops = type->ops_nokey; in af_alg_accept()
326 static int alg_accept(struct socket *sock, struct socket *newsock, int flags, in alg_accept() argument
329 return af_alg_accept(sock->sk, newsock, kern); in alg_accept()