_TftpServerContext Struct Reference

TFTP server context. More...

#include <tftp_server.h>

Data Fields

TftpServerSettings settings
 User settings. More...
 
bool_t running
 Operational state of the TFTP server. More...
 
bool_t stop
 Stop request. More...
 
OsEvent event
 Event object used to poll the sockets. More...
 
OsTaskParameters taskParams
 Task parameters. More...
 
OsTaskId taskId
 Task identifier. More...
 
Socketsocket
 Listening socket. More...
 
TftpClientConnection connection [TFTP_SERVER_MAX_CONNECTIONS]
 Client connections. More...
 
SocketEventDesc eventDesc [TFTP_SERVER_MAX_CONNECTIONS+1]
 The events the application is interested in. More...
 
uint8_t packet [TFTP_SERVER_MAX_PACKET_SIZE]
 Incoming TFTP packet. More...
 

Detailed Description

TFTP server context.

Definition at line 205 of file tftp_server.h.

Field Documentation

◆ connection

Client connections.

Definition at line 214 of file tftp_server.h.

◆ event

OsEvent event

Event object used to poll the sockets.

Definition at line 210 of file tftp_server.h.

◆ eventDesc

The events the application is interested in.

Definition at line 215 of file tftp_server.h.

◆ packet

uint8_t packet[TFTP_SERVER_MAX_PACKET_SIZE]

Incoming TFTP packet.

Definition at line 216 of file tftp_server.h.

◆ running

bool_t running

Operational state of the TFTP server.

Definition at line 208 of file tftp_server.h.

◆ settings

User settings.

Definition at line 207 of file tftp_server.h.

◆ socket

Socket* socket

Listening socket.

Definition at line 213 of file tftp_server.h.

◆ stop

bool_t stop

Stop request.

Definition at line 209 of file tftp_server.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 212 of file tftp_server.h.

◆ taskParams

OsTaskParameters taskParams

Task parameters.

Definition at line 211 of file tftp_server.h.


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