Back to index

glibc  2.9
Classes | Defines | Functions | Variables
tftp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tftphdr

Defines

#define SEGSIZE   512 /* data segment size */
#define RRQ   01 /* read request */
#define WRQ   02 /* write request */
#define DATA   03 /* data packet */
#define ACK   04 /* acknowledgement */
#define ERROR   05 /* error code */
#define th_block   th_u.tu_block
#define th_code   th_u.tu_code
#define th_stuff   th_u.tu_stuff
#define th_msg   th_data
#define EUNDEF   0 /* not defined */
#define ENOTFOUND   1 /* file not found */
#define EACCESS   2 /* access violation */
#define ENOSPACE   3 /* disk full or allocation exceeded */
#define EBADOP   4 /* illegal TFTP operation */
#define EBADID   5 /* unknown transfer ID */
#define EEXISTS   6 /* file already exists */
#define ENOUSER   7 /* no such user */

Functions

struct tftphdr __attribute__ ((__packed__))

Variables

unsigned short tu_block
short tu_code
char tu_stuff [1]
short th_opcode
char th_data [1]

Define Documentation

#define ACK   04 /* acknowledgement */

Definition at line 46 of file tftp.h.

#define DATA   03 /* data packet */

Definition at line 45 of file tftp.h.

#define EACCESS   2 /* access violation */

Definition at line 69 of file tftp.h.

#define EBADID   5 /* unknown transfer ID */

Definition at line 72 of file tftp.h.

#define EBADOP   4 /* illegal TFTP operation */

Definition at line 71 of file tftp.h.

#define EEXISTS   6 /* file already exists */

Definition at line 73 of file tftp.h.

#define ENOSPACE   3 /* disk full or allocation exceeded */

Definition at line 70 of file tftp.h.

#define ENOTFOUND   1 /* file not found */

Definition at line 68 of file tftp.h.

#define ENOUSER   7 /* no such user */

Definition at line 74 of file tftp.h.

#define ERROR   05 /* error code */

Definition at line 47 of file tftp.h.

#define EUNDEF   0 /* not defined */

Definition at line 67 of file tftp.h.

#define RRQ   01 /* read request */

Definition at line 43 of file tftp.h.

#define SEGSIZE   512 /* data segment size */

Definition at line 38 of file tftp.h.

#define th_block   th_u.tu_block

Definition at line 59 of file tftp.h.

#define th_code   th_u.tu_code

Definition at line 60 of file tftp.h.

#define th_msg   th_data

Definition at line 62 of file tftp.h.

#define th_stuff   th_u.tu_stuff

Definition at line 61 of file tftp.h.

#define WRQ   02 /* write request */

Definition at line 44 of file tftp.h.


Function Documentation

struct tftphdr __attribute__ ( (__packed__)  )

Variable Documentation

char th_data[1]

Definition at line 64 of file tftp.h.

short th_opcode

Definition at line 58 of file tftp.h.

unsigned short tu_block

Definition at line 56 of file tftp.h.

short tu_code

Definition at line 57 of file tftp.h.

char tu_stuff

Definition at line 58 of file tftp.h.