Browse Source

TSIZE & TIMEOUT support; from freebsd via tholo

OPENBSD_3_5
deraadt 21 years ago
parent
commit
b6b451fc3b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/include/arpa/tftp.h

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

@ -1,4 +1,4 @@
/* $OpenBSD: tftp.h,v 1.4 2003/06/02 19:34:12 millert Exp $ */
/* $OpenBSD: tftp.h,v 1.5 2004/01/27 02:25: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 $ */
/* /*
@ -48,6 +48,7 @@
#define DATA 03 /* data packet */ #define DATA 03 /* data packet */
#define ACK 04 /* acknowledgement */ #define ACK 04 /* acknowledgement */
#define ERROR 05 /* error code */ #define ERROR 05 /* error code */
#define OACK 06 /* option acknowledgement */
struct tftphdr { struct tftphdr {
u_int16_t th_opcode; /* packet type */ u_int16_t th_opcode; /* packet type */
@ -75,5 +76,6 @@ struct tftphdr {
#define EBADID 5 /* unknown transfer ID */ #define EBADID 5 /* unknown transfer ID */
#define EEXISTS 6 /* file already exists */ #define EEXISTS 6 /* file already exists */
#define ENOUSER 7 /* no such user */ #define ENOUSER 7 /* no such user */
#define EOPTNEG 8 /* option negotiation failed */
#endif /* !_TFTP_H_ */ #endif /* !_TFTP_H_ */

Loading…
Cancel
Save