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

FNET

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

Detailed Description

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_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-2018 by Andrey Butok. http://fnet.sourceforge.net