Share via


PPP_EAP_PACKET (Windows Embedded CE 6.0)

1/6/2010

This 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. The following table shows possible values for Code.

    Value Description

    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.

Requirements

Header raseapif.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

EAP Structures
RasEapGetInfo
RasEapMakeMessage
PPP_EAP_INFO
PPP_EAP_INPUT
PPP_EAP_OUTPUT