VirtualBox

source: vbox/trunk/src/VBox/NetworkServices/NAT/tftp.h@ 53349

Last change on this file since 53349 was 48001, checked in by vboxsync, 11 years ago

Move proxy sources from Devices/Network/lwip-new/vbox
to NetworkServices/NAT where they belong.

  • Property svn:eol-style set to native
File size: 815 bytes
Line 
1/* -*- indent-tabs-mode: nil; -*- */
2#ifndef _TFTP_H_
3#define _TFTP_H_
4
5#define TFTP_SERVER_PORT 69
6
7/* opcodes */
8#define TFTP_RRQ 1
9#define TFTP_WRQ 2
10#define TFTP_DATA 3
11#define TFTP_ACK 4
12#define TFTP_ERROR 5
13/* RFC 2347 */
14#define TFTP_OACK 6
15
16
17/* error codes */
18#define TFTP_EUNDEF 0 /* Not defined, see error message (if any). */
19#define TFTP_ENOENT 1 /* File not found. */
20#define TFTP_EACCESS 2 /* Access violation. */
21#define TFTP_EFBIG 3 /* Disk full or allocation exceeded. */
22#define TFTP_ENOSYS 4 /* Illegal TFTP operation. */
23#define TFTP_ESRCH 5 /* Unknown transfer ID. */
24#define TFTP_EEXIST 6 /* File already exists. */
25#define TFTP_EUSER 7 /* No such user. */
26/* RFC 2347 */
27#define TFTP_EONAK 8 /* Option refused. */
28
29
30#endif /* _TFTP_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette