Share via


PPP_EAP_INFO (Compact 2013)

3/26/2014

This structure provides information to RAS about the authentication protocol. This includes pointers to functions located in the EAP DLL.

Syntax

typedef struct _PPP_EAP_INFO {
  DWORD dwSizeInBytes;
  DWORD dwEapTypeId; 
  DWORD (*RasEapInitialize) (
  BOOL fInitialize
  );
  DWORD (*RasEapBegin) (
  VOID** ppWorkBuffer,
  PPP_EAP_INPUT* pPppEapInput
  );
  DWORD (*RasEapEnd) (
  VOID* pWorkBuffer
  );
  DWORD (*RasEapMakeMessage) (
  VOID* pWorkBuf,
  PPP_EAP_PACKET* pReceivePacket,
  PPP_EAP_PACKET* pSendPacket,
  DWORD cbSendPacket,
  PPP_EAP_OUTPUT* pEapOutput,
  PPP_EAP_INPUT* pEapInput
  );
} PPP_EAP_INFO, *PPPP_EAP_INFO;

Members

  • dwSizeInBytes
    Specifies the size of the PPP_EAP_INFO structure. RAS passes in this value to the EAP DLL. The DLL uses this value to determine which version of the PPP_EAP_INFO structure RAS is using.
  • dwEapTypeId
    Specifies a particular authentication protocol. This identifier must be unique throughout industry-wide implementation of EAP. The implementer of an authentication protocol must obtain this identifier from the Internet Assigned Numbers Authority (IANA).
  • RasEapInitialize
    Pointer to the RasEapInitialize function for the authentication protocol. The authentication protocol sets the value of this member. The authentication protocol may set this member to NULL. In this case, the protocol does not require RAS to call this function.
  • RasEapBegin
    Pointer to the RasEapBegin function for the requested authentication protocol. The authentication protocol sets the value of this member. This member may be NULL. In this case,, the authentication protocol requires no initialization. If this member is NULL, RAS ignores the RasEapEnd member.
  • RasEapEnd
    Pointer to the RasEapEnd function for the authentication protocol. The authentication protocol sets the value of this member.
  • RasEapMakeMessage
    Pointer to the RasEapMakeMessage for the requested authentication protocol. The authentication protocol sets the value of this member.

Remarks

A given EAP DLL may implement more than one authentication protocol. Use the dwEapTypeId member to specify for which protocol to retrieve information.

Requirements

Header

raseapif.h

See Also

Reference

EAP Structures
RasEapBegin
RasEapEnd
RasEapGetInfo
RasEapMakeMessage