3.1.7.1 Interface with PPP

The SSTP layer interfaces with a local PPP layer on both clients and servers. This interface occurs using the following events triggered by the SSTP layer.

Check PPP frame type: This event is used by the SSTP layer to check whether a given PPP payload is a PPP control frame or a PPP data frame.

Receive PPP control frame: This event is used by the SSTP layer to indicate a PPP control frame to the PPP layer (see section 3.2.7 and 3.3.7).

Receive PPP data frame: This event is used by the SSTP layer to indicate a PPP data frame to the PPP layer (see section 3.2.7 and 3.3.7).

Lower Link Up: This event is used by the SSTP layer to cause the PPP layer to start the PPP state machine (see section 4 of [RFC1661]). This event is triggered on the client side when the SSTP layer receives an SSTP_MSG_CALL_CONNECT_ACK (section 3.2.5.3.2) message. This event is triggered on the server side when the SSTP layer receives an SSTP_MSG_CALL_CONNECT_REQUEST (section 3.3.5.2.2) message. In addition, if ClientBypassHLAuth is set to TRUE on the client side OR ServerBypassHLAuth is set to TRUE on the server side, the SSTP layer requests the PPP layer to bypass the authentication phase.

Lower Link Down: This event is used by the SSTP layer to notify the PPP layer about a lower layer (that is, HTTPS) going down. This event is triggered when the SSTP layer gets an HTTPS connection disconnected event from the HTTPS layer.