#include <stdint.h>
#include <stdlib.h>
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 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 |
int framebuild | ( | struct EtherCAT_Frame * | frame, |
const unsigned char * | buffer | ||
) |
int framedump | ( | const struct EtherCAT_Frame * | frame, |
unsigned char * | buffer, | ||
size_t | bufferlength | ||
) |