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 
16 {
17  uint16 network = htons (host);
18  return network;
19 }
20 
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  */
37 {
38  return NULL;
39 }
40 
46 {
47 
48 }
uint16 oshw_ntohs(uint16 network)
Definition: intime/oshw.c:27
uint16_t uint16
Definition: osal.h:29
void oshw_free_adapters(ec_adaptert *adapter)
Definition: intime/oshw.c:45
ec_adaptert * oshw_find_adapters(void)
Definition: intime/oshw.c:36
uint16 oshw_htons(uint16 host)
Definition: intime/oshw.c:15
Headerfile for oshw.c.


soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Mon Feb 28 2022 23:46:57