Extensible Authentication Protocol (EAP) - is a transport mechanism used in 802.1x to authenticate supplicants (hosts/pcs) against a backend server (Radius) via an authenticator (Switch).
The first byte of the EAP header contains the code field, this identifies the EAP packet type. The four different codes are shown