TftpClientContext Struct Reference

TFTP client context. More...

#include <tftp_client.h>

Data Fields

NetInterfaceinterface
 Underlying network interface. More...
 
IpAddr serverIpAddr
 
uint16_t serverPort
 
uint16_t serverTid
 
Socketsocket
 Underlying UDP socket. More...
 
TftpClientState state
 TFTP client state. More...
 
uint16_t block
 Block number. More...
 
systime_t timestamp
 Time stamp to manage retransmissions. More...
 
uint_t retransmitCount
 Retransmission counter. More...
 
uint8_t inPacket [TFTP_CLIENT_MAX_PACKET_SIZE]
 Incoming TFTP packet. More...
 
size_t inPacketLen
 Length of the outgoing packet. More...
 
size_t inDataLen
 
size_t inDataPos
 
uint8_t outPacket [TFTP_CLIENT_MAX_PACKET_SIZE]
 Outgoing TFTP packet. More...
 
size_t outPacketLen
 Length of the outgoing packet. More...
 
size_t outDataLen
 

Detailed Description

TFTP client context.

Definition at line 128 of file tftp_client.h.

Field Documentation

◆ block

uint16_t block

Block number.

Definition at line 136 of file tftp_client.h.

◆ inDataLen

size_t inDataLen

Definition at line 141 of file tftp_client.h.

◆ inDataPos

size_t inDataPos

Definition at line 142 of file tftp_client.h.

◆ inPacket

uint8_t inPacket[TFTP_CLIENT_MAX_PACKET_SIZE]

Incoming TFTP packet.

Definition at line 139 of file tftp_client.h.

◆ inPacketLen

size_t inPacketLen

Length of the outgoing packet.

Definition at line 140 of file tftp_client.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 130 of file tftp_client.h.

◆ outDataLen

size_t outDataLen

Definition at line 145 of file tftp_client.h.

◆ outPacket

uint8_t outPacket[TFTP_CLIENT_MAX_PACKET_SIZE]

Outgoing TFTP packet.

Definition at line 143 of file tftp_client.h.

◆ outPacketLen

size_t outPacketLen

Length of the outgoing packet.

Definition at line 144 of file tftp_client.h.

◆ retransmitCount

uint_t retransmitCount

Retransmission counter.

Definition at line 138 of file tftp_client.h.

◆ serverIpAddr

IpAddr serverIpAddr

Definition at line 131 of file tftp_client.h.

◆ serverPort

uint16_t serverPort

Definition at line 132 of file tftp_client.h.

◆ serverTid

uint16_t serverTid

Definition at line 133 of file tftp_client.h.

◆ socket

Socket* socket

Underlying UDP socket.

Definition at line 134 of file tftp_client.h.

◆ state

TFTP client state.

Definition at line 135 of file tftp_client.h.

◆ timestamp

systime_t timestamp

Time stamp to manage retransmissions.

Definition at line 137 of file tftp_client.h.


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