Functions
win32/oshw.c File Reference
#include "oshw.h"
Include dependency graph for win32/oshw.c:

Go to the source code of this file.

Functions

ec_adaptertoshw_find_adapters (void)
 
void oshw_free_adapters (ec_adaptert *adapter)
 
uint16 oshw_htons (uint16 host)
 
uint16 oshw_ntohs (uint16 network)
 

Function Documentation

ec_adaptert* oshw_find_adapters ( void  )

Create list over available network adapters.

Returns
First element in linked list of adapters

Definition at line 50 of file win32/oshw.c.

void oshw_free_adapters ( ec_adaptert adapter)

Free memory allocated memory used by adapter collection.

Parameters
[in]adapter= First element in linked list of adapters EC_NOFRAME.

Definition at line 130 of file win32/oshw.c.

uint16 oshw_htons ( uint16  host)

Host to Network byte order (i.e. to big endian).

Note that Ethercat uses little endian byte order, except for the Ethernet header which is big endian as usual.

Definition at line 29 of file win32/oshw.c.

uint16 oshw_ntohs ( uint16  network)

Network (i.e. big endian) to Host byte order.

Note that Ethercat uses little endian byte order, except for the Ethernet header which is big endian as usual.

Definition at line 41 of file win32/oshw.c.



youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:26