Browse Source

TIMEOUT* values are not part of the protocol. tftp.h is a namespace

export of the protocol.  you shall not add non-protocol stuff to such
a file, period.
OPENBSD_4_0
deraadt 18 years ago
parent
commit
c36eddfe27
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/include/arpa/tftp.h

+ 1
- 4
src/include/arpa/tftp.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: tftp.h,v 1.7 2006/07/26 09:10:03 mglocker Exp $ */
/* $OpenBSD: tftp.h,v 1.8 2006/07/26 16:43:30 deraadt Exp $ */
/* $NetBSD: tftp.h,v 1.3 1994/10/26 00:56:48 cgd Exp $ */ /* $NetBSD: tftp.h,v 1.3 1994/10/26 00:56:48 cgd Exp $ */
/* /*
@ -41,9 +41,6 @@
#define SEGSIZE 512 /* data segment size */ #define SEGSIZE 512 /* data segment size */
#define SEGSIZE_MIN 8 /* minimal data segment size */ #define SEGSIZE_MIN 8 /* minimal data segment size */
#define SEGSIZE_MAX 65464 /* maximal data segment size */ #define SEGSIZE_MAX 65464 /* maximal data segment size */
#define TIMEOUT 5 /* packet rexmt timeout */
#define TIMEOUT_MIN 1 /* minimal packet rexmt timeout */
#define TIMEOUT_MAX 255 /* maximal packet rexmt timeout */
/* /*
* Packet types. * Packet types.


Loading…
Cancel
Save