summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2006-08-09 17:54:17 +0200
committerMichael Brown2006-08-09 17:54:17 +0200
commitc3a4f3c5da967b08c402c5ea7bb24dfd420d0feb (patch)
tree862dfd436bc28c76fb445d154d2ac0e8847642a9 /src/include
parentDon't call stop_timer() from within the timer expiry callback; it's (diff)
downloadipxe-c3a4f3c5da967b08c402c5ea7bb24dfd420d0feb.tar.gz
ipxe-c3a4f3c5da967b08c402c5ea7bb24dfd420d0feb.tar.xz
ipxe-c3a4f3c5da967b08c402c5ea7bb24dfd420d0feb.zip
Towards an RFC2988-compliant timer.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/retry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/retry.h b/src/include/gpxe/retry.h
index 8f197bc36..7291db234 100644
--- a/src/include/gpxe/retry.h
+++ b/src/include/gpxe/retry.h
@@ -17,6 +17,8 @@ struct retry_timer {
unsigned long timeout;
/** Start time (in ticks) */
unsigned long start;
+ /** Retry count */
+ unsigned int count;
/** Timer expired callback
*
* @v timer Retry timer