PPP_EAP_PACKET structure (raseapif.h)

The PPP_EAP_PACKET structure specifies information about a packet being processed by the authentication protocol.

Syntax

typedef struct _PPP_EAP_PACKET {
  BYTE Code;
  BYTE Id;
  BYTE Length[2];
  BYTE Data[1];
} PPP_EAP_PACKET, *PPPP_EAP_PACKET;

Members

Code

Specifies the type of packet that is sent or received by the authentication protocol. This parameter is one of the four following values.

Value Meaning
EAPCODE_Request
The packet is a request.
EAPCODE_Response
The packet is a response.
EAPCODE_Success
The packet indicates success.
EAPCODE_Failure
The packet indicates failure.

Id

Specifies the identifier of the packet. The authentication protocol is responsible for maintaining packet counts for sessions, as that packet count pertains to EAP activity.

Length[2]

Specifies the length of the packet.

Data[1]

Specifies the data transmitted by this packet. If the packet is a request or a response packet, the first byte of this member signifies its type. For more information about packet types and requirements for type reservation, refer to RFC 2284.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header raseapif.h

See also

EAP Structures

Extensible Authentication Protocol Reference

PPP_EAP_INFO

PPP_EAP_INPUT

PPP_EAP_OUTPUT

RasEapGetInfo

RasEapMakeMessage