2014-06-28 00:00:28 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-06-28 00:00:28 +08:00
|
|
|
#
|
|
|
|
|
2014-06-28 00:02:14 +08:00
|
|
|
menu "Network Device Operations"
|
2014-06-28 00:00:28 +08:00
|
|
|
|
2017-03-13 23:51:31 +08:00
|
|
|
config NETDEV_IOCTL
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2014-06-28 00:02:14 +08:00
|
|
|
config NETDEV_PHY_IOCTL
|
|
|
|
bool "Enable PHY ioctl()"
|
|
|
|
default n
|
2017-03-13 23:51:31 +08:00
|
|
|
select NETDEV_IOCTL
|
|
|
|
---help---
|
|
|
|
Enable support for ioctl() commands to access PHY registers
|
|
|
|
|
2020-06-15 16:23:25 +08:00
|
|
|
config NETDEV_CAN_BITRATE_IOCTL
|
|
|
|
bool "Enable CAN bitrate ioctl()"
|
|
|
|
default n
|
|
|
|
select NETDEV_IOCTL
|
|
|
|
depends on NET_CAN
|
|
|
|
---help---
|
|
|
|
Enable support for ioctl() commands to change CAN bitrate
|
2020-11-28 11:48:10 +08:00
|
|
|
|
2022-04-16 05:40:00 +08:00
|
|
|
config NETDEV_CAN_FILTER_IOCTL
|
|
|
|
bool "Enable CAN filter ioctl()"
|
|
|
|
default n
|
|
|
|
select NETDEV_IOCTL
|
|
|
|
depends on NET_CAN
|
|
|
|
---help---
|
|
|
|
Enable support for ioctl() commands to add/remove CAN hardware-level
|
|
|
|
filters (NOTE: Not supported by all drivers)
|
|
|
|
|
2017-03-13 23:51:31 +08:00
|
|
|
config NETDEV_WIRELESS_IOCTL
|
|
|
|
bool "Enable Wireless ioctl()"
|
|
|
|
default n
|
|
|
|
select NETDEV_IOCTL
|
|
|
|
depends on DRIVERS_WIRELESS
|
2014-06-28 00:02:14 +08:00
|
|
|
---help---
|
2017-03-13 23:51:31 +08:00
|
|
|
Enable support for wireless device ioctl() commands
|
2014-06-28 00:02:14 +08:00
|
|
|
|
2023-06-08 09:17:27 +08:00
|
|
|
config NETDEV_MODEM_LTE_IOCTL
|
|
|
|
bool "Enable LTE ioctl()"
|
|
|
|
default n
|
|
|
|
select NETDEV_IOCTL
|
|
|
|
depends on MODEM
|
|
|
|
---help---
|
|
|
|
Enable support for modem device ioctl() commands
|
|
|
|
|
2018-06-26 02:08:10 +08:00
|
|
|
config NETDEV_IFINDEX
|
|
|
|
bool "Enable IF index support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable support for references devices by an interface index.
|
|
|
|
|
|
|
|
This feature is automatically enabled when raw, PACKET sockets
|
|
|
|
are enabled.
|
|
|
|
|
|
|
|
When enabled, these option also enables the user interfaces:
|
|
|
|
if_nametoindex() and if_indextoname().
|
|
|
|
|
2023-08-25 15:55:53 +08:00
|
|
|
config NETDEV_MULTIPLE_IPv6
|
|
|
|
bool "Enable multiple IPv6 addresses support"
|
|
|
|
default n
|
|
|
|
select NETDEV_IFINDEX
|
|
|
|
depends on NET_IPv6
|
|
|
|
---help---
|
|
|
|
Enable support for multiple IPv6 addresses per network device.
|
|
|
|
|
|
|
|
config NETDEV_MAX_IPv6_ADDR
|
|
|
|
int "Maximum number of IPv6 addresses per network device"
|
|
|
|
range 2 255
|
|
|
|
default 2
|
|
|
|
depends on NETDEV_MULTIPLE_IPv6
|
|
|
|
---help---
|
|
|
|
Maximum number of IPv6 addresses that can be assigned to a single
|
|
|
|
network device. Normally a link-local address and a global address
|
|
|
|
are needed.
|
|
|
|
|
2018-09-10 00:39:25 +08:00
|
|
|
config NETDOWN_NOTIFIER
|
|
|
|
bool "Support network down notifications"
|
|
|
|
default n
|
2019-01-28 01:02:56 +08:00
|
|
|
depends on SCHED_WORKQUEUE
|
2018-09-11 21:22:23 +08:00
|
|
|
select WQUEUE_NOTIFIER
|
2018-09-10 00:39:25 +08:00
|
|
|
---help---
|
2018-09-11 21:22:23 +08:00
|
|
|
Enable building of logic that will execute on the low priority work
|
2018-09-10 00:39:25 +08:00
|
|
|
thread when the network is taken down. This is is a general purpose
|
|
|
|
notifier, but was developed specifically to support SIGHUP poll()
|
|
|
|
logic.
|
|
|
|
|
2014-06-28 00:02:14 +08:00
|
|
|
endmenu # Network Device Operations
|