2.2.1 EAP Packet

The following shows an EAP packet (Code, Identifier, and Length), as specified in [RFC3748] section 4.1.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Code

Identifier

Length

Type

Type_Data (variable)

...

Code (1 byte): Indicates whether this packet is a Request or a Response, as specified in [RFC3748] section 4.1.

Identifier (1 byte): Identifier for this packet, as specified in [RFC3748] section 4.1.

Length (2 bytes): The length of this packet, as specified in [RFC3748] section 4.1.

Type (1 byte): The Type of Request or Response, as specified in [RFC3748] section 4.1.

Type_Data (variable): A field that varies with the Type of Request and the associated Response, as specified in [RFC3748] section 4.1.