Xenomai
3.1
rtnet_iovec.h
1
/* rtnet_iovec.h
2
*
3
* RTnet - real-time networking subsystem
4
* Copyright (C) 1999,2000 Zentropic Computing, LLC
5
* 2002 Ulrich Marx <marx@kammer.uni-hannover.de>
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
*/
21
#ifndef __RTNET_IOVEC_H_
22
#define __RTNET_IOVEC_H_
23
24
#ifdef __KERNEL__
25
26
#include <linux/uio.h>
27
28
struct
user_msghdr;
29
struct
rtdm_fd;
30
31
ssize_t rtnet_write_to_iov(
struct
rtdm_fd *fd,
struct
iovec *iov,
int
iovlen,
32
const
void
*data,
size_t
len);
33
34
ssize_t rtnet_read_from_iov(
struct
rtdm_fd *fd,
struct
iovec *iov,
int
iovlen,
35
void
*data,
size_t
len);
36
#endif
/* __KERNEL__ */
37
38
#endif
/* __RTNET_IOVEC_H_ */
kernel
drivers
net
stack
include
rtnet_iovec.h
Generated by
1.8.14