PPP_EAP_PACKET structure
Applies to: desktop apps only
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
-
Specifies the length of the packet.
- Data
-
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
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
See also
- Extensible Authentication Protocol Reference
- EAP Structures
- RasEapGetInfo
- RasEapMakeMessage
- PPP_EAP_INFO
- PPP_EAP_INPUT
- PPP_EAP_OUTPUT
Send comments about this topic to Microsoft
Build date: 2/3/2012