summaryrefslogtreecommitdiffstats
path: root/include/arpa/tftp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arpa/tftp.h')
-rw-r--r--include/arpa/tftp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h
index 70a2029..84d7dc1 100644
--- a/include/arpa/tftp.h
+++ b/include/arpa/tftp.h
@@ -50,6 +50,7 @@
#define DATA 03 /* data packet */
#define ACK 04 /* acknowledgement */
#define ERROR 05 /* error code */
+#define OACK 06 /* option acknowledgement */
struct tftphdr {
unsigned short th_opcode; /* packet type */
@@ -77,5 +78,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_ */
OpenPOWER on IntegriCloud