nuttx/net/local/Kconfig
Xiang Xiao 1a9267db65 net/local: Add an option to specify the prefix of named pipe
to avoid the user create socket under the real filesystem
which isn't supported by nuttx VFS yet.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ib04c90e9c3c5a215bfda65515498d81e5f834895
2021-02-05 04:58:12 -08:00

39 lines
896 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menu "Unix Domain Socket Support"
depends on NET && !DISABLE_PSEUDOFS_OPERATIONS
config NET_LOCAL
bool "Unix domain (local) sockets"
default n
select PIPES
---help---
Enable or disable Unix domain (aka Local) sockets.
if NET_LOCAL
config NET_LOCAL_PATH_PREFIX
string "Path prefix to Unix domain sockets"
default "/var/socket"
---help---
The path prefix to where Unix domain sockets will exist in the VFS namespace.
config NET_LOCAL_STREAM
bool "Unix domain stream sockets"
default y
---help---
Enable support for Unix domain SOCK_STREAM type sockets
config NET_LOCAL_DGRAM
bool "Unix domain datagram sockets"
default y
---help---
Enable support for Unix domain SOCK_DGRAM type sockets
endif # NET_LOCAL
endmenu # Unix Domain Sockets