Setting NETDEV_DISCARD_RATE to a non-zero value will cause one in every NETDEV_DISCARD_RATE packets to be discarded at random on both the transmit and receive datapaths, allowing the robustness of upper-layer network protocols to be tested even in simulation environments that provide wholly reliable packet transmission. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
134 |
|
134 |
|
135 |
|
135 |
|
136 |
|
136 |
|
|
137 |
|
|
137 |
|
138 |
|
138 |
|
139 |
|
139 |
|
140 |
|
|
|
||
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
26 |
|
|
27 |
|
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
|
|
||
126 |
|
127 |
|
127 |
|
128 |
|
128 |
|
129 |
|
|
130 |
|
|
129 |
|
131 |
|
130 |
|
132 |
|
|
133 |
|
|
131 |
|
134 |
|
132 |
|
135 |
|
133 |
|
136 |
|
134 |
|
137 |
|
135 |
|
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
136 |
|
147 |
|
137 |
|
148 |
|
138 |
|
149 |
|
|
|
||
218 |
|
229 |
|
219 |
|
230 |
|
220 |
|
231 |
|
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
221 |
|
239 |
|
222 |
|
240 |
|
223 |
|
241 |
|