annotate packages/net/ppp/current/cdl/ppp.cdl @ 1586:e0d88dc6a92f

Added PPP network support.
author nickg
date Wed, 14 Apr 2004 15:08:56 +0000
parents
children 5629b7c30ed2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
1 # ====================================================================
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
2 #
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
3 # ppp.cdl
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
4 #
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
5 # PPP configuration data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
6 #
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
7 # ====================================================================
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
8 #####ECOSGPLCOPYRIGHTBEGIN####
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
9 ## -------------------------------------------
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
10 ## This file is part of eCos, the Embedded Configurable Operating System.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
11 ## Copyright (C) 2003, 2004 eCosCentric Limited
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
12 ##
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
13 ## eCos is free software; you can redistribute it and/or modify it under
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
14 ## the terms of the GNU General Public License as published by the Free
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
15 ## Software Foundation; either version 2 or (at your option) any later version.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
16 ##
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
19 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
20 ## for more details.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
21 ##
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
22 ## You should have received a copy of the GNU General Public License along
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
25 ##
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
26 ## As a special exception, if other files instantiate templates or use macros
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
27 ## or inline functions from this file, or you compile this file and link it
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
28 ## with other works to produce a work based on this file, this file does not
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
29 ## by itself cause the resulting work to be covered by the GNU General Public
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
30 ## License. However the source code for this file must still be made available
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
31 ## in accordance with section (3) of the GNU General Public License.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
32 ##
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
33 ## This exception does not invalidate any other reasons why a work based on
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
34 ## this file might be covered by the GNU General Public License.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
35 ##
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
36 ## -------------------------------------------
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
37 #####ECOSGPLCOPYRIGHTEND####
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
38 # ====================================================================
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
39 ######DESCRIPTIONBEGIN####
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
40 #
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
41 # Author(s): nickg
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
42 # Original data: nickg
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
43 # Contributors:
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
44 # Date: 2002-10-15
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
45 #
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
46 #####DESCRIPTIONEND####
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
47 #
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
48 # ====================================================================
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
49
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
50 cdl_package CYGPKG_PPP {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
51 display "PPP daemon"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
52 parent CYGPKG_NET
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
53 doc ref/net-ppp.html
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
54 include_dir cyg/ppp
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
55 requires CYGPKG_IO
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
56 requires CYGPKG_IO_SERIAL
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
57
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
58 requires CYGPKG_IO_SERIAL_DEVICES
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
59 requires CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
60 requires CYGPKG_NET
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
61 requires CYGPKG_IO_SERIAL_FLOW_CONTROL
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
62
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
63 description "PPP support for eCos. This package contains the PPP
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
64 daemon functionality, BSD kernel device drivers for
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
65 the network stack, plus other parts of the PPP
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
66 infrastructure."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
67
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
68 compile pppd.c sys-ecos.c ppp_io.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
69 compile auth.c ccp.c fsm.c magic.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
70 compile cbcp.c ipcp.c lcp.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
71
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
72 compile if_ppp.c slcompress.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
73
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
74 cdl_option CYGNUM_PPP_PPPD_THREAD_PRIORITY {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
75 display "PPP thread priority"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
76 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
77 default_value { CYGNUM_KERNEL_SCHED_PRIORITIES/2 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
78 legal_values 0 to CYGNUM_KERNEL_SCHED_PRIORITIES
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
79 description "The PPP system contains two threads, One is used for receiving
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
80 data from the link and processing control packets.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
81 The other is used to transmit data asynchronously to the link
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
82 when it cannot be completed synchronously. The receive thread
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
83 runs at the priority given here, and the transmit thread
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
84 runs at the next lower priority.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
85 The exact priority needed here depends on the importance of the
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
86 PPP subsystem relative to the rest of the system. The default
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
87 is to put it in the middle of the priority range to provide
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
88 reasonable response without impacting genuine high
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
89 priority threads."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
90 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
91
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
92 cdl_component CYGPKG_PPP_DEBUG_WARN_ONLY {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
93 display "PPP protocol debug error only"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
94 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
95 description "The runtime debug option enables logging of high
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
96 level debug messages. Too many of these can interfere
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
97 with the PPP device and may result in missed messages.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
98 This is because these messages are emitted via the diag_printf()
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
99 mechanism, which disables interrupts while it prints.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
100 By default, therefore, we only report errors and warnings, and not
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
101 all events. Setting this option to zero will enable the logging of
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
102 all events."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
103 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
104
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
105 cdl_component CYGPKG_PPP_AUTH {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
106 display "PPP authentication defaults"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
107 flavor none
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
108 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
109
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
110 cdl_option CYGPKG_PPP_AUTH_DEFAULT_USER {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
111 display "Default user name"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
112 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
113 default_value {"\"eCos\""}
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
114 description "This option gives the default value
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
115 for the user name used to intialize
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
116 the user field in the PPP options."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
117 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
118
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
119 cdl_option CYGPKG_PPP_AUTH_DEFAULT_PASSWD {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
120 display "Default password"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
121 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
122 default_value {"\"secret\""}
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
123 description "This option gives the default value
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
124 for the password used to intialize
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
125 the passwd field in the PPP options."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
126 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
127
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
128 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
129
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
130 cdl_option CYGPKG_PPP_DEFAULT_DIALUP_NUMBER {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
131 display "Default dialup number"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
132 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
133 default_value { "\"5551234\""}
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
134 description "This option provides a default dialup number for use in
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
135 chat scripts. This value is not used anywhere
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
136 in the PPP package, but is provided to complete the information
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
137 needed, alongside the user name and password, for accessing a
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
138 typical dialup server."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
139 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
140
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
141 cdl_component CYGPKG_PPP_PAP {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
142 display "PAP support"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
143 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
144 description "This component enables the inclusion of PAP authentication
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
145 support."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
146 compile upap.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
147
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
148 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
149
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
150 cdl_component CYGPKG_PPP_CHAP {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
151 display "CHAP support"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
152 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
153 description "This component enables the inclusion of CHAP authentication
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
154 support."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
155
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
156 compile chap.c chap_ms.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
157
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
158 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
159
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
160 cdl_component CYGPKG_PPP_COMPRESSION {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
161 display "PPP compression options"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
162 default_value 0
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
163 description "This component provides control over
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
164 PPP compression features. WARNING: at
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
165 present there are problems with this, and
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
166 the compression code needs to allocate large
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
167 amounts of memory. Hence this is all currently
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
168 disabled."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
169
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
170 cdl_option PPP_BSDCOMP {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
171 display "Enable BSD compression"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
172 default_value 0
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
173 compile bsd_comp.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
174 description "This option enables inclusion of BSD
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
175 compression into the PPP protocol."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
176 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
177
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
178 cdl_option PPP_DEFLATE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
179 display "Enable ZLIB compression"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
180 default_value 0
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
181 compile ppp_deflate.c zlib.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
182 description "This option enables inclusion of ZLIB
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
183 compression into the PPP protocol."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
184 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
185
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
186 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
187
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
188 cdl_component CYGPKG_PPP_CHAT {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
189 display "Chat script support"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
190 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
191 description "This component enables the inclusion of a
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
192 simple scripting system to bring up PPP connections.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
193 It implements a subset of the CHAT scripting language."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
194
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
195 compile chat.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
196
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
197 cdl_option CYGNUM_PPP_CHAT_ABORTS_MAX {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
198 display "Maximum number of ABORT strings"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
199 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
200 default_value 10
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
201 legal_values 5 to 500
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
202 description "This option defines the maximum number of ABORT
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
203 strings that the CHAT system will store."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
204 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
205
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
206 cdl_option CYGNUM_PPP_CHAT_ABORTS_SIZE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
207 display "Maximum size of each ABORT string"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
208 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
209 default_value 20
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
210 legal_values 10 to 100
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
211 description "This option defines the maximum size of each ABORT
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
212 strings that the CHAT system will store."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
213 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
214
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
215 cdl_option CYGNUM_PPP_CHAT_STRING_LENGTH {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
216 display "Maximum size of CHAT strings"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
217 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
218 default_value 256
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
219 legal_values 32 to 32768
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
220 description "This option defines the maximum size of any
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
221 expect or reply strings that the CHAT system
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
222 will be given."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
223 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
224
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
225 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
226
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
227
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
228 cdl_component CYGPKG_PPP_OPTIONS {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
229 display "PPP build options"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
230 flavor none
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
231 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
232
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
233 cdl_option CYGPKG_PPP_CFLAGS_ADD {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
234 display "Additional compiler flags"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
235 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
236 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
237 default_value { "-D__ECOS" }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
238 description "
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
239 This option modifies the set of compiler flags for
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
240 building the PPP package.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
241 These flags are used in addition
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
242 to the set of global flags."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
243 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
244
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
245 cdl_option CYGPKG_PPP_CFLAGS_REMOVE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
246 display "Suppressed compiler flags"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
247 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
248 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
249 default_value { "" }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
250 description "
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
251 This option modifies the set of compiler flags for
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
252 building the PPP package. These flags are removed from
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
253 the set of global flags if present."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
254 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
255 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
256
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
257 cdl_option CYGPKG_PPP_TESTS {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
258 display "PPP tests"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
259 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
260 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
261 calculated { "tests/ppp_up " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
262 "tests/ppp_updown " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
263 "tests/chat " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
264 "tests/ppp_auth " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
265 ((CYGPKG_PPP_TESTS_ALL) ?
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
266 "tests/isp " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
267 "tests/tcp_echo " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
268 "tests/nc_test_slave "
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
269 :
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
270 "" )
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
271 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
272 description "
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
273 This option specifies the set of tests
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
274 for the PPP package."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
275 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
276
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
277 cdl_option CYGPKG_PPP_TESTS_ALL {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
278 display "Include all PPP tests"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
279 default_value 0
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
280 description "This option enables the inclusion of extra PPP tests
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
281 that are not normally suitable for automated testing."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
282 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
283
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
284 cdl_option CYGPKG_PPP_TEST_DEVICE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
285 display "PPP test device"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
286 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
287 default_value { "\"/dev/ser0\"" }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
288 description "This is the name of the device used by the PPP tests
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
289 to make the PPP connection."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
290 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
291
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
292 cdl_component CYGPKG_PPP_TESTS_AUTOMATE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
293 display "PPP test automation"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
294 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
295 description "This component controls the automation of PPP tests using the
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
296 test_server.sh script to control the remote end. Without this
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
297 option, PPP tests are configured to run stand-alone. With this
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
298 option they emit control strings to change the line baud rate
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
299 and announce the test being performed."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
300
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
301 cdl_option CYGDAT_PPP_TEST_BAUD_RATES {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
302 display "PPP test automation baud rates"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
303 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
304 default_value { "CYGNUM_SERIAL_BAUD_19200," .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
305 "CYGNUM_SERIAL_BAUD_38400," .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
306 "CYGNUM_SERIAL_BAUD_57600," .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
307 "CYGNUM_SERIAL_BAUD_115200"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
308 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
309 description "This option gives the set of baud rates for which some
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
310 tests will execute."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
311 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
312 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
313 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
314
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
315 # EOF ppp.cdl