File nut/boot/eboot/tftp.h

Included in: nut/boot/eboot/eboot.h

Preprocessor definitions

#define _TFTP_H

#define TFTP_RRQ 01

#define TFTP_WRQ 02

#define TFTP_DATA 03

#define TFTP_ACK 04

#define TFTP_ERROR 05

#define TFTP_OACK 06

#define SPORT 1024


Typedef TFTPHDR

typedef struct tftphdr TFTPHDR
struct tftphdr  
   {  
      short th_opcode;  
      union  
        {  
            short tu_block;  
            short tu_code;  
            char tu_stuff[1];  
        }  
     th_u;  
      char th_data[512];  
   }