Loading...
Searching...
No Matches
ETHERNET_types.h File Reference
#include <stdint.h>
#include "master_board_sdk/Link_types.h"
Include dependency graph for ETHERNET_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ETHERNET_data
 
struct  ETHERNET_packet
 

Macros

#define ETH_RECV_SIZE_MIN   16
 
#define ETH_SEND_SIZE_MIN   64
 

Typedefs

typedef struct ETHERNET_packet ETHERNET_packet
 

Functions

struct ETHERNET_data __attribute__ ((__packed__))
 
 ETHERNET_data ()
 

Variables

uint8_t dst_mac [6]
 
uint8_t src_mac [6]
 
uint16_t ethertype
 
uint16_t length
 
uint8_t payload [255]
 
ETHERNET_packet __attribute__
 

Macro Definition Documentation

◆ ETH_RECV_SIZE_MIN

#define ETH_RECV_SIZE_MIN   16

◆ ETH_SEND_SIZE_MIN

#define ETH_SEND_SIZE_MIN   64

Typedef Documentation

◆ ETHERNET_packet

Function Documentation

◆ __attribute__()

struct ETHERNET_data __attribute__ ( (__packed__)  )

◆ ETHERNET_data()

__attribute__::ETHERNET_data ( )

Variable Documentation

◆ __attribute__

ETHERNET_packet __attribute__

◆ dst_mac

uint8_t dst_mac[6]

◆ ethertype

uint16_t ethertype

◆ length

uint16_t length

◆ payload

uint8_t payload[255]

◆ src_mac

uint8_t src_mac[6]