Xenomai
3.1
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
+
Files
File List
+
Globals
+
All
a
b
c
f
g
i
n
p
r
s
t
u
x
+
Functions
a
b
c
g
r
s
u
Typedefs
Enumerations
Enumerator
+
Macros
a
b
c
f
i
p
r
s
t
u
x
Examples
net.h
1
/*
2
* RTnet - real-time networking subsystem
3
* Copyright (C) 2005-2011 Jan Kiszka <jan.kiszka@web.de>
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
*/
19
20
#ifndef _COBALT_RTDM_NET_H
21
#define _COBALT_RTDM_NET_H
22
23
#include <rtdm/rtdm.h>
24
#include <rtdm/uapi/net.h>
25
#include <
rtdm/driver.h
>
26
27
struct
rtnet_callback {
28
void (*func)(
struct
rtdm_fd *,
void
*);
29
void
*arg;
30
};
31
32
#define RTNET_RTIOC_CALLBACK _IOW(RTIOC_TYPE_NETWORK, 0x12, \
33
struct rtnet_callback)
34
35
/* utility functions */
36
37
/* provided by rt_ipv4 */
38
unsigned
long
rt_inet_aton(
const
char
*ip);
39
40
/* provided by rt_packet */
41
int
rt_eth_aton(
unsigned
char
*addr_buf,
const
char
*mac);
42
43
#define RTNET_RTDM_VER 914
44
45
#endif
/* _COBALT_RTDM_NET_H */
driver.h
Real-Time Driver Model for Xenomai, driver API header.
include
cobalt
kernel
rtdm
net.h
Generated by
1.8.14