次の方法で共有


PPP_EAP_PACKET (Compact 2013)

3/26/2014

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 relates 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

See Also

Reference

EAP Structures
RasEapGetInfo
RasEapMakeMessage
PPP_EAP_INFO
PPP_EAP_INPUT
PPP_EAP_OUTPUT