Barrelfish
Typedefs | Enumerations
tftp_internal.h File Reference

TFTP library. More...

Typedefs

typedef enum tftp_op tpft_op_t
 < TFTP Operation Codes
 
typedef enum tpft_st tftp_st_t
 < TFTP state
 
typedef enum tftp_mode tftp_mode_t
 < operation mode of the TFTP connection
 
typedef enum tftp_err tftp_err_t
 < possible tftp errors in packages
 

Enumerations

Detailed Description

TFTP library.

Enumeration Type Documentation

enum tftp_err

< possible tftp errors in packages

Enumerator
TFTP_ERR_NOT_DEFINED 

not defined

TFTP_ERR_NOT_FOUND 

file not found

TFTP_ERR_ACCESS_DENIED 

access denied

TFTP_ERR_DISK_FULL 

disk is full

TFTP_ERR_UNKNOWN_TID 

unkown transfer id

TFTP_ERR_ILLEGAL_OP 

illegal operation

TFTP_ERR_FILE_EXISTS 

destination file exist

TFTP_ERR_NO_SUCH_USER 

no such user

TFTP_ERR_INVALID_BUFFER 

invalid buffer

enum tftp_mode

< operation mode of the TFTP connection

Enumerator
TFTP_MODE_INVALID 

invalid operation mode

TFTP_MODE_OCTET 

use octet moded

TFTP_MODE_NETASCII 

use netsascii mode

TFTP_MODE_MAIL 

use mail mode

enum tftp_op

< TFTP Operation Codes

Enumerator
TFTP_OP_INVALID 

op code is invalid

TFTP_OP_READ_REQ 

read request

TFTP_OP_WRITE_REQ 

write request

TFTP_OP_DATA 

data response

TFTP_OP_ACK 

ack response

TFTP_OP_ERROR 

error response

enum tpft_st

< TFTP state

Enumerator
TFTP_ST_INVALID 

state is invalid

TFTP_ST_CLOSED 

connection is closed

TFTP_ST_IDLE 

the client is connected and in the idle state

TFTP_ST_LAST_ACK_SENT 

last ack has been sent

TFTP_ST_LAST_DATA_SENT 

last data response sent

TFTP_ST_ERROR 

tftp request resulted in an error

TFTP_ST_READ_REQ_SENT 

a read request has been sent

TFTP_ST_WRITE_REQ_SENT 

a write request has been sent

TFTP_ST_DATA_SENT 

data respnse is being sent

TFTP_ST_ACK_SENT 

ack has been sent