nuttx/net/local/Kconfig
chao.an 1b5d6aa068 net/local: add socket message control support
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-09-24 08:09:28 -07:00

45 lines
1.0 KiB
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
config NET_LOCAL_SCM
bool "Unix domain socket control message"
default n
---help---
Enable support for Unix domain socket control message
endif # NET_LOCAL
endmenu # Unix Domain Sockets