_TftpClientConnection Struct Reference

TFTP client connection. More...

#include <tftp_server.h>

Data Fields

TftpConnectionState state
 Connection state. More...
 
TftpServerContextcontext
 TFTP server context. More...
 
NetInterfaceinterface
 Underlying network interface. More...
 
IpAddr clientIpAddr
 Client's IP address. More...
 
uint16_t clientPort
 Client's port. 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 188 of file tftp_server.h.

Field Documentation

◆ block

uint16_t block

Block number.

Definition at line 197 of file tftp_server.h.

◆ clientIpAddr

IpAddr clientIpAddr

Client's IP address.

Definition at line 193 of file tftp_server.h.

◆ clientPort

uint16_t clientPort

Client's port.

Definition at line 194 of file tftp_server.h.

◆ context

TFTP server context.

Definition at line 191 of file tftp_server.h.

◆ file

void* file

File pointer.

Definition at line 196 of file tftp_server.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 192 of file tftp_server.h.

◆ packet

uint8_t packet[TFTP_SERVER_MAX_PACKET_SIZE]

Outgoing TFTP packet.

Definition at line 200 of file tftp_server.h.

◆ packetLen

size_t packetLen

Length of the outgoing packet.

Definition at line 201 of file tftp_server.h.

◆ retransmitCount

uint_t retransmitCount

Retransmission counter.

Definition at line 199 of file tftp_server.h.

◆ socket

Socket* socket

Underlying socket.

Definition at line 195 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 198 of file tftp_server.h.


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