~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/ipxe/src/config/fault.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 */