2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
|
|
|
config EXAMPLES_NETTEST
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Network test example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
2013-01-24 17:28:15 +01:00
|
|
|
depends on NET_TCP
|
2018-08-28 15:46:49 +02:00
|
|
|
depends on NET_SOCKOPTS
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the network test example
|
|
|
|
|
|
|
|
if EXAMPLES_NETTEST
|
2013-01-24 17:28:15 +01:00
|
|
|
|
2017-06-24 17:49:44 +02:00
|
|
|
config EXAMPLES_NETTEST_SENDSIZE
|
|
|
|
int "Payload size"
|
|
|
|
default 4096
|
|
|
|
---help---
|
|
|
|
The test client sends well-known packets to ther server. The server
|
|
|
|
will receive and verfity those packets. This setting determines
|
|
|
|
size of each packet.
|
|
|
|
|
2017-06-23 23:49:27 +02:00
|
|
|
config EXAMPLES_NETTEST_PROGNAME1
|
|
|
|
string "Target1 program name"
|
2017-04-03 23:33:39 +02:00
|
|
|
default "nettest"
|
2018-08-23 19:06:15 +02:00
|
|
|
depends on BUILD_LOADABLE
|
2017-04-03 23:33:39 +02:00
|
|
|
---help---
|
|
|
|
This is the name of the program that will be use when the Nettest
|
|
|
|
program is installed.
|
|
|
|
|
2017-06-23 23:49:27 +02:00
|
|
|
config EXAMPLES_NETTEST_STACKSIZE1
|
|
|
|
int "Target1 stack size"
|
2017-04-03 23:33:39 +02:00
|
|
|
default 2048
|
|
|
|
|
2017-06-23 23:49:27 +02:00
|
|
|
config EXAMPLES_NETTEST_PRIORITY1
|
|
|
|
int "Target1 priority"
|
2017-04-03 23:33:39 +02:00
|
|
|
default 100
|
|
|
|
|
2015-08-26 18:35:40 +02:00
|
|
|
config EXAMPLES_NETTEST_LOOPBACK
|
|
|
|
bool "Loopback test"
|
|
|
|
default n
|
2017-08-02 01:22:01 +02:00
|
|
|
depends on NET_LOOPBACK || IEEE802154_LOOPBACK || PKTRADIO_LOOPBACK
|
2015-08-26 18:35:40 +02:00
|
|
|
---help---
|
|
|
|
Perform the test using the local loopback device. In this case,
|
|
|
|
both the client and the server reside on the target.
|
|
|
|
|
2017-06-24 02:12:34 +02:00
|
|
|
# No server if loopback; No second target if loopback
|
2015-08-26 18:35:40 +02:00
|
|
|
|
2017-06-24 02:12:34 +02:00
|
|
|
if !EXAMPLES_NETTEST_LOOPBACK
|
2015-08-26 18:35:40 +02:00
|
|
|
|
2017-06-23 23:49:27 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVER1
|
|
|
|
bool "Target1 is server"
|
2013-01-24 17:28:15 +01:00
|
|
|
default n
|
2015-08-26 18:35:40 +02:00
|
|
|
depends on !EXAMPLES_NETTEST_LOOPBACK
|
2013-01-24 17:28:15 +01:00
|
|
|
---help---
|
2015-08-26 18:35:40 +02:00
|
|
|
Select to use the host as the client side of the test. Default: The
|
|
|
|
target is the client side of the test
|
2013-01-24 17:28:15 +01:00
|
|
|
|
2017-06-24 02:12:34 +02:00
|
|
|
config EXAMPLES_NETTEST_TARGET2
|
|
|
|
bool "Second endpoint is a target"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
By default, the host PC is configured as the second endpoint of the
|
|
|
|
NETTEST. If this option is selected, then the second endpoint
|
|
|
|
will be built into the FLASH image as well. This means that you
|
|
|
|
can use two target boards to run the test with no host PC
|
|
|
|
involvement.
|
|
|
|
|
|
|
|
if EXAMPLES_NETTEST_TARGET2
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_PROGNAME2
|
|
|
|
string "Target2 program name"
|
2017-06-25 17:15:27 +02:00
|
|
|
default "tcpserver" if !EXAMPLES_NETTEST_SERVER2
|
|
|
|
default "tcpclient" if EXAMPLES_NETTEST_SERVER2
|
2018-08-23 19:06:15 +02:00
|
|
|
depends on BUILD_LOADABLE
|
2017-06-24 02:12:34 +02:00
|
|
|
---help---
|
|
|
|
This is the name of the Target2 program that will be use when the
|
|
|
|
NSH ELF program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_PRIORITY2
|
|
|
|
int "Target2 task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_STACKSIZE2
|
|
|
|
int "Target2 stack size"
|
|
|
|
default 2048
|
|
|
|
|
|
|
|
endif # EXAMPLES_NETTEST_TARGET2
|
2017-06-24 03:14:39 +02:00
|
|
|
endif # !EXAMPLES_NETTEST_LOOPBACK
|
2017-06-24 02:12:34 +02:00
|
|
|
|
2017-06-24 03:14:39 +02:00
|
|
|
if EXAMPLES_NETTEST_LOOPBACK
|
2017-06-24 02:12:34 +02:00
|
|
|
config EXAMPLES_NETTEST_DAEMON_STACKSIZE
|
|
|
|
int "Server daemon stack size"
|
|
|
|
default 2048
|
|
|
|
|
2017-06-24 03:14:39 +02:00
|
|
|
config EXAMPLES_NETTEST_DAEMON_PRIORITY
|
2017-06-24 02:12:34 +02:00
|
|
|
int "Server daemon priority"
|
|
|
|
default 100
|
2017-06-24 03:14:39 +02:00
|
|
|
#endif
|
2017-06-24 02:12:34 +02:00
|
|
|
|
|
|
|
endif # EXAMPLES_NETTEST_LOOPBACK
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DEVNAME
|
|
|
|
string "Network device"
|
|
|
|
default "eth0"
|
|
|
|
|
2013-01-24 17:28:15 +01:00
|
|
|
config EXAMPLES_NETTEST_PERFORMANCE
|
|
|
|
bool "Test for Performance"
|
|
|
|
default n
|
|
|
|
---help---
|
2015-08-26 18:35:40 +02:00
|
|
|
Configure the example to test for network performance. Default: Test
|
|
|
|
is for network functionality.
|
2013-01-24 17:28:15 +01:00
|
|
|
|
2015-01-21 01:12:27 +01:00
|
|
|
choice
|
|
|
|
prompt "IP Domain"
|
|
|
|
default EXAMPLES_NETTEST_IPv4 if NET_IPv4
|
|
|
|
default EXAMPLES_NETTEST_IPv6 if NET_IPv6 && !NET_IPv4
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv4
|
|
|
|
bool "IPv4"
|
|
|
|
depends on NET_IPv4
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6
|
|
|
|
bool "IPv6"
|
|
|
|
depends on NET_IPv6
|
|
|
|
|
|
|
|
endchoice # IP Domain
|
|
|
|
|
2017-06-24 02:12:34 +02:00
|
|
|
# No hardware initialization if loopback
|
|
|
|
|
2015-08-26 17:06:41 +02:00
|
|
|
config EXAMPLES_NETTEST_INIT
|
|
|
|
bool "Initialize network"
|
|
|
|
default n if NSH_BUILTIN_APPS
|
|
|
|
default y if !NSH_BUILTIN_APPS
|
2018-08-23 19:06:15 +02:00
|
|
|
depends on !BUILD_LOADABLE && !EXAMPLES_NETTEST_LOOPBACK
|
2015-08-26 17:06:41 +02: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.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_NOMAC
|
|
|
|
bool "Use Canned MAC Address"
|
|
|
|
default n
|
|
|
|
depends on EXAMPLES_NETTEST_INIT
|
|
|
|
|
2015-01-21 01:12:27 +01:00
|
|
|
if EXAMPLES_NETTEST_IPv4
|
|
|
|
|
|
|
|
comment "IPv4 addresses"
|
|
|
|
|
2015-08-26 17:06:41 +02:00
|
|
|
if EXAMPLES_NETTEST_INIT
|
|
|
|
|
2013-01-24 17:28:15 +01:00
|
|
|
config EXAMPLES_NETTEST_IPADDR
|
|
|
|
hex "Target IP address"
|
|
|
|
default 0x0a000002
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPADDR
|
|
|
|
hex "Default Router IP address (Gateway)"
|
|
|
|
default 0x0a000001
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_NETMASK
|
|
|
|
hex "Network Mask"
|
|
|
|
default 0xffffff00
|
|
|
|
|
2015-08-26 17:06:41 +02:00
|
|
|
endif # EXAMPLES_NETTEST_INIT
|
|
|
|
|
2017-06-24 02:12:34 +02:00
|
|
|
# No server if loopback
|
|
|
|
|
2015-08-26 18:35:40 +02:00
|
|
|
if !EXAMPLES_NETTEST_LOOPBACK
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIP
|
|
|
|
hex "Server IP Address"
|
2013-01-24 17:28:15 +01:00
|
|
|
default 0x0a000001 if !EXAMPLES_NETTEST_SERVER
|
|
|
|
default 0x0a000002 if EXAMPLES_NETTEST_SERVER
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2014-02-25 23:41:11 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
2013-01-24 17:28:15 +01:00
|
|
|
|
2015-08-26 18:35:40 +02:00
|
|
|
endif # !EXAMPLES_NETTEST_LOOPBACK
|
2015-01-21 01:12:27 +01:00
|
|
|
endif # EXAMPLES_NETTEST_IPv4
|
|
|
|
|
|
|
|
if EXAMPLES_NETTEST_IPv6
|
2015-02-03 22:40:56 +01:00
|
|
|
if !NET_ICMPv6_AUTOCONF
|
2015-01-21 01:12:27 +01:00
|
|
|
|
|
|
|
comment "Target IPv6 address"
|
|
|
|
|
2015-08-26 17:06:41 +02:00
|
|
|
if EXAMPLES_NETTEST_INIT
|
|
|
|
|
2015-01-21 01:12:27 +01:00
|
|
|
config EXAMPLES_NETTEST_IPv6ADDR_1
|
|
|
|
hex "[0]"
|
|
|
|
default 0xfc00
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the first of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6ADDR_2
|
|
|
|
hex "[1]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the second of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6ADDR_3
|
|
|
|
hex "[2]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the third of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6ADDR_4
|
|
|
|
hex "[3]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the fourth of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6ADDR_5
|
|
|
|
hex "[4]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the fifth of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6ADDR_6
|
|
|
|
hex "[5]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the sixth of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6ADDR_7
|
|
|
|
hex "[6]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the seventh of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6ADDR_8
|
|
|
|
hex "[7]"
|
|
|
|
default 0x0002
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Target IPv6 address. This is a 16-bit integer value in host order.
|
|
|
|
Each of the eight values forming the full IP address must be
|
|
|
|
specified individually. This is the last of the 8-values. The
|
|
|
|
default for all eight values is fc00::2.
|
|
|
|
|
|
|
|
comment "Router IPv6 address"
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPv6ADDR_1
|
|
|
|
hex "[0]"
|
|
|
|
default 0xfc00
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
2015-01-22 22:30:23 +01:00
|
|
|
value in host order. Each of the eight values forming the full IP
|
2015-01-21 01:12:27 +01:00
|
|
|
address must be specified individually. This is the first of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPv6ADDR_2
|
|
|
|
hex "[1]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
2015-01-22 22:30:23 +01:00
|
|
|
value in host order. Each of the eight values forming the full IP
|
2015-01-21 01:12:27 +01:00
|
|
|
address must be specified individually. This is the second of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPv6ADDR_3
|
|
|
|
hex "[2]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
2015-01-22 22:30:23 +01:00
|
|
|
value in host order. Each of the eight values forming the full IP
|
2015-01-21 01:12:27 +01:00
|
|
|
address must be specified individually. This is the third of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPv6ADDR_4
|
|
|
|
hex "[3]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
2015-01-22 22:30:23 +01:00
|
|
|
value in host order. Each of the eight values forming the full IP
|
2015-01-21 01:12:27 +01:00
|
|
|
address must be specified individually. This is the fourth of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPv6ADDR_5
|
|
|
|
hex "[4]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
2015-01-22 22:30:23 +01:00
|
|
|
value in host order. Each of the eight values forming the full IP
|
2015-01-21 01:12:27 +01:00
|
|
|
address must be specified individually. This is the fifth of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPv6ADDR_6
|
|
|
|
hex "[5]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
2015-01-22 22:30:23 +01:00
|
|
|
value in host order. Each of the eight values forming the full IP
|
2015-01-21 01:12:27 +01:00
|
|
|
address must be specified individually. This is the sixth of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPv6ADDR_7
|
|
|
|
hex "[6]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
2015-01-22 22:30:23 +01:00
|
|
|
value in host order. Each of the eight values forming the full IP
|
2015-01-21 01:12:27 +01:00
|
|
|
address must be specified individually. This is the seventh of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_DRIPv6ADDR_8
|
|
|
|
hex "[7]"
|
|
|
|
default 0x0001
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Default router IP address (aka, Gateway). This is a 16-bit integer
|
2015-01-22 22:30:23 +01:00
|
|
|
value in host order. Each of the eight values forming the full IP
|
2015-01-21 01:12:27 +01:00
|
|
|
address must be specified individually. This is the last of the
|
|
|
|
8-values. The default for all eight values is fc00::1.
|
|
|
|
|
|
|
|
comment "IPv6 Network mask"
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6NETMASK_1
|
|
|
|
hex "[0]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-21 01:12:27 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the first of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6NETMASK_2
|
|
|
|
hex "[1]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-21 01:12:27 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the second of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6NETMASK_3
|
|
|
|
hex "[2]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-21 01:12:27 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the third of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6NETMASK_4
|
|
|
|
hex "[3]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
|
|
|
range 0x0 0xffff
|
2015-01-21 01:12:27 +01:00
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the fourth of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6NETMASK_5
|
|
|
|
hex "[4]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-21 01:12:27 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the fifth of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6NETMASK_6
|
|
|
|
hex "[5]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-21 01:12:27 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the sixth of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6NETMASK_7
|
|
|
|
hex "[6]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xffff
|
2015-01-21 01:12:27 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the seventh of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_IPv6NETMASK_8
|
|
|
|
hex "[7]"
|
2015-02-05 17:47:42 +01:00
|
|
|
default 0xff80
|
2015-01-21 01:12:27 +01:00
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
|
|
|
Network mask. This is a 16-bit integer value in host order. Each
|
|
|
|
of the eight values forming the full IP address must be specified
|
|
|
|
individually. This is the eighth of the 8-values. The default for
|
|
|
|
all eight values is fe00::0.
|
|
|
|
|
2015-02-03 23:19:08 +01:00
|
|
|
endif # NET_ICMPv6_AUTOCONF
|
2015-08-26 17:06:41 +02:00
|
|
|
endif # EXAMPLES_NETTEST_INIT
|
2015-02-03 22:40:56 +01:00
|
|
|
|
2017-06-24 02:12:34 +02:00
|
|
|
# Addresses are well known if loopback is used.
|
|
|
|
|
2017-04-03 23:33:39 +02:00
|
|
|
if !EXAMPLES_NETTEST_LOOPBACK || !NET_LOOPBACK
|
2015-08-26 18:35:40 +02:00
|
|
|
|
2017-06-24 02:12:34 +02:00
|
|
|
comment "Server IPv6 address"
|
2015-01-21 01:12:27 +01:00
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIPv6ADDR_1
|
2015-01-21 01:12:27 +01:00
|
|
|
hex "[0]"
|
|
|
|
default 0xfc00
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the cleint,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2015-01-21 01:12:27 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the first of the 8-values.
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIPv6ADDR_2
|
2015-01-21 01:12:27 +01:00
|
|
|
hex "[1]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2015-01-21 01:12:27 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the second of the 8-values.
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIPv6ADDR_3
|
2015-01-21 01:12:27 +01:00
|
|
|
hex "[2]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2015-01-21 01:12:27 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the Third of the 8-values.
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIPv6ADDR_4
|
2015-01-21 01:12:27 +01:00
|
|
|
hex "[3]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2015-01-21 01:12:27 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the fourth of the 8-values.
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIPv6ADDR_5
|
2015-01-21 01:12:27 +01:00
|
|
|
hex "[4]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2015-01-21 01:12:27 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the fifth of the 8-values.
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIPv6ADDR_6
|
2015-01-21 01:12:27 +01:00
|
|
|
hex "[5]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2015-01-21 01:12:27 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the sixth of the 8-values.
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIPv6ADDR_7
|
2015-01-21 01:12:27 +01:00
|
|
|
hex "[6]"
|
|
|
|
default 0x0000
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2015-01-21 01:12:27 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the seventh of the 8-values.
|
|
|
|
|
2017-06-23 20:21:13 +02:00
|
|
|
config EXAMPLES_NETTEST_SERVERIPv6ADDR_8
|
2015-01-21 01:12:27 +01:00
|
|
|
hex "[7]"
|
|
|
|
default 0x0001 if !EXAMPLES_NETTEST_SERVER
|
|
|
|
default 0x0002 if EXAMPLES_NETTEST_SERVER
|
|
|
|
range 0x0 0xffff
|
|
|
|
---help---
|
2017-06-23 20:21:13 +02:00
|
|
|
IP address of the server. If the target is the server, then
|
|
|
|
EXAMPLES_NETTEST_SERVERIP should be the same as
|
|
|
|
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
|
|
|
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
2015-01-21 01:12:27 +01:00
|
|
|
host PC IP address (possibly the gateway address,
|
|
|
|
EXAMPLES_NETTEST_DRIPADDR?).
|
|
|
|
|
|
|
|
This is a 16-bit integer value in host order. Each of the eight
|
|
|
|
values forming the full IP address must be specified individually.
|
|
|
|
This is the last of the 8-values.
|
|
|
|
|
2015-08-26 18:35:40 +02:00
|
|
|
endif # !EXAMPLES_NETTEST_LOOPBACK
|
2015-01-21 01:12:27 +01:00
|
|
|
endif # EXAMPLES_NETTEST_IPv6
|
2017-06-23 20:21:13 +02:00
|
|
|
|
|
|
|
config EXAMPLES_NETTEST_SERVER_PORTNO
|
|
|
|
int "Server port number"
|
|
|
|
default 5471
|
|
|
|
|
2015-01-21 01:12:27 +01:00
|
|
|
endif # EXAMPLES_NETTEST
|