|
|
int | fd |
| |
|
uint16_t | dest_port |
| |
|
char | dest_addr_str [TFTP_MAX_IP_ADDR_STRLEN] |
| |
|
bool | result |
| |
|
union { |
|
struct { |
|
uint16_t opcode |
| |
|
char filename [TFTP_MAX_FILENAME_STRLEN] |
| |
|
uint16_t block_size |
| |
|
uint16_t window_size |
| |
| } rwrq |
| |
|
struct { |
|
uint16_t block_num |
| |
| } ack |
| |
|
struct { |
|
uint16_t block_num |
| |
|
size_t start |
| |
|
size_t len |
| |
|
uint8_t(* get_data )(size_t pos) |
| |
| } data |
| |
|
struct { |
|
uint16_t error_code |
| |
| } error |
| |
| } | content |
| |
The documentation for this struct was generated from the following file: