iPXE
fault.h
Go to the documentation of this file.
00001 #ifndef CONFIG_FAULT_H
00002 #define CONFIG_FAULT_H
00003 
00004 /** @file
00005  *
00006  * Fault injection
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #include <config/defaults.h>
00013 
00014 /* Drop every N transmitted or received network packets */
00015 #define NETDEV_DISCARD_RATE 0
00016 
00017 /* Drop every N transmitted or received PeerDist discovery packets */
00018 #define PEERDISC_DISCARD_RATE 0
00019 
00020 /* Annul every N PeerDist download attempts */
00021 #define PEERBLK_ANNUL_RATE 0
00022 
00023 /* Stall every N PeerDist download attempts */
00024 #define PEERBLK_STALL_RATE 0
00025 
00026 /* Abort every N PeerDist download attempts */
00027 #define PEERBLK_ABORT_RATE 0
00028 
00029 /* Corrupt every N received PeerDist packets */
00030 #define PEERBLK_CORRUPT_RATE 0
00031 
00032 #include <config/local/fault.h>
00033 
00034 #endif /* CONFIG_FAULT_H */