Go to the documentation of this file.
8 #define SEGSIZE 512 // data segment size
10 #define TFTP_READ_REQUEST 1 // Packet types
11 #define TFTP_WRITE_REQUEST 2
12 #define TFTP_DATA_PACKET 3
13 #define TFTP_ACKNOWLEDGE 4
17 #define EUNDEF 0 // not defined
18 #define ENOTFOUND 1 // file not found
19 #define EACCESS 2 // access violation
20 #define ENOSPACE 3 // disk full or allocation exceeded
21 #define EBADOP 4 // illegal TFTP operation
22 #define EBADID 5 // unknown transfer ID
23 #define EEXISTS 6 // file already exists
24 #define ENOUSER 7 // no such user