Go to the documentation of this file.
12 #include "intel_i210.h"
15 #if !defined(__gnu_linux__)
16 #include <machine/endian.h>
19 #define __htons(x) htobe16(x)
20 #define __ntohs(x) be16toh(x)
46 return __ntohs(network);
55 if (eth_discover_devices() >= 0) {
56 for (
int i = 0;; ++i) {
57 struct eth_device *dev = eth_get_device(i);
Headerfile for all ethercat headers.
uint16 oshw_htons(uint16 host)
Headerfile for ethercatbase.c.
uint16 oshw_ntohs(uint16 network)
void oshw_free_adapters(ec_adaptert *adapter)
ec_adaptert adapters[DEVS_MAX_NB]
ec_adaptert * oshw_find_adapters(void)
char name[EC_MAXLEN_ADAPTERNAME]
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:49