2018-11-05 01:21:32 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_MLD
|
|
|
|
tristate "MLD example"
|
|
|
|
default n
|
|
|
|
depends on NET_UDP && NET_MLD
|
|
|
|
---help---
|
|
|
|
Enable the MLD example
|
|
|
|
|
|
|
|
if EXAMPLES_MLD
|
|
|
|
|
|
|
|
config EXAMPLES_MLD_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "mld"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2018-11-05 01:21:32 +01:00
|
|
|
program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_MLD_PRIORITY
|
|
|
|
int "MLD example task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_MLD_STACKSIZE
|
|
|
|
int "MLD example stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2018-11-05 01:21:32 +01:00
|
|
|
|
|
|
|
config EXAMPLES_MLD_INIT
|
|
|
|
bool "Initialize network"
|
2019-10-07 10:37:56 +02:00
|
|
|
default n if NSH_NETINIT
|
|
|
|
default y if !NSH_NETINIT
|
2018-11-05 01:21:32 +01:00
|
|
|
---help---
|
|
|
|
Include logic to initialize the network. This should not be done if
|
|
|
|
the network is already initialized when nettest runs. This is
|
|
|
|
usually the case, for example, when nettest is run as an NSH built-
|
|
|
|
in task.
|
|
|
|
|
|
|
|
if EXAMPLES_MLD_INIT
|
|
|
|
|
|
|
|
config EXAMPLES_MLD_IPADDR
|
|
|
|
hex "Target Link-Local address"
|
|
|
|
default 0x00000002
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Last 16-bits of the target link-local, unicast in host order. Given
|
|
|
|
|
|
|
|
CONFIG_EXAMPLES_MLD_IPADDR=0xXXXX
|
|
|
|
|
|
|
|
the full IPv6 link local address will be fe80::00ff:fe00:XXXX (host order)
|
|
|
|
|
|
|
|
config EXAMPLES_MLD_DRIPADDR
|
|
|
|
hex "Default Router IP address (Gateway)"
|
|
|
|
default 0x00000001
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Last 16-bits of the default link-local, unicast in host order. Given
|
|
|
|
|
|
|
|
CONFIG_EXAMPLES_MLD_DRIPADDR=0xXXXX
|
|
|
|
|
|
|
|
the full IPv6 link local address will be fe80::00ff:fe00:XXXX (host order)
|
|
|
|
|
|
|
|
config EXAMPLES_MLD_NOMAC
|
|
|
|
bool "Use Canned MAC Address"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif # EXAMPLES_MLD_INIT
|
|
|
|
|
|
|
|
config EXAMPLES_MLD_GRPADDR
|
|
|
|
hex "Group address"
|
|
|
|
default 0xE0000181
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2018-11-08 01:19:09 +01:00
|
|
|
Last 16-bits of the group link-local, multicast address in host order. Given
|
2018-11-05 01:21:32 +01:00
|
|
|
|
|
|
|
CONFIG_EXAMPLES_MLD_GRPADDR=0xXXXX
|
|
|
|
|
2018-11-08 01:19:09 +01:00
|
|
|
the full IPv6 link local address will be ff02::0000:0000:XXXX (host order)
|
2018-11-05 01:21:32 +01:00
|
|
|
|
|
|
|
endif
|