nuttx-apps/netutils/netcat/Kconfig
Petro Karashchenko f9baa422c1 style: unify path to files in comment section
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-09 10:37:33 +08:00

51 lines
1.3 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config NETUTILS_NETCAT
tristate "NetCat tool"
default n
depends on NET_TCP
---help---
Enable the NetCat TCP/IP swiss army tool
if NETUTILS_NETCAT
config NETUTILS_NETCAT_PROGNAME
string "Program name"
default "netcat"
---help---
This is the name of the program that will be use when the NSH ELF
program is installed.
config NETUTILS_NETCAT_PRIORITY
int "netcat task priority"
default 100
config NETUTILS_NETCAT_STACKSIZE
int "netcat stack size"
default DEFAULT_TASK_STACKSIZE
config NETUTILS_NETCAT_SENDFILE
bool "Use sendfile() in netcat when possible"
default y
depends on NET_SENDFILE
---help---
This option enables using sendfile() in netcat client mode
if a normal file (not stdin) is sent. If the option is enabled
but stdin is sent rather than a normal file, netcat falls back
to the combination of read() and write().
Using sendfile() provides a higher performance compared to
the combination of read() and write().
config NETUTILS_NETCAT_BUFSIZE
int "netcat I/O buffer size"
default 256
---help---
The I/O buffer is used in the netcat server mode.
The I/O buffer is also used in the netcat client mode only if
sendfile() is not applicable.
endif