Classes | Defines | Functions
netif.h File Reference
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for netif.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  netif
 Generic ethercat interface towards lower level drivers. More...
struct  netif_counters
struct  outstanding_pkt
struct  pkt_buf

Defines

#define BUF_LIST_SIZE   16
#define ETHERCAT_DEVICE_NAME_MAX_LENGTH   256
#define MAC_ADDRESS_SIZE   6
#define MAX_UNCLAIMED_PACKETS   (BUF_LIST_SIZE-1)
#define PKT_LIST_SIZE   128

Functions

int framebuild (struct EtherCAT_Frame *frame, const unsigned char *buffer)
int framedump (const struct EtherCAT_Frame *frame, unsigned char *buffer, size_t bufferlength)
void if_attach (struct netif *netif)

Define Documentation

#define BUF_LIST_SIZE   16

Definition at line 56 of file netif.h.

Definition at line 44 of file netif.h.

#define MAC_ADDRESS_SIZE   6

Definition at line 46 of file netif.h.

Definition at line 59 of file netif.h.

#define PKT_LIST_SIZE   128

Definition at line 53 of file netif.h.


Function Documentation

int framebuild ( struct EtherCAT_Frame frame,
const unsigned char *  buffer 
)
int framedump ( const struct EtherCAT_Frame frame,
unsigned char *  buffer,
size_t  bufferlength 
)
void if_attach ( struct netif netif)


ros_ethercat_eml
Author(s): Tom Panis, Klaas Gadeyne, Bob Koninckx, Austin Hendrix, Manos Nikolaidis
autogenerated on Thu Jul 4 2019 20:01:50