PPP_EAP_PACKET

[This is preliminary documentation and subject to change.]

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

typedef struct _PPP_EAP_PACKET {
    BYTE    Code;       // 1-Request, 2-Response, 3-Success, 4-Failure
    BYTE    Id;         // Id of this packet
    BYTE    Length[2];  // Length of this packet
    BYTE    Data[1];    // Data, First byte is Type for 
                        // Request/Response
} PPP_EAP_PACKET, * PPPP_EAP_PACKET;
 

Members

Code
The Code parameter can be one of four values, each indicating the type of packet being sent or received by the authentication protocol.

A value of 1 indicates the packet is a request.

A value of 2 indicates the packet is a response.

A value of 3 specifies the packet indicates success.

A value of 4 specifies the packet indicates failure.

Id
Identification of this packet. The authentication protocol is responsible for maintaining packet counts for sessions, as that packet count pertains to EAP activity.
Length[2]
Length of the packet.
Data[1]
Data. 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 the PPP EAP Internet draft, found at http://ds2.internic.net/internet-drafts/draft-ietf-pppext-eap-auth-02.txt

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in raseapif.h.

See Also

RasEapGetInfo, RasEapMakeMessage, PPP_EAP_INFO, PPP_EAP_INPUT, PPP_EAP_OUTPUT