annotate packages/net/ppp/current/cdl/ppp.cdl @ 3292:7f8e529b4d82 default tip

Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
author vae
date Wed, 29 Apr 2015 23:31:48 +0000
parents c4faf68be2c4
children
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 # ====================================================================
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
8 ## ####ECOSGPLCOPYRIGHTBEGIN####
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
9 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
10 ## This file is part of eCos, the Embedded Configurable Operating System.
2789
70bc76ef308f * cdl/ppp.cdl: Fix per-package documentation reference.
jld
parents: 2729
diff changeset
11 ## Copyright (C) 2003, 2004, 2009 Free Software Foundation, Inc.
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
12 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
13 ## eCos is free software; you can redistribute it and/or modify it under
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
14 ## the terms of the GNU General Public License as published by the Free
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
15 ## Software Foundation; either version 2 or (at your option) any later
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
16 ## version.
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
17 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
19 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
21 ## for more details.
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
22 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
23 ## You should have received a copy of the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
24 ## along with eCos; if not, write to the Free Software Foundation, Inc.,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
25 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
26 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
27 ## As a special exception, if other files instantiate templates or use
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
28 ## macros or inline functions from this file, or you compile this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
29 ## and link it with other works to produce a work based on this file,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
30 ## this file does not by itself cause the resulting work to be covered by
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
31 ## the GNU General Public License. However the source code for this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
32 ## must still be made available in accordance with section (3) of the GNU
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
33 ## General Public License v2.
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
34 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
35 ## This exception does not invalidate any other reasons why a work based
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
36 ## on this file might be covered by the GNU General Public License.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
37 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2106
diff changeset
38 ## ####ECOSGPLCOPYRIGHTEND####
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
39 # ====================================================================
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
40 ######DESCRIPTIONBEGIN####
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
41 #
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
42 # Author(s): nickg
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
43 # Original data: nickg
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
44 # Contributors:
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
45 # Date: 2002-10-15
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
46 #
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
47 #####DESCRIPTIONEND####
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
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
51 cdl_package CYGPKG_PPP {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
52 display "PPP daemon"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
53 parent CYGPKG_NET
2789
70bc76ef308f * cdl/ppp.cdl: Fix per-package documentation reference.
jld
parents: 2729
diff changeset
54 doc ref/ppp.html
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
55 include_dir cyg/ppp
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
56 requires CYGPKG_IO
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
57 requires CYGPKG_IO_SERIAL
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
58
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
59 requires CYGPKG_IO_SERIAL_DEVICES
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
60 requires CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
61 requires CYGPKG_NET
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
62 requires CYGPKG_IO_SERIAL_FLOW_CONTROL
2106
b64fadfd5d1c * cdl/ppp.cdl: Require CYGPKG_POSIX_CLOCKS not *_TIMERS
asl
parents: 2088
diff changeset
63 requires CYGPKG_POSIX_CLOCKS
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
64
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
65 description "PPP support for eCos. This package contains the PPP
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
66 daemon functionality, BSD kernel device drivers for
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
67 the network stack, plus other parts of the PPP
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
68 infrastructure."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
69
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
70 compile pppd.c sys-ecos.c ppp_io.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
71 compile auth.c ccp.c fsm.c magic.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
72 compile cbcp.c ipcp.c lcp.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
73
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
74 compile if_ppp.c slcompress.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
75
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
76 cdl_option CYGNUM_PPP_PPPD_THREAD_PRIORITY {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
77 display "PPP thread priority"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
78 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
79 default_value { CYGNUM_KERNEL_SCHED_PRIORITIES/2 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
80 legal_values 0 to CYGNUM_KERNEL_SCHED_PRIORITIES
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
81 description "The PPP system contains two threads, One is used for receiving
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
82 data from the link and processing control packets.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
83 The other is used to transmit data asynchronously to the link
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
84 when it cannot be completed synchronously. The receive thread
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
85 runs at the priority given here, and the transmit thread
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
86 runs at the next lower priority.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
87 The exact priority needed here depends on the importance of the
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
88 PPP subsystem relative to the rest of the system. The default
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
89 is to put it in the middle of the priority range to provide
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
90 reasonable response without impacting genuine high
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
91 priority threads."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
92 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
93
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
94 cdl_component CYGPKG_PPP_DEBUG_WARN_ONLY {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
95 display "PPP protocol debug error only"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
96 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
97 description "The runtime debug option enables logging of high
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
98 level debug messages. Too many of these can interfere
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
99 with the PPP device and may result in missed messages.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
100 This is because these messages are emitted via the diag_printf()
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
101 mechanism, which disables interrupts while it prints.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
102 By default, therefore, we only report errors and warnings, and not
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
103 all events. Setting this option to zero will enable the logging of
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
104 all events."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
105 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
106
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
107 cdl_component CYGPKG_PPP_AUTH {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
108 display "PPP authentication defaults"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
109 flavor none
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
110 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
111
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
112 cdl_option CYGPKG_PPP_AUTH_DEFAULT_USER {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
113 display "Default user name"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
114 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
115 default_value {"\"eCos\""}
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
116 description "This option gives the default value
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
117 for the user name used to intialize
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
118 the user field in the PPP options."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
119 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
120
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
121 cdl_option CYGPKG_PPP_AUTH_DEFAULT_PASSWD {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
122 display "Default password"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
123 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
124 default_value {"\"secret\""}
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
125 description "This option gives the default value
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
126 for the password used to intialize
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
127 the passwd field in the PPP options."
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 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
131
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
132 cdl_option CYGPKG_PPP_DEFAULT_DIALUP_NUMBER {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
133 display "Default dialup number"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
134 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
135 default_value { "\"5551234\""}
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
136 description "This option provides a default dialup number for use in
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
137 chat scripts. This value is not used anywhere
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
138 in the PPP package, but is provided to complete the information
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
139 needed, alongside the user name and password, for accessing a
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
140 typical dialup server."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
141 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
142
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
143 cdl_component CYGPKG_PPP_PAP {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
144 display "PAP support"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
145 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
146 description "This component enables the inclusion of PAP authentication
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
147 support."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
148 compile upap.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
149
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
150 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
151
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
152 cdl_component CYGPKG_PPP_CHAP {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
153 display "CHAP support"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
154 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
155 description "This component enables the inclusion of CHAP authentication
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
156 support."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
157
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
158 compile chap.c chap_ms.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
159
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
160 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
161
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
162 cdl_component CYGPKG_PPP_COMPRESSION {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
163 display "PPP compression options"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
164 default_value 0
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
165 description "This component provides control over
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
166 PPP compression features. WARNING: at
1694
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
167 present there are problems with BSD and ZLIB,
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
168 and the compression code needs to allocate large
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
169 amounts of memory. Hence this is all currently
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
170 disabled."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
171
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
172 cdl_option PPP_BSDCOMP {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
173 display "Enable BSD compression"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
174 default_value 0
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
175 compile bsd_comp.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
176 description "This option enables inclusion of BSD
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
177 compression into the PPP protocol."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
178 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
179
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
180 cdl_option PPP_DEFLATE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
181 display "Enable ZLIB compression"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
182 default_value 0
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
183 compile ppp_deflate.c zlib.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
184 description "This option enables inclusion of ZLIB
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
185 compression into the PPP protocol."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
186 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
187
1694
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
188 cdl_option PPP_INHIBIT_OLD_VJ_COMPRESSION {
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
189 display "Inhibit older-style VJ compression"
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
190 flavor bool
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
191 default_value 0
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
192 description "This option prevents the IPCP state machine
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
193 from negotiating the pre-RFC1332 Van Jacobson
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
194 compression. Checking this option could
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
195 improve IPCP negotiation time at the expense
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
196 of compatibility."
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
197 }
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
198 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
199
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
200 cdl_component CYGPKG_PPP_CHAT {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
201 display "Chat script support"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
202 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
203 description "This component enables the inclusion of a
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
204 simple scripting system to bring up PPP connections.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
205 It implements a subset of the CHAT scripting language."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
206
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
207 compile chat.c
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
208
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
209 cdl_option CYGNUM_PPP_CHAT_ABORTS_MAX {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
210 display "Maximum number of ABORT strings"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
211 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
212 default_value 10
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
213 legal_values 5 to 500
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
214 description "This option defines the maximum number of ABORT
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
215 strings that the CHAT system will store."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
216 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
217
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
218 cdl_option CYGNUM_PPP_CHAT_ABORTS_SIZE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
219 display "Maximum size of each ABORT string"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
220 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
221 default_value 20
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
222 legal_values 10 to 100
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
223 description "This option defines the maximum size of each ABORT
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
224 strings that the CHAT system will store."
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 cdl_option CYGNUM_PPP_CHAT_STRING_LENGTH {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
228 display "Maximum size of CHAT strings"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
229 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
230 default_value 256
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
231 legal_values 32 to 32768
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
232 description "This option defines the maximum size of any
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
233 expect or reply strings that the CHAT system
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
234 will be given."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
235 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
236
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
237 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
238
1868
3df9bc847a78 * cdl/ppp.cdl
asl
parents: 1694
diff changeset
239 cdl_component CYGPKG_PPP_WORKAROUNDS {
3df9bc847a78 * cdl/ppp.cdl
asl
parents: 1694
diff changeset
240 display "PPP workarounds for bugs in other implementations"
3df9bc847a78 * cdl/ppp.cdl
asl
parents: 1694
diff changeset
241 flavor none
3df9bc847a78 * cdl/ppp.cdl
asl
parents: 1694
diff changeset
242 no_define
3df9bc847a78 * cdl/ppp.cdl
asl
parents: 1694
diff changeset
243
3df9bc847a78 * cdl/ppp.cdl
asl
parents: 1694
diff changeset
244 cdl_option CYGPKT_PPP_WORKAROUNDS_START_FLAG {
2849
c4faf68be2c4 * cdl/ppp.cdl: Provide a display string for CYGPKT_PPP_WORKAROUNDS_START_FLAG.
jld
parents: 2789
diff changeset
245 display "Add a start flag to every packet"
c4faf68be2c4 * cdl/ppp.cdl: Provide a display string for CYGPKT_PPP_WORKAROUNDS_START_FLAG.
jld
parents: 2789
diff changeset
246 flavor bool
c4faf68be2c4 * cdl/ppp.cdl: Provide a display string for CYGPKT_PPP_WORKAROUNDS_START_FLAG.
jld
parents: 2789
diff changeset
247 default_value false
c4faf68be2c4 * cdl/ppp.cdl: Provide a display string for CYGPKT_PPP_WORKAROUNDS_START_FLAG.
jld
parents: 2789
diff changeset
248 description "This option enables a workaround to add a start
c4faf68be2c4 * cdl/ppp.cdl: Provide a display string for CYGPKT_PPP_WORKAROUNDS_START_FLAG.
jld
parents: 2789
diff changeset
249 flag to every packet. The RFC does not require this,
c4faf68be2c4 * cdl/ppp.cdl: Provide a display string for CYGPKT_PPP_WORKAROUNDS_START_FLAG.
jld
parents: 2789
diff changeset
250 but some broken PPP implementations seem to need it."
1868
3df9bc847a78 * cdl/ppp.cdl
asl
parents: 1694
diff changeset
251 }
3df9bc847a78 * cdl/ppp.cdl
asl
parents: 1694
diff changeset
252 }
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
253
1995
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
254 cdl_component CYGPKG_PPP_NEGOTIATE_OPTIONS {
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
255 display "PPP negotiation options"
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
256 flavor none
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
257 no_define
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
258
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
259 cdl_option CYGOPT_PPP_NS_NEGOTIATE {
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
260 display "Name server support"
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
261 default_value CYGINT_ISO_DNS
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
262 flavor bool
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
263 description "
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
264 This option allows negotiation of the domain
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
265 name server IPCP extensions as defined in
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
266 RFC 1877"
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
267 }
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
268 cdl_option CYGOPT_PPP_DNS_CONFIGURE {
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
269 display "Allow the PPP code to configure the resolver"
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
270 default_value 1
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
271 description "
2849
c4faf68be2c4 * cdl/ppp.cdl: Provide a display string for CYGPKT_PPP_WORKAROUNDS_START_FLAG.
jld
parents: 2789
diff changeset
272 The PPP code can negotiate with the peer what the
1995
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
273 recommended DNS server is. This option causes the PPP
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
274 code to then configure the DNS resolver with the address
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
275 of the discovered server."
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
276 }
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
277 }
3910c29d7639 * src/ipcp.c:
asl
parents: 1868
diff changeset
278
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
279 cdl_component CYGPKG_PPP_OPTIONS {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
280 display "PPP build options"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
281 flavor none
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
282 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
283
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
284 cdl_option CYGPKG_PPP_CFLAGS_ADD {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
285 display "Additional compiler flags"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
286 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
287 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
288 default_value { "-D__ECOS" }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
289 description "
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
290 This option modifies the set of compiler flags for
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
291 building the PPP package.
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
292 These flags are used in addition
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
293 to the set of global flags."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
294 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
295
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
296 cdl_option CYGPKG_PPP_CFLAGS_REMOVE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
297 display "Suppressed compiler flags"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
298 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
299 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
300 default_value { "" }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
301 description "
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
302 This option modifies the set of compiler flags for
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
303 building the PPP package. These flags are removed from
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
304 the set of global flags if present."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
305 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
306 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
307
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
308 cdl_option CYGPKG_PPP_TESTS {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
309 display "PPP tests"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
310 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
311 no_define
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
312 calculated { "tests/ppp_up " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
313 "tests/ppp_updown " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
314 "tests/chat " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
315 "tests/ppp_auth " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
316 ((CYGPKG_PPP_TESTS_ALL) ?
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
317 "tests/isp " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
318 "tests/tcp_echo " .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
319 "tests/nc_test_slave "
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
320 :
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
321 "" )
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
322 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
323 description "
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
324 This option specifies the set of tests
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
325 for the PPP package."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
326 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
327
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
328 cdl_option CYGPKG_PPP_TESTS_ALL {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
329 display "Include all PPP tests"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
330 default_value 0
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
331 description "This option enables the inclusion of extra PPP tests
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
332 that are not normally suitable for automated testing."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
333 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
334
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
335 cdl_option CYGPKG_PPP_TEST_DEVICE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
336 display "PPP test device"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
337 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
338 default_value { "\"/dev/ser0\"" }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
339 description "This is the name of the device used by the PPP tests
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
340 to make the PPP connection."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
341 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
342
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
343 cdl_component CYGPKG_PPP_TESTS_AUTOMATE {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
344 display "PPP test automation"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
345 default_value 1
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
346 description "This component controls the automation of PPP tests using the
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
347 test_server.sh script to control the remote end. Without this
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
348 option, PPP tests are configured to run stand-alone. With this
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
349 option they emit control strings to change the line baud rate
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
350 and announce the test being performed."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
351
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
352 cdl_option CYGDAT_PPP_TEST_BAUD_RATES {
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
353 display "PPP test automation baud rates"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
354 flavor data
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
355 default_value { "CYGNUM_SERIAL_BAUD_19200," .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
356 "CYGNUM_SERIAL_BAUD_38400," .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
357 "CYGNUM_SERIAL_BAUD_57600," .
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
358 "CYGNUM_SERIAL_BAUD_115200"
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
359 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
360 description "This option gives the set of baud rates for which some
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
361 tests will execute."
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
362 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
363 }
1694
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
364 cdl_option CYGBLD_PPP_WINDOWS_TELNET_APP {
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
365 display "Build complete eCos PPP client interfacing to Windows PPP server"
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
366 default_value 0
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
367 make -priority 320 {
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
368 <PREFIX>/bin/windows_telnet.elf : $(PREFIX)/lib/target.ld $(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a $(PREFIX)/lib/libextras.a $(REPOSITORY)/$(PACKAGE)/tests/windows_telnet.c
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
369 @sh -c "mkdir -p $(dir $@)"
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
370 $(CC) -c $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/windows_telnet.o $(REPOSITORY)/$(PACKAGE)/tests/windows_telnet.c
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
371 $(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(PREFIX)/lib/windows_telnet.o
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
372 $(OBJCOPY) -O binary $@ $(PREFIX)/bin/windows_telnet.bin
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
373 }
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
374
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
375 }
5629b7c30ed2 Various patches from Matt Jerdonek and Oyvind Harboe:
nickg
parents: 1586
diff changeset
376
1586
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
377 }
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
378
e0d88dc6a92f Added PPP network support.
nickg
parents:
diff changeset
379 # EOF ppp.cdl