Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

_TftpClientConnection Struct Reference

_TftpClientConnection Struct Reference

TFTP client connection. More...

#include <tftp_server.h>

Data Fields

TftpServerSettingssettings
 User settings.
TftpConnectionState state
 Connection state.
Socket * socket
 Underlying socket.
void * file
 File pointer.
uint16_t block
 Block number.
systime_t timestamp
 Time stamp to manage retransmissions.
uint_t retransmitCount
 Retransmission counter.
uint8_t packet [TFTP_SERVER_MAX_PACKET_SIZE]
 Outgoing TFTP packet.
size_t packetLen
 Length of the outgoing packet.

Detailed Description

TFTP client connection.

Definition at line 174 of file tftp_server.h.


Field Documentation

uint16_t block

Block number.

Definition at line 180 of file tftp_server.h.

void* file

File pointer.

Definition at line 179 of file tftp_server.h.

uint8_t packet[TFTP_SERVER_MAX_PACKET_SIZE]

Outgoing TFTP packet.

Definition at line 183 of file tftp_server.h.

size_t packetLen

Length of the outgoing packet.

Definition at line 184 of file tftp_server.h.

Retransmission counter.

Definition at line 182 of file tftp_server.h.

User settings.

Definition at line 176 of file tftp_server.h.

Socket* socket

Underlying socket.

Definition at line 178 of file tftp_server.h.

Connection state.

Definition at line 177 of file tftp_server.h.

systime_t timestamp

Time stamp to manage retransmissions.

Definition at line 181 of file tftp_server.h.