Embedded TCP/IP stack  3.9.4
TFTP Server and Client Configuration Parameters

TFTP services configuration file. More...

Detailed Description

TFTP services configuration file.

This section describes the parameters specific to the TFTP Server and Client.
The user may override and change the default values in the application-specific configuration file fnet_user_config.h.

Macros

#define FNET_CFG_TFTP_CLN
 TFTP Client support: More...
 
#define FNET_CFG_TFTP_SRV
 TFTP Server support: More...
 
#define FNET_CFG_TFTP_CLN_PORT   (FNET_HTONS(69u))
 TFTP server port number (in network byte order) used by TFTP-client service.
Default value is FNET_HTONS(69).

. More...

 
#define FNET_CFG_TFTP_CLN_TIMEOUT   (10u) /*sec*/
 Timeout for TFTP server response in seconds.
If no response from a TFTP server is received during this timeout, the TFTP-client service is released automatically.
Default value is 10.

. More...

 
#define FNET_CFG_TFTP_SRV_PORT   (FNET_HTONS(69u))
 Default TFTP server port number (in network byte order) used by TFTP-server service.
It can be changed during the TFTP server initialization by the fnet_tftp_srv_init() function.
Default value is FNET_HTONS(69).

. More...

 
#define FNET_CFG_TFTP_SRV_MAX   (1u)
 Maximum number of the TFTP Servers that can be run simultaneously.
Default value is 1.

. More...

 
#define FNET_CFG_TFTP_SRV_TIMEOUT   (3u) /*sec*/
 Default timeout for TFTP client response in seconds.
If no response from a TFTP client is received during this timeout, the last packet is retransmitted to the TFTP client automatically.
It can be changed during the TFTP server initialization by the fnet_tftp_srv_init() function.
Default value is 3.

. More...

 
#define FNET_CFG_TFTP_SRV_RETRANSMIT_MAX   (4u)
 Default maximum number of retransmissions.
If no response from a TFTP client is received till maximum retransmission number is reached, the TFTP server cancels the data transfer.
It can be changed during the TFTP server initialization by the fnet_tftp_srv_init() function.
Default value is 4.

. More...

 

© 2005-2017 by Andrey Butok. http://fnet.sourceforge.net