Lines Matching defs:ret
177 int ret;
192 ret = tftp_state.ctx->read(tftp_state.handle, &payload[2], TFTP_MAX_PAYLOAD_SIZE);
193 if (ret < 0) {
199 pbuf_realloc(tftp_state.last_data, (u16_t)(TFTP_HEADER_LENGTH + ret));
283 int ret;
300 ret = tftp_state.ctx->write(tftp_state.handle, p);
301 if (ret < 0) {
398 err_t ret;
406 ret = udp_bind(pcb, IP_ANY_TYPE, TFTP_PORT);
407 if (ret != ERR_OK) {
409 return ret;