|
int | fd |
|
uint32_t | timeout_ms |
|
uint16_t | src_port |
|
char | src_addr_str [TFTP_MAX_IP_ADDR_STRLEN] |
|
bool | result |
|
union { |
struct { |
uint16_t block_num |
|
} ack |
|
struct { |
size_t options_size |
|
char options [TFTP_MAX_OPTIONS_SIZE] |
|
} oack |
|
struct { |
uint16_t block_num |
|
size_t start |
|
size_t len |
|
uint8_t(* get_data )(size_t pos) |
|
} data |
|
struct { |
uint16_t error_code |
|
char err_msg [TFTP_MAX_ERROR_STRLEN] |
|
} error |
|
struct { |
size_t len |
|
uint8_t bytes [0] |
|
} raw |
|
} | content |
|
The documentation for this struct was generated from the following file: