Prusa MINI Firmware overview
Ethernet

Enumerations

enum  eth_type {
  ETHTYPE_IP = 0x0800U, ETHTYPE_ARP = 0x0806U, ETHTYPE_WOL = 0x0842U, ETHTYPE_RARP = 0x8035U,
  ETHTYPE_VLAN = 0x8100U, ETHTYPE_IPV6 = 0x86DDU, ETHTYPE_PPPOEDISC = 0x8863U, ETHTYPE_PPPOE = 0x8864U,
  ETHTYPE_JUMBO = 0x8870U, ETHTYPE_PROFINET = 0x8892U, ETHTYPE_ETHERCAT = 0x88A4U, ETHTYPE_LLDP = 0x88CCU,
  ETHTYPE_SERCOS = 0x88CDU, ETHTYPE_MRP = 0x88E3U, ETHTYPE_PTP = 0x88F7U, ETHTYPE_QINQ = 0x9100U
}
 

Detailed Description

Enumeration Type Documentation

◆ eth_type

enum eth_type

A list of often ethtypes (although lwIP does not use all of them):

Enumerator
ETHTYPE_IP 

Internet protocol v4

ETHTYPE_ARP 

Address resolution protocol

ETHTYPE_WOL 

Wake on lan

ETHTYPE_RARP 

RARP

ETHTYPE_VLAN 

Virtual local area network

ETHTYPE_IPV6 

Internet protocol v6

ETHTYPE_PPPOEDISC 

PPP Over Ethernet Discovery Stage

ETHTYPE_PPPOE 

PPP Over Ethernet Session Stage

ETHTYPE_JUMBO 

Jumbo Frames

ETHTYPE_PROFINET 

Process field network

ETHTYPE_ETHERCAT 

Ethernet for control automation technology

ETHTYPE_LLDP 

Link layer discovery protocol

ETHTYPE_SERCOS 

Serial real-time communication system

ETHTYPE_MRP 

Media redundancy protocol

ETHTYPE_PTP 

Precision time protocol

ETHTYPE_QINQ 

Q-in-Q, 802.1ad

108  {
109  /** Internet protocol v4 */
110  ETHTYPE_IP = 0x0800U,
111  /** Address resolution protocol */
112  ETHTYPE_ARP = 0x0806U,
113  /** Wake on lan */
114  ETHTYPE_WOL = 0x0842U,
115  /** RARP */
116  ETHTYPE_RARP = 0x8035U,
117  /** Virtual local area network */
118  ETHTYPE_VLAN = 0x8100U,
119  /** Internet protocol v6 */
120  ETHTYPE_IPV6 = 0x86DDU,
121  /** PPP Over Ethernet Discovery Stage */
122  ETHTYPE_PPPOEDISC = 0x8863U,
123  /** PPP Over Ethernet Session Stage */
124  ETHTYPE_PPPOE = 0x8864U,
125  /** Jumbo Frames */
126  ETHTYPE_JUMBO = 0x8870U,
127  /** Process field network */
128  ETHTYPE_PROFINET = 0x8892U,
129  /** Ethernet for control automation technology */
130  ETHTYPE_ETHERCAT = 0x88A4U,
131  /** Link layer discovery protocol */
132  ETHTYPE_LLDP = 0x88CCU,
133  /** Serial real-time communication system */
134  ETHTYPE_SERCOS = 0x88CDU,
135  /** Media redundancy protocol */
136  ETHTYPE_MRP = 0x88E3U,
137  /** Precision time protocol */
138  ETHTYPE_PTP = 0x88F7U,
139  /** Q-in-Q, 802.1ad */
140  ETHTYPE_QINQ = 0x9100U
141 };
ETHTYPE_MRP
Definition: ethernet.h:136
ETHTYPE_QINQ
Definition: ethernet.h:140
ETHTYPE_PPPOE
Definition: ethernet.h:124
ETHTYPE_PROFINET
Definition: ethernet.h:128
ETHTYPE_WOL
Definition: ethernet.h:114
ETHTYPE_JUMBO
Definition: ethernet.h:126
ETHTYPE_LLDP
Definition: ethernet.h:132
ETHTYPE_PPPOEDISC
Definition: ethernet.h:122
ETHTYPE_IPV6
Definition: ethernet.h:120
ETHTYPE_SERCOS
Definition: ethernet.h:134
ETHTYPE_IP
Definition: ethernet.h:110
ETHTYPE_ETHERCAT
Definition: ethernet.h:130
ETHTYPE_RARP
Definition: ethernet.h:116
ETHTYPE_VLAN
Definition: ethernet.h:118
ETHTYPE_PTP
Definition: ethernet.h:138
ETHTYPE_ARP
Definition: ethernet.h:112