summaryrefslogtreecommitdiff
path: root/include/arpa/tftp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arpa/tftp.h')
-rw-r--r--include/arpa/tftp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h
index 62808559899..0f6fe83ae25 100644
--- a/include/arpa/tftp.h
+++ b/include/arpa/tftp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tftp.h,v 1.5 2004/01/27 02:25:30 deraadt Exp $ */
+/* $OpenBSD: tftp.h,v 1.6 2006/07/20 09:42:44 mglocker Exp $ */
/* $NetBSD: tftp.h,v 1.3 1994/10/26 00:56:48 cgd Exp $ */
/*
@@ -39,6 +39,8 @@
* Trivial File Transfer Protocol (IEN-133)
*/
#define SEGSIZE 512 /* data segment size */
+#define SEGSIZE_MIN 8 /* minimal data segment size */
+#define SEGSIZE_MAX 65464 /* maximal data segment size */
/*
* Packet types.