comparison cdg3/cdginc-conservative/p_ppp.val @ 16:c15047b3d00d

cdg3: import from freecalypso-citrine/cdg
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 16:27:34 +0000
parents
children
comparison
equal deleted inserted replaced
15:c8bdae60fcb1 16:c15047b3d00d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_ppp.val |
5 | SOURCE : "sap\ppp.pdf" |
6 | LastModified : "2002-10-21" |
7 | IdAndVersion : "8441.116.99.016" |
8 | SrcFileTime : "Thu Nov 29 09:51:00 2007" |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_PPP_VAL
24 #define P_PPP_VAL
25
26
27 #define CDG_ENTER__P_PPP_VAL
28
29 #define CDG_ENTER__FILENAME _P_PPP_VAL
30 #define CDG_ENTER__P_PPP_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_PPP_VAL__LAST_MODIFIED _2002_10_21
32 #define CDG_ENTER__P_PPP_VAL__ID_AND_VERSION _8441_116_99_016
33
34 #define CDG_ENTER__P_PPP_VAL__SRC_FILE_TIME _Thu_Nov_29_09_51_00_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_PPP_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_mru
45 */
46 #define PPP_MRU_DEFAULT (0x5dc) /* default value for mru */
47
48 /*
49 * Value constants for VAL_ap
50 */
51 #define PPP_AP_NO (0x0) /* no authentication */
52 #define PPP_AP_PAP (0x1) /* password authentication protocol */
53 #define PPP_AP_CHAP (0x2) /* challenge handshake authentication protocol */
54 #define PPP_AP_AUTO (0x3) /* automatic authentication */
55
56 /*
57 * Value constants for VAL_accm
58 */
59 #define PPP_ACCM_DEFAULT (0xffffffff)/* default value for accm */
60 #define PPP_ACCM_OFF (0x0) /* disable control character mapping */
61
62 /*
63 * Value constants for VAL_rt
64 */
65 #define PPP_RT_DEFAULT (0x3) /* default value for restart timer */
66
67 /*
68 * Value constants for VAL_mc
69 */
70 #define PPP_MC_DEFAULT (0xa) /* default value for max configure */
71
72 /*
73 * Value constants for VAL_mt
74 */
75 #define PPP_MT_DEFAULT (0x2) /* default value for max terminate */
76
77 /*
78 * Value constants for VAL_mf
79 */
80 #define PPP_MF_DEFAULT (0x5) /* default value for max failure */
81
82 /*
83 * Value constants for VAL_ppp_cause
84 */
85 #define PPP_TERM_OK_MMI (0xcf01) /* successful terminated (MMI initiated) */
86 #define PPP_TERM_OK_PEER (0xcf02) /* successful terminated (PPP peer initiated) */
87 #define PPP_TERM_NO_RESPONSE (0xcf03) /* no response from the PPP peer */
88 #define PPP_TERM_LOOP_BACK (0xcf04) /* looped-back link detected */
89 #define PPP_TERM_LCP_NOT_CONVERGE (0xcf05) /* LCP configuration is not converging */
90 #define PPP_TERM_IPCP_NOT_CONVERGE (0xcf06) /* IPCP configuration is not converging */
91 #define PPP_TERM_IPCP_NOT_STARTED (0xcf07) /* PPP peer did not start IPCP configuration */
92 #define PPP_TERM_NO_CHANNEL (0xcf08) /* can not open communication channels */
93 #define PPP_TERM_PROT_REJ_UNEXPECTED (0xcf09) /* unexpected Protocol Rejection from PPP peer */
94 #define PPP_TERM_USE_AUTHED_FAILED (0xcf0a) /* user authentication failed */
95 #define PPP_TERM_PROT_ERROR_UNSPEC (0xcf0b) /* unspecified protocol error */
96
97 /*
98 * Value constants for VAL_ppp_hc
99 */
100 #define PPP_HC_OFF (0x0) /* no header compression */
101 #define PPP_HC_VJ (0x1) /* Van Jacobson header compression */
102
103 /*
104 * Value constants for VAL_ip
105 */
106 #define PPP_IP_DYNAMIC (0x0) /* dynaminc IP address negotiation */
107
108 /*
109 * Value constants for VAL_dns1
110 */
111 #define PPP_DNS1_DYNAMIC (0x0) /* dynaminc primary DNS server address negotiation */
112
113 /*
114 * Value constants for VAL_dns2
115 */
116 #define PPP_DNS2_DYNAMIC (0x0) /* dynaminc secondary DNS server address negotiation */
117
118 /*
119 * Value constants for VAL_mode
120 */
121 #define PPP_CLIENT (0x0) /* start PPP as client */
122 #define PPP_SERVER (0x1) /* start PPP as server */
123 #define PPP_TRANSPARENT (0x2) /* start PPP in transparent mode */
124
125 /*
126 * Value constants for VAL_lower_layer
127 */
128 #define PPP_LOWER_LAYER_DOWN (0x0) /* lower layer is not available */
129 #define PPP_LOWER_LAYER_UP (0x1) /* lower layer is available */
130
131 /*
132 * Value constants for VAL_connected_direction
133 */
134 #define PPP_DTI_CONN_PEER (0x0) /* DTI channel is connected to Peer Layer */
135 #define PPP_DTI_CONN_PROT (0x1) /* DTI channel is connected to Protocol Layer */
136
137 /*
138 * user defined constants
139 */
140 #define PPP_LOGIN_NAME_LENGTH (0x21)
141 #define PPP_PASSWORD_LENGTH (0x19)
142 #define PPP_ORIGINATING_ENTITY (0xf)
143
144 #include "CDG_LEAVE.h"
145
146
147 #endif