_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...
 
OsTaskId taskId
 Task identifier. More...
 
OsTaskTcb taskTcb
 Task control block. More...
 
OsStackType taskStack [TFTP_SERVER_STACK_SIZE]
 Task stack. 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 204 of file tftp_server.h.

Field Documentation

◆ connection

Client connections.

Definition at line 216 of file tftp_server.h.

◆ event

OsEvent event

Event object used to poll the sockets.

Definition at line 209 of file tftp_server.h.

◆ eventDesc

The events the application is interested in.

Definition at line 217 of file tftp_server.h.

◆ packet

uint8_t packet[TFTP_SERVER_MAX_PACKET_SIZE]

Incoming TFTP packet.

Definition at line 218 of file tftp_server.h.

◆ running

bool_t running

Operational state of the TFTP server.

Definition at line 207 of file tftp_server.h.

◆ settings

User settings.

Definition at line 206 of file tftp_server.h.

◆ socket

Socket* socket

Listening socket.

Definition at line 215 of file tftp_server.h.

◆ stop

bool_t stop

Stop request.

Definition at line 208 of file tftp_server.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 210 of file tftp_server.h.

◆ taskStack

Task stack.

Definition at line 213 of file tftp_server.h.

◆ taskTcb

OsTaskTcb taskTcb

Task control block.

Definition at line 212 of file tftp_server.h.


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