3.2.7.1 Client-Side Interface with PPP

Inner Authentication Completed Event: This event will be sent by the higher layer when the authentication (that is, PPP authentication) has been completed successfully or bypassed (that is, ClientBypassHLAuth is set to TRUE). If the higher-layer authentication has failed, the higher layer sends the Disconnect Tunnel Event (section 3.2.4.2) to notify the client. When this event is sent the client MUST:

When the client receives a PPP control frame from the PPP layer, the client MUST:

  • If CurrentState is set to Client_Connect_Ack_Received or Client_Call_Connected: Generate an SSTP data packet (section 2.2.3) with the PPP frame as the higher-layer payload and send the packet to the HTTPS layer.

  • Else, drop the PPP frame.

When the client receives a PPP data frame from the PPP layer, the client MUST:

  • If CurrentState is set to Client_Call_Connected: Generate an SSTP data packet (section 2.2.3) with the PPP frame as the higher-layer payload and send the packet to the HTTPS layer.

  • Else, drop the PPP frame.