31134719e7
And skip same prefix for unix path Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
45 lines
1.0 KiB
Plaintext
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_VFS_PATH
|
|
string "Path prefix to Unix domain sockets"
|
|
default "/var/run"
|
|
---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
|