Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

tftp_common.h File Reference

tftp_common.h File Reference

Definitions common to TFTP client and server. More...

Go to the source code of this file.

Enumerations

enum  TftpOpcode {
  TFTP_OPCODE_RRQ = 1, TFTP_OPCODE_WRQ = 2, TFTP_OPCODE_DATA = 3, TFTP_OPCODE_ACK = 4,
  TFTP_OPCODE_ERROR = 5, TFTP_OPCODE_OACK = 6
}
 

TFTP opcodes.

More...
enum  TftpErrorCode
 

TFTP error codes.

More...

Detailed Description

Definitions common to TFTP client and server.

License

Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author:
Oryx Embedded SARL (www.oryx-embedded.com)
Version:
1.7.6

Definition in file tftp_common.h.


Enumeration Type Documentation

TFTP error codes.

Definition at line 58 of file tftp_common.h.

enum TftpOpcode

TFTP opcodes.

Enumerator:
TFTP_OPCODE_RRQ 

Read request.

TFTP_OPCODE_WRQ 

Write request.

TFTP_OPCODE_DATA 

Data.

TFTP_OPCODE_ACK 

Acknowledgment.

TFTP_OPCODE_ERROR 

Error.

TFTP_OPCODE_OACK 

Option acknowledgment.

Definition at line 43 of file tftp_common.h.