############################################################################# # apps/netutils/netcat/Kconfig # netcat networking application # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The # ASF licenses this file to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance with the # License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. # ############################################################################# # 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