Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / pptp-client / pptp_options.h
bloba8dd34218ddbde9d1f825b557bc729d16c0b1edc
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/11/09 01:42:32 quozl Exp $
6 */
8 #ifndef INC_PPTP_OPTIONS_H
9 #define INC_PPTP_OPTIONS_H
11 #undef PPTP_FIRMWARE_STRING
12 #undef PPTP_FIRMWARE_VERSION
13 #define PPTP_BUF_MAX 65536
14 #define PPTP_TIMEOUT 60 /* seconds */
15 extern int idle_wait;
16 extern int max_echo_wait;
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 */