Main Page
Related Pages
Modules
Classes
Class List
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
Variables
a
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Typedefs
a
b
e
f
i
l
n
o
p
r
u
w
Enumerations
Enumerator
e
f
p
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
SOEM
oshw
intime
intime/oshw.c
Go to the documentation of this file.
1
/*
2
* Licensed under the GNU General Public License version 2 with exceptions. See
3
* LICENSE file in the project root for full license information
4
*/
5
6
#include <sys/endian.h>
7
#include "
oshw.h
"
8
15
uint16
oshw_htons
(
uint16
host)
16
{
17
uint16
network = htons (host);
18
return
network;
19
}
20
27
uint16
oshw_ntohs
(
uint16
network)
28
{
29
uint16
host = ntohs (network);
30
return
host;
31
}
32
33
/* Create list over available network adapters.
34
* @return First element in linked list of adapters
35
*/
36
ec_adaptert
*
oshw_find_adapters
(
void
)
37
{
38
return
NULL;
39
}
40
45
void
oshw_free_adapters
(
ec_adaptert
* adapter)
46
{
47
48
}
oshw_find_adapters
ec_adaptert * oshw_find_adapters(void)
Definition:
intime/oshw.c:36
ec_adapter
Definition:
ethercatmain.h:44
oshw_htons
uint16 oshw_htons(uint16 host)
Definition:
intime/oshw.c:15
oshw.h
Headerfile for oshw.c.
uint16
uint16_t uint16
Definition:
osal.h:29
oshw_ntohs
uint16 oshw_ntohs(uint16 network)
Definition:
intime/oshw.c:27
oshw_free_adapters
void oshw_free_adapters(ec_adaptert *adapter)
Definition:
intime/oshw.c:45
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:49