[efi] Register a device tree if provided by the platform firmware
[ipxe.git] / src / config / fault.h
1 #ifndef CONFIG_FAULT_H
2 #define CONFIG_FAULT_H
3
4 /** @file
5 *
6 * Fault injection
7 *
8 */
9
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
12 #include <config/defaults.h>
13
14 /* Drop every N transmitted or received network packets */
15 #define NETDEV_DISCARD_RATE 0
16
17 /* Drop every N transmitted or received PeerDist discovery packets */
18 #define PEERDISC_DISCARD_RATE 0
19
20 /* Annul every N PeerDist download attempts */
21 #define PEERBLK_ANNUL_RATE 0
22
23 /* Stall every N PeerDist download attempts */
24 #define PEERBLK_STALL_RATE 0
25
26 /* Abort every N PeerDist download attempts */
27 #define PEERBLK_ABORT_RATE 0
28
29 /* Corrupt every N received PeerDist packets */
30 #define PEERBLK_CORRUPT_RATE 0
31
32 #include <config/local/fault.h>
33
34 #endif /* CONFIG_FAULT_H */