Data Structures | |
| struct | tftphdr |
Defines | |
| #define | TFTP_RRQ 01 |
| TFTP read request packet. | |
| #define | TFTP_WRQ 02 |
| TFTP write request packet. | |
| #define | TFTP_DATA 03 |
| TFTP data packet. | |
| #define | TFTP_ACK 04 |
| TFTP acknowledgement packet. | |
| #define | TFTP_ERROR 05 |
| TFTP error packet. | |
| #define | TFTP_OACK 06 |
| TFTP option acknowledgement packet. | |
Typedefs | |
| typedef tftphdr | TFTPHDR |
Functions | |
| void | FlashPage (u_short page, void *data, u_short len) |
| Erase and program a page in the flash ROM. | |
| int | MakeRequest (TFTPHDR *th, u_short request, u_char *name, u_char *mode) |
| Set up a TFTP header for a file request. | |
| int | TftpRecv (void) |
| Download a file from a TFTP server and burn it into the flash ROM. | |
|
||||||||||||||||
|
Erase and program a page in the flash ROM.
|
|
||||||||||||||||||||
|
Set up a TFTP header for a file request.
|
|
|
Download a file from a TFTP server and burn it into the flash ROM.
|