3.1 General Definitions

Here are some global definitions of semi-useful information.


    /*
     * PPTP Well Known TCP Port number
     */

#define PPTP_TCP_PORT_NUMBER      5678

    /*
     * The Maximum MTU for User Data.
     */

#define PPTP_MAX_DATA_MTU         1532

    /*
     * PPTP Protocol Version and Revision. The high byte is
     * the version number, and the low byte is the revision
     * number.
     */

#define PPTP_PROTOCOL_VERSION      0x0100

    /*
     * The PPTP SessionID used internally. It is essentially the
     * IP Address of the remote host.
     */

typedef struct {
    IpAddress   id;
} PptpSessionID;