summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tftp/extern.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tftp/extern.h b/usr.bin/tftp/extern.h
index 97b6430f7ae..16e99e39b1d 100644
--- a/usr.bin/tftp/extern.h
+++ b/usr.bin/tftp/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.4 2003/06/03 02:56:18 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.5 2006/07/26 16:43:31 deraadt Exp $ */
/* $NetBSD: extern.h,v 1.2 1994/12/08 09:51:24 jtc Exp $ */
/*
@@ -34,3 +34,7 @@
void recvfile(int, char *, char *);
void sendfile(int, char *, char *);
+
+#define TIMEOUT 5 /* packet rexmt timeout */
+#define TIMEOUT_MIN 1 /* minimal packet rexmt timeout */
+#define TIMEOUT_MAX 255 /* maximal packet rexmt timeout */