2017-03-31 22:58:14 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "User-space networking stack API"
|
|
|
|
|
|
|
|
config NET_USRSOCK
|
|
|
|
bool "User-space networking stack API"
|
|
|
|
default n
|
|
|
|
depends on NET
|
|
|
|
---help---
|
|
|
|
Enable or disable user-space networking stack support.
|
|
|
|
|
|
|
|
if NET_USRSOCK
|
|
|
|
|
|
|
|
config NET_USRSOCK_CONNS
|
|
|
|
int "Number of usrsock connections"
|
|
|
|
default 6
|
|
|
|
---help---
|
|
|
|
Maximum number of usrsock connections (all tasks).
|
|
|
|
|
|
|
|
Note: Usrsock daemon can impose additional restrictions for
|
|
|
|
maximum number of concurrent connections supported.
|
|
|
|
|
2019-12-31 23:26:14 +08:00
|
|
|
config NET_USRSOCK_NPOLLWAITERS
|
|
|
|
int "Number of usrsock poll waiters"
|
|
|
|
default 1
|
|
|
|
|
2017-07-31 23:33:59 +08:00
|
|
|
config NET_USRSOCK_NO_INET
|
|
|
|
bool "Disable PF_INET for usrsock"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
|
|
|
|
config NET_USRSOCK_NO_INET6
|
|
|
|
bool "Disable PF_INET6 for usrsock"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
|
2017-03-31 22:58:14 +08:00
|
|
|
config NET_USRSOCK_UDP
|
|
|
|
bool "User-space daemon provides UDP sockets"
|
|
|
|
default n
|
2018-09-14 21:18:37 +08:00
|
|
|
select NET_UDP
|
2017-03-31 22:58:14 +08:00
|
|
|
---help---
|
|
|
|
|
|
|
|
config NET_USRSOCK_TCP
|
|
|
|
bool "User-space daemon provides TCP sockets"
|
|
|
|
default n
|
2018-09-14 21:18:37 +08:00
|
|
|
select NET_TCP
|
2017-03-31 22:58:14 +08:00
|
|
|
---help---
|
|
|
|
|
2017-07-31 23:33:59 +08:00
|
|
|
config NET_USRSOCK_OTHER
|
|
|
|
bool "Enable other protocol families in addition of INET & INET6"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
|
2017-03-31 22:58:14 +08:00
|
|
|
endif # NET_USRSOCK
|
|
|
|
endmenu # User-space networking stack API
|