comparison packages/io/eth/current/cdl/eth_drivers.cdl @ 126:518f42066aba ecos-sw-2000-09-19

Merge from eCos master repository on 2000-09-19-06:25:26-BST
author jlarmour
date Tue, 19 Sep 2000 05:53:51 +0000
parents 77cec8369160
children eb9fd8c04db3
comparison
equal deleted inserted replaced
125:b4407dc7f59d 126:518f42066aba
51 flavor bool 51 flavor bool
52 active_if CYGPKG_NET 52 active_if CYGPKG_NET
53 no_define 53 no_define
54 default_value 1 54 default_value 1
55 compile net/eth_drv.c 55 compile net/eth_drv.c
56
57 cdl_component CYGPKG_IO_ETH_DRIVERS_SIMULATED_FAILURES {
58 display "Simulate network failures for testing"
59 flavor bool
60 default_value 0
61 description "
62 This package contains a suite of simulated failure modes
63 for the ethernet device layer, including dropping and/or
64 corrupting received packets, dropping packets queued for
65 transmission, and simulating a complete network break.
66 It requires the kernel as a source of time information."
67
68 cdl_option CYGPKG_IO_ETH_DRIVERS_SIMULATE_DROP_RX {
69 display "Drop incoming packets (percentage)"
70 flavor booldata
71 legal_values 10 50 80
72 default_value 10
73 }
74
75 cdl_option CYGPKG_IO_ETH_DRIVERS_SIMULATE_CORRUPT_RX {
76 display "Corrupt incoming packets (percentage)"
77 flavor booldata
78 legal_values 10 50 80
79 default_value 10
80 }
81
82 cdl_option CYGPKG_IO_ETH_DRIVERS_SIMULATE_DROP_TX {
83 display "Drop outgoing packets (percentage)"
84 flavor booldata
85 legal_values 10 50 80
86 default_value 10
87 }
88
89 cdl_option CYGPKG_IO_ETH_DRIVERS_SIMULATE_LINE_CUT {
90 display "Simulate a line cut from time to time"
91 flavor bool
92 default_value 0
93 description "
94 This option causes the system to drop all packets for a
95 short random period (10s of seconds), and then act
96 normally for up to 4 times that long. This simulates your
97 sysadmin fiddling with plugs in the network switch
98 cupboard."
99 }
100 }
56 } 101 }
57 102
58 cdl_component CYGPKG_IO_ETH_DRIVERS_STAND_ALONE { 103 cdl_component CYGPKG_IO_ETH_DRIVERS_STAND_ALONE {
59 display "Support for stand-alone network stack." 104 display "Support for stand-alone network stack."
60 flavor bool 105 flavor bool