comparison packages/net/ppp/current/cdl/ppp.cdl @ 1694:5629b7c30ed2

Various patches from Matt Jerdonek and Oyvind Harboe: * cdl/ppp.cdl: * src/ipcp.c: Add option to disallow negotiation of old-style VJ compression * include/ppp.h: Add structure to track ppp failure reasons * include/pppd.h: Fix compiler warning * src/auth.c: * src/lcp.c: * src/pppd.c: Add code to track ppp failure reasons * src/chat.c: Fixes to clear out buffer space to allow chat script to run multiple times. Note: function is still not thread-safe * src/sys-ecos.c: Reset carrier detected bit when carrier lost Reset ppp_tty control block when PPP started * tests/windows_telnet.c: * cdl/ppp.cdl: Added windows_telnet example application. Connects to Windows PPP server and waits for a telnet session.
author nickg
date Fri, 23 Jul 2004 11:00:40 +0000
parents e0d88dc6a92f
children
comparison
equal deleted inserted replaced
1693:9f18943c887e 1694:5629b7c30ed2
160 cdl_component CYGPKG_PPP_COMPRESSION { 160 cdl_component CYGPKG_PPP_COMPRESSION {
161 display "PPP compression options" 161 display "PPP compression options"
162 default_value 0 162 default_value 0
163 description "This component provides control over 163 description "This component provides control over
164 PPP compression features. WARNING: at 164 PPP compression features. WARNING: at
165 present there are problems with this, and 165 present there are problems with BSD and ZLIB,
166 the compression code needs to allocate large 166 and the compression code needs to allocate large
167 amounts of memory. Hence this is all currently 167 amounts of memory. Hence this is all currently
168 disabled." 168 disabled."
169 169
170 cdl_option PPP_BSDCOMP { 170 cdl_option PPP_BSDCOMP {
171 display "Enable BSD compression" 171 display "Enable BSD compression"
181 compile ppp_deflate.c zlib.c 181 compile ppp_deflate.c zlib.c
182 description "This option enables inclusion of ZLIB 182 description "This option enables inclusion of ZLIB
183 compression into the PPP protocol." 183 compression into the PPP protocol."
184 } 184 }
185 185
186 cdl_option PPP_INHIBIT_OLD_VJ_COMPRESSION {
187 display "Inhibit older-style VJ compression"
188 flavor bool
189 default_value 0
190 description "This option prevents the IPCP state machine
191 from negotiating the pre-RFC1332 Van Jacobson
192 compression. Checking this option could
193 improve IPCP negotiation time at the expense
194 of compatibility."
195 }
186 } 196 }
187 197
188 cdl_component CYGPKG_PPP_CHAT { 198 cdl_component CYGPKG_PPP_CHAT {
189 display "Chat script support" 199 display "Chat script support"
190 default_value 1 200 default_value 1
308 } 318 }
309 description "This option gives the set of baud rates for which some 319 description "This option gives the set of baud rates for which some
310 tests will execute." 320 tests will execute."
311 } 321 }
312 } 322 }
323 cdl_option CYGBLD_PPP_WINDOWS_TELNET_APP {
324 display "Build complete eCos PPP client interfacing to Windows PPP server"
325 default_value 0
326 make -priority 320 {
327 <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
328 @sh -c "mkdir -p $(dir $@)"
329 $(CC) -c $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/windows_telnet.o $(REPOSITORY)/$(PACKAGE)/tests/windows_telnet.c
330 $(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(PREFIX)/lib/windows_telnet.o
331 $(OBJCOPY) -O binary $@ $(PREFIX)/bin/windows_telnet.bin
332 }
333
334 }
335
313 } 336 }
314 337
315 # EOF ppp.cdl 338 # EOF ppp.cdl