Tomato 1.28
[tomato.git] / release / src / router / pptp-client / pptp_options.h
blob9f2ee44b07bc4930e3a607cb9698d92ebc8cfa5f
1 /* pptp_options.h ...... various constants used in the PPTP protocol.
2 * #define STANDARD to emulate NT 4.0 exactly.
3 * C. Scott Ananian <cananian@alumni.princeton.edu>
5 * $Id: pptp_options.h,v 1.3 2004/07/27 06:20:15 honor Exp $
6 */
8 #include <cyutils.h>
10 #ifndef INC_PPTP_OPTIONS_H
11 #define INC_PPTP_OPTIONS_H
13 #undef PPTP_FIRMWARE_STRING
14 #undef PPTP_FIRMWARE_VERSION
15 #define PPTP_BUF_MAX 65536
16 #define PPTP_TIMEOUT 15 /* seconds */
17 #define PPTP_CONNECT_SPEED 10000000
18 #define PPTP_WINDOW 3
19 #define PPTP_DELAY 0
20 #define PPTP_BPS_MIN 2400
21 #define PPTP_BPS_MAX 10000000
23 #ifndef STANDARD
24 #define PPTP_MAX_CHANNELS 65535
25 #define PPTP_FIRMWARE_STRING "0.01"
26 #define PPTP_FIRMWARE_VERSION 0x001
27 //#define PPTP_HOSTNAME {'l','o','c','a','l',0}
28 //#define PPTP_VENDOR {'c','a','n','a','n','i','a','n',0}
29 #define PPTP_FRAME_CAP PPTP_FRAME_ANY
30 #define PPTP_BEARER_CAP PPTP_BEARER_ANY
31 #else
32 #define PPTP_MAX_CHANNELS 5
33 #define PPTP_FIRMWARE_STRING "0.01"
34 #define PPTP_FIRMWARE_VERSION 0
35 #define PPTP_HOSTNAME {'l','o','c','a','l',0}
36 #define PPTP_VENDOR {'N','T',0}
37 #define PPTP_FRAME_CAP 2
38 #define PPTP_BEARER_CAP 1
39 #endif
41 #endif /* INC_PPTP_OPTIONS_H */