aboutsummaryrefslogtreecommitdiff
path: root/networking/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'networking/Config.in')
-rw-r--r--networking/Config.in23
1 files changed, 18 insertions, 5 deletions
diff --git a/networking/Config.in b/networking/Config.in
index 3c53c1115..729cca148 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -774,28 +774,41 @@ config TFTP
774 is usually used for simple, small transfers such as a root image 774 is usually used for simple, small transfers such as a root image
775 for a network-enabled bootloader. 775 for a network-enabled bootloader.
776 776
777config TFTPD
778 bool "tftpd"
779 default n
780 help
781 This enables the Trivial File Transfer Protocol server program.
782 It expects that stdin is a datagram socket and a packet
783 is already pending on it. It will exit after one transfer.
784 In other words: it should be run from inetd in nowait mode,
785 or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
786
777config FEATURE_TFTP_GET 787config FEATURE_TFTP_GET
778 bool "Enable \"get\" command" 788 bool "Enable \"get\" command"
779 default y 789 default y
780 depends on TFTP 790 depends on TFTP || TFTPD
781 help 791 help
782 Add support for the GET command within the TFTP client. This allows 792 Add support for the GET command within the TFTP client. This allows
783 a client to retrieve a file from a TFTP server. 793 a client to retrieve a file from a TFTP server.
794 Also enable upload support in tftpd, if tftpd is selected.
784 795
785config FEATURE_TFTP_PUT 796config FEATURE_TFTP_PUT
786 bool "Enable \"put\" command" 797 bool "Enable \"put\" command"
787 default y 798 default y
788 depends on TFTP 799 depends on TFTP || TFTPD
789 help 800 help
790 Add support for the PUT command within the TFTP client. This allows 801 Add support for the PUT command within the TFTP client. This allows
791 a client to transfer a file to a TFTP server. 802 a client to transfer a file to a TFTP server.
803 Also enable download support in tftpd, if tftpd is selected.
792 804
793config FEATURE_TFTP_BLOCKSIZE 805config FEATURE_TFTP_BLOCKSIZE
794 bool "Enable \"blocksize\" command" 806 bool "Enable \"blksize\" protocol option"
795 default n 807 default n
796 depends on TFTP 808 depends on TFTP || TFTPD
797 help 809 help
798 Allow the client to specify the desired block size for transfers. 810 Allow tftp to specify block size, and tftpd to understand
811 "blksize" option.
799 812
800config DEBUG_TFTP 813config DEBUG_TFTP
801 bool "Enable debug" 814 bool "Enable debug"