2018-08-03 21:22:36 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2019-11-07 21:10:35 +01:00
|
|
|
menu "Netlink Socket Support"
|
|
|
|
|
2018-08-03 21:22:36 +02:00
|
|
|
config NET_NETLINK
|
|
|
|
bool "Netlink socket support"
|
|
|
|
default n
|
|
|
|
---help---
|
2019-11-07 21:10:35 +01:00
|
|
|
Enable support for Netlink-like IPC sockets that will permit user-
|
2018-08-03 21:22:36 +02:00
|
|
|
space applications to interact with network services.
|
|
|
|
|
2019-11-07 21:10:35 +01:00
|
|
|
This logic is a WIP. Currently only fragmentary support is
|
|
|
|
available, not enough to actually do anything of consequence.
|
|
|
|
Only the following features are implemented at this time:
|
|
|
|
|
|
|
|
NETLINK_ROUTE capability to read the ARP table.
|
2018-08-03 21:22:36 +02:00
|
|
|
|
|
|
|
if NET_NETLINK
|
|
|
|
|
2019-11-03 20:59:42 +01:00
|
|
|
config NETLINK_CONNS
|
2019-11-07 21:10:35 +01:00
|
|
|
int "Number of Netlink connections"
|
2018-08-03 21:22:36 +02:00
|
|
|
default 4
|
|
|
|
---help---
|
2019-11-07 21:10:35 +01:00
|
|
|
Maximum number of Netlink connections (all tasks).
|
2018-08-03 21:22:36 +02:00
|
|
|
|
2019-11-03 20:59:42 +01:00
|
|
|
menu "Netlink Protocols"
|
|
|
|
|
|
|
|
config NETLINK_ROUTE
|
|
|
|
bool "Netlink Route protocol"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Support the NETLINK_ROUTE protocol option.
|
|
|
|
|
2019-11-12 17:19:42 +01:00
|
|
|
if NETLINK_ROUTE
|
|
|
|
|
|
|
|
config NETLINK_DISABLE_GETLINK
|
|
|
|
bool "Disable RTM_GETLINK support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
RTM_GETLINK is used to enumerate network devices.
|
|
|
|
|
|
|
|
config NETLINK_DISABLE_GETNEIGH
|
|
|
|
bool "Disable RTM_GETNEIGH support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
RTM_GETNEIGH is used to retrieve Neighbor/ARP tables.
|
|
|
|
|
|
|
|
config NETLINK_DISABLE_GETROUTE
|
|
|
|
bool "Disable RTM_GETROUTE support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
RTM_GETROUTE is used to retrieve routing tables.
|
|
|
|
|
|
|
|
endif # NETLINK_ROUTE
|
2019-11-03 20:59:42 +01:00
|
|
|
endmenu # Netlink Protocols
|
2018-08-03 21:22:36 +02:00
|
|
|
endif # NET_NETLINK
|
2019-11-07 21:10:35 +01:00
|
|
|
endmenu # Netlink Socket Support
|
|
|
|
|