Main Page
Related Pages
Modules
Classes
Files
File List
File Members
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_ntohs
uint16 oshw_ntohs(uint16 network)
Definition:
intime/oshw.c:27
uint16
uint16_t uint16
Definition:
osal.h:29
oshw_free_adapters
void oshw_free_adapters(ec_adaptert *adapter)
Definition:
intime/oshw.c:45
ec_adapter
Definition:
ethercatmain.h:44
oshw_find_adapters
ec_adaptert * oshw_find_adapters(void)
Definition:
intime/oshw.c:36
oshw_htons
uint16 oshw_htons(uint16 host)
Definition:
intime/oshw.c:15
oshw.h
Headerfile for oshw.c.
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Sat Jun 27 2020 03:48:21