_TftpClientConnection Struct Reference

TFTP client connection. More...

#include <tftp_server.h>

Data Fields

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

Detailed Description

TFTP client connection.

Definition at line 187 of file tftp_server.h.

Field Documentation

◆ block

uint16_t block

Block number.

Definition at line 193 of file tftp_server.h.

◆ file

void* file

File pointer.

Definition at line 192 of file tftp_server.h.

◆ packet

uint8_t packet[TFTP_SERVER_MAX_PACKET_SIZE]

Outgoing TFTP packet.

Definition at line 196 of file tftp_server.h.

◆ packetLen

size_t packetLen

Length of the outgoing packet.

Definition at line 197 of file tftp_server.h.

◆ retransmitCount

uint_t retransmitCount

Retransmission counter.

Definition at line 195 of file tftp_server.h.

◆ settings

TftpServerSettings* settings

User settings.

Definition at line 189 of file tftp_server.h.

◆ socket

Socket* socket

Underlying socket.

Definition at line 191 of file tftp_server.h.

◆ state

Connection state.

Definition at line 190 of file tftp_server.h.

◆ timestamp

systime_t timestamp

Time stamp to manage retransmissions.

Definition at line 194 of file tftp_server.h.


The documentation for this struct was generated from the following file: