diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-01-27 02:25:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-01-27 02:25:31 +0000 |
commit | d3ed140889dfaa0d9084cdd9e2d327f6e3756ee3 (patch) | |
tree | 23b5cc3fb7fdf04af43a1f6b479641009a670606 /include | |
parent | a96eacd01d979590f9c24e753283038e31ecd9b2 (diff) |
TSIZE & TIMEOUT support; from freebsd via tholo
Diffstat (limited to 'include')
-rw-r--r-- | include/arpa/tftp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h index 727aacabb4a..62808559899 100644 --- a/include/arpa/tftp.h +++ b/include/arpa/tftp.h @@ -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 $ */ /* @@ -48,6 +48,7 @@ #define DATA 03 /* data packet */ #define ACK 04 /* acknowledgement */ #define ERROR 05 /* error code */ +#define OACK 06 /* option acknowledgement */ struct tftphdr { u_int16_t th_opcode; /* packet type */ @@ -75,5 +76,6 @@ struct tftphdr { #define EBADID 5 /* unknown transfer ID */ #define EEXISTS 6 /* file already exists */ #define ENOUSER 7 /* no such user */ +#define EOPTNEG 8 /* option negotiation failed */ #endif /* !_TFTP_H_ */ |