iPXE
fault.h
Go to the documentation of this file.
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 FILE_SECBOOT ( PERMITTED );
12 
13 #include <config/defaults.h>
14 
15 /* Drop every N transmitted or received network packets */
16 #define NETDEV_DISCARD_RATE 0
17 
18 /* Delay transmissions to neighbour-resolved destinations (in ms) */
19 #define NEIGHBOUR_DELAY_MS 0
20 
21 /* Drop every N transmitted or received PeerDist discovery packets */
22 #define PEERDISC_DISCARD_RATE 0
23 
24 /* Annul every N PeerDist download attempts */
25 #define PEERBLK_ANNUL_RATE 0
26 
27 /* Stall every N PeerDist download attempts */
28 #define PEERBLK_STALL_RATE 0
29 
30 /* Abort every N PeerDist download attempts */
31 #define PEERBLK_ABORT_RATE 0
32 
33 /* Corrupt every N received PeerDist packets */
34 #define PEERBLK_CORRUPT_RATE 0
35 
36 /* Experience virtual machine migration on every N watchdog checks */
37 #define VM_MIGRATED_RATE 0
38 
39 /* Poison .bss section before early execution */
40 #define POISON_BSS 0
41 
42 #include <config/local/fault.h>
43 
44 #endif /* CONFIG_FAULT_H */
FILE_SECBOOT(PERMITTED)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)