summaryrefslogtreecommitdiffstats
path: root/src/config/general.h
diff options
context:
space:
mode:
authorMichael Brown2015-07-22 03:56:49 +0200
committerMichael Brown2015-07-22 22:17:47 +0200
commitd0325b1da64c8ff611cd4c3151e266dd2685c462 (patch)
treeaa8daf27408752e2c88cba632fe8443682922b50 /src/config/general.h
parent[tcp] Ensure FIN is actually sent if connection is closed while idle (diff)
downloadipxe-d0325b1da64c8ff611cd4c3151e266dd2685c462.tar.gz
ipxe-d0325b1da64c8ff611cd4c3151e266dd2685c462.tar.xz
ipxe-d0325b1da64c8ff611cd4c3151e266dd2685c462.zip
[fault] Generalise NETDEV_DISCARD_RATE fault injection mechanism
Provide a generic inject_fault() function that can be used to inject random faults with configurable probabilities. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/general.h')
-rw-r--r--src/config/general.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/config/general.h b/src/config/general.h
index 9a5fbca9..35a9030e 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -156,7 +156,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*
*/
-#define NETDEV_DISCARD_RATE 0 /* Drop every N packets (0=>no drop) */
#undef BUILD_SERIAL /* Include an automatic build serial
* number. Add "bs" to the list of
* make targets. For example: