VirtualBox

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

最後變更 在這個檔案從49828是 48001,由 vboxsync 提交於 11 年 前

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 815 位元組
 
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_ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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