libethercat - an embeddable realtime EtherCAT-master library
Communicate with EtherCAT slaves attached to a Network interface.
Loading...
Searching...
No Matches
hw_bpf.h File Reference

BPF device hardware access functions. More...

#include <libethercat/hw.h>

Go to the source code of this file.

Functions

int hw_device_bpf_open (hw_t *phw, const osal_char_t *devname)
 Opens EtherCAT hw device.
 

Detailed Description

BPF device hardware access functions.

Author
Robert Burger rober.nosp@m.t.bu.nosp@m.rger@.nosp@m.dlr..nosp@m.de
Date
24 Nov 2016

Function Documentation

◆ hw_device_bpf_open()

int hw_device_bpf_open ( hw_t *  phw,
const osal_char_t *  devname 
)

Opens EtherCAT hw device.

Parameters
[in]phwPointer to hw handle.
[in]devnameNull-terminated string to EtherCAT hw device name.
Returns
0 or negative error code