if_alg.h (866c9b94ef968445c52214b3748ecc52a8491bca) if_alg.h (7d2c3f54e6f646887d019faa45f35d6fe9fe82ce)
1/*
2 * if_alg: User-space algorithm interface
3 *
4 * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)

--- 228 unchanged lines hidden (view full) ---

237int af_alg_wait_for_wmem(struct sock *sk, unsigned int flags);
238void af_alg_wmem_wakeup(struct sock *sk);
239int af_alg_wait_for_data(struct sock *sk, unsigned flags);
240void af_alg_data_wakeup(struct sock *sk);
241int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size,
242 unsigned int ivsize);
243ssize_t af_alg_sendpage(struct socket *sock, struct page *page,
244 int offset, size_t size, int flags);
1/*
2 * if_alg: User-space algorithm interface
3 *
4 * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)

--- 228 unchanged lines hidden (view full) ---

237int af_alg_wait_for_wmem(struct sock *sk, unsigned int flags);
238void af_alg_wmem_wakeup(struct sock *sk);
239int af_alg_wait_for_data(struct sock *sk, unsigned flags);
240void af_alg_data_wakeup(struct sock *sk);
241int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size,
242 unsigned int ivsize);
243ssize_t af_alg_sendpage(struct socket *sock, struct page *page,
244 int offset, size_t size, int flags);
245void af_alg_free_resources(struct af_alg_async_req *areq);
245void af_alg_async_cb(struct crypto_async_request *_req, int err);
246unsigned int af_alg_poll(struct file *file, struct socket *sock,
247 poll_table *wait);
248struct af_alg_async_req *af_alg_alloc_areq(struct sock *sk,
249 unsigned int areqlen);
250int af_alg_get_rsgl(struct sock *sk, struct msghdr *msg, int flags,
251 struct af_alg_async_req *areq, size_t maxsize,
252 size_t *outlen);
253
254#endif /* _CRYPTO_IF_ALG_H */
246void af_alg_async_cb(struct crypto_async_request *_req, int err);
247unsigned int af_alg_poll(struct file *file, struct socket *sock,
248 poll_table *wait);
249struct af_alg_async_req *af_alg_alloc_areq(struct sock *sk,
250 unsigned int areqlen);
251int af_alg_get_rsgl(struct sock *sk, struct msghdr *msg, int flags,
252 struct af_alg_async_req *areq, size_t maxsize,
253 size_t *outlen);
254
255#endif /* _CRYPTO_IF_ALG_H */