summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2015-08-17 14:16:37 +0200
committerMichael Brown2015-08-17 14:24:39 +0200
commit4d032d5db8ef7e6713991afbc2388f0be21abd48 (patch)
tree9a5ea2f918c1c1f0714f6fb6966e8687992d4d10 /src/config
parent[peerdist] Add segment discovery mechanism (diff)
downloadipxe-4d032d5db8ef7e6713991afbc2388f0be21abd48.tar.gz
ipxe-4d032d5db8ef7e6713991afbc2388f0be21abd48.tar.xz
ipxe-4d032d5db8ef7e6713991afbc2388f0be21abd48.zip
[peerdist] Add individual block download mechanism
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/fault.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/config/fault.h b/src/config/fault.h
index 24c8db41..5024a8ff 100644
--- a/src/config/fault.h
+++ b/src/config/fault.h
@@ -17,6 +17,18 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/* Drop every N transmitted or received PeerDist discovery packets */
#define PEERDISC_DISCARD_RATE 0
+/* Annul every N PeerDist download attempts */
+#define PEERBLK_ANNUL_RATE 0
+
+/* Stall every N PeerDist download attempts */
+#define PEERBLK_STALL_RATE 0
+
+/* Abort every N PeerDist download attempts */
+#define PEERBLK_ABORT_RATE 0
+
+/* Corrupt every N received PeerDist packets */
+#define PEERBLK_CORRUPT_RATE 0
+
#include <config/local/fault.h>
#endif /* CONFIG_FAULT_H */