revert parts of r27488 to uboot-lantiq
[openwrt.git] / package / ubsec_ssb / src / uio.h
1 #ifndef _OCF_UIO_H_
2 #define _OCF_UIO_H_
3
4 #include <linux/uio.h>
5
6 /*
7 * The linux uio.h doesn't have all we need. To be fully api compatible
8 * with the BSD cryptodev, we need to keep this around. Perhaps this can
9 * be moved back into the linux/uio.h
10 *
11 * Linux port done by David McCullough <david_mccullough@securecomputing.com>
12 * Copyright (C) 2006-2007 David McCullough
13 * Copyright (C) 2004-2005 Intel Corporation.
14 *
15 * LICENSE TERMS
16 *
17 * The free distribution and use of this software in both source and binary
18 * form is allowed (with or without changes) provided that:
19 *
20 * 1. distributions of this source code include the above copyright
21 * notice, this list of conditions and the following disclaimer;
22 *
23 * 2. distributions in binary form include the above copyright
24 * notice, this list of conditions and the following disclaimer
25 * in the documentation and/or other associated materials;
26 *
27 * 3. the copyright holder's name is not used to endorse products
28 * built using this software without specific written permission.
29 *
30 * ALTERNATIVELY, provided that this notice is retained in full, this product
31 * may be distributed under the terms of the GNU General Public License (GPL),
32 * in which case the provisions of the GPL apply INSTEAD OF those given above.
33 *
34 * DISCLAIMER
35 *
36 * This software is provided 'as is' with no explicit or implied warranties
37 * in respect of its properties, including, but not limited to, correctness
38 * and/or fitness for purpose.
39 * ---------------------------------------------------------------------------
40 */
41
42 struct uio {
43 struct iovec *uio_iov;
44 int uio_iovcnt;
45 off_t uio_offset;
46 int uio_resid;
47 #if 0
48 enum uio_seg uio_segflg;
49 enum uio_rw uio_rw;
50 struct thread *uio_td;
51 #endif
52 };
53
54 #endif
This page took 0.043178 seconds and 5 git commands to generate.