2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-12 01:06:30 +02:00
|
|
|
|
2013-10-23 19:48:57 +02:00
|
|
|
config ARCH_HAVE_NET
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_HAVE_PHY
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2020-02-09 01:55:41 +01:00
|
|
|
config ARCH_PHY_INTERRUPT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2020-09-18 14:04:49 +02:00
|
|
|
config ARCH_PHY_POLLED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2020-02-02 07:20:43 +01:00
|
|
|
config ARCH_HAVE_NETDEV_STATISTICS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2023-11-17 08:44:49 +01:00
|
|
|
config ARCH_HAVE_NETDEV_TIMESTAMP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2018-01-23 01:32:02 +01:00
|
|
|
config NET_WRITE_BUFFERS
|
|
|
|
bool
|
|
|
|
default n
|
2020-01-11 04:56:03 +01:00
|
|
|
select MM_IOB
|
2018-01-23 01:32:02 +01:00
|
|
|
|
|
|
|
config NET_READAHEAD
|
|
|
|
bool
|
|
|
|
default n
|
2020-01-11 04:56:03 +01:00
|
|
|
select MM_IOB
|
2018-01-23 01:32:02 +01:00
|
|
|
|
2018-10-31 22:03:51 +01:00
|
|
|
config NET_MCASTGROUP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-04-12 01:06:30 +02:00
|
|
|
config NET
|
|
|
|
bool "Networking support"
|
|
|
|
default n
|
2013-10-23 19:48:57 +02:00
|
|
|
select ARCH_HAVE_NET
|
2012-04-12 01:06:30 +02:00
|
|
|
---help---
|
|
|
|
Enable or disable all network features
|
|
|
|
|
|
|
|
if NET
|
|
|
|
|
2014-11-16 18:15:21 +01:00
|
|
|
config NET_PROMISCUOUS
|
|
|
|
bool "Promiscuous mode"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Force the Ethernet driver to operate in promiscuous mode (if supported
|
|
|
|
by the Ethernet driver).
|
|
|
|
|
|
|
|
menu "Driver buffer configuration"
|
|
|
|
|
2018-07-04 22:10:40 +02:00
|
|
|
config NET_ETH_PKTSIZE
|
|
|
|
int "Ethernet packet buffer size"
|
2014-11-16 16:22:38 +01:00
|
|
|
default 1294 if NET_IPv6
|
|
|
|
default 590 if !NET_IPv6
|
2019-08-31 17:08:32 +02:00
|
|
|
range 1294 1518 if NET_IPv6
|
|
|
|
range 590 1518 if !NET_IPv6
|
2014-11-16 16:22:38 +01:00
|
|
|
depends on NET_ETHERNET
|
2012-04-12 01:06:30 +02:00
|
|
|
---help---
|
2014-01-17 20:24:44 +01:00
|
|
|
Packet buffer size. This size includes the TCP/UDP payload plus the
|
2014-11-16 16:22:38 +01:00
|
|
|
size of TCP/UDP header, the IP header, and the Ethernet header.
|
2018-07-04 22:10:40 +02:00
|
|
|
This value is related to the MTU (Maximum Transmission Unit), except
|
|
|
|
that it includes the size of the link layer header; the payload is
|
|
|
|
the MSS (Maximum Segment Size).
|
2014-01-16 23:08:51 +01:00
|
|
|
|
|
|
|
IPv4 hosts are required to be able to handle an MSS of at least
|
|
|
|
536 octets, resulting in a minimum buffer size of 536+20+20+14 =
|
2014-11-16 16:22:38 +01:00
|
|
|
590.
|
2014-01-16 23:08:51 +01:00
|
|
|
|
|
|
|
IPv6 hosts are required to be able to handle an MSS of 1220 octets,
|
2020-03-16 20:42:34 +01:00
|
|
|
resulting in a minimum buffer size of 1220+20+40+14 = 1294
|
2012-04-12 01:06:30 +02:00
|
|
|
|
2018-07-04 23:36:31 +02:00
|
|
|
To get an MTU of 1500, for example, you would need packet buffer of
|
|
|
|
size 1514.
|
|
|
|
|
2018-07-04 22:10:40 +02:00
|
|
|
config NET_SLIP_PKTSIZE
|
2018-08-26 22:28:35 +02:00
|
|
|
int "SLIP packet buffer size"
|
2014-11-16 16:22:38 +01:00
|
|
|
default 296
|
|
|
|
depends on NET_SLIP
|
|
|
|
range 296 1518
|
|
|
|
---help---
|
2015-08-24 21:49:12 +02:00
|
|
|
Provides the size of the SLIP packet buffers. This size includes
|
|
|
|
the TCP/UDP payload plus the size of TCP/UDP header and the IP header.
|
2018-07-04 22:10:40 +02:00
|
|
|
This value is related to the MTU (Maximum Transmission Unit), except
|
|
|
|
that it includes the size of the link layer header; the payload is
|
2018-07-04 23:36:31 +02:00
|
|
|
the MSS (Maximum Segment Size). SLIP has no link layer header so for
|
|
|
|
SLIP the MTU is the same as the PKTSIZE.
|
2015-08-24 21:49:12 +02:00
|
|
|
|
2018-06-24 23:01:49 +02:00
|
|
|
SLIP is required to support at least 256+20+20 = 296. Values other than
|
2015-08-24 21:49:12 +02:00
|
|
|
296 are not recommended.
|
|
|
|
|
|
|
|
The Linux slip module hard-codes its MTU size to 296 (40 bytes for
|
2020-02-02 07:20:43 +01:00
|
|
|
the IP+TCP headers plus 256 bytes of data). So you might as well
|
2018-07-04 22:10:40 +02:00
|
|
|
set CONFIG_NET_SLIP_PKTSIZE to 296 as well.
|
2015-08-24 21:49:12 +02:00
|
|
|
|
|
|
|
There may be an issue with this setting, however. I see that Linux
|
|
|
|
uses a MTU of 296 and window of 256, but actually only sends 168
|
|
|
|
bytes of data: 40 + 128. I believe that is to allow for the 2x
|
|
|
|
worst cast packet expansion. Ideally we would like to advertise the
|
|
|
|
256 MSS, but restrict transfers to 128 bytes (possibly by modifying
|
2015-08-27 16:39:17 +02:00
|
|
|
the MSS value in the TCP connection structure).
|
2015-08-24 21:49:12 +02:00
|
|
|
|
2014-06-19 16:18:46 +02:00
|
|
|
config NET_GUARDSIZE
|
|
|
|
int "Driver I/O guard size"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
Network drivers often receive packets with garbage at the end and
|
|
|
|
are longer than the size of packet in the TCP header. The following
|
|
|
|
"fudge" factor increases the size of the I/O buffering by a small
|
|
|
|
amount to allocate slightly oversize packets. After receipt, the
|
|
|
|
packet size will be chopped down to the size indicated in the TCP
|
|
|
|
header.
|
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
config NET_LL_GUARDSIZE
|
|
|
|
int "Data Link Layer(L2) Guard size of Network buffer(IOB)"
|
2023-10-15 15:59:23 +02:00
|
|
|
default 50 if RNDIS
|
2023-04-26 15:29:15 +02:00
|
|
|
default 16 if NET_CAN && NET_TIMESTAMP
|
2022-11-23 12:39:40 +01:00
|
|
|
default 14 if NET_ETHERNET
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
This is reserved l2 buffer header size of network buffer to isolate
|
|
|
|
the L2/L3 (MAC/IP) data on Network layer, which will be beneficial
|
|
|
|
to L3 network layer protocol transparent transmission and forwarding
|
|
|
|
|
2021-07-05 10:01:48 +02:00
|
|
|
config NET_RECV_BUFSIZE
|
2023-07-03 12:16:13 +02:00
|
|
|
int "Net Default Receive buffer size"
|
2021-07-05 10:01:48 +02:00
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
This is the default value for receive buffer size.
|
|
|
|
|
2023-07-03 12:16:13 +02:00
|
|
|
config NET_MAX_RECV_BUFSIZE
|
|
|
|
int "Net Max Receive buffer size"
|
|
|
|
depends on NET_RECV_BUFSIZE > 0
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Limit the max value for receive buffer size to avoid overconsumption.
|
|
|
|
Zero means no limit.
|
|
|
|
|
2021-07-19 15:45:46 +02:00
|
|
|
config NET_SEND_BUFSIZE
|
2023-07-03 12:16:13 +02:00
|
|
|
int "Net Default Send buffer size"
|
2021-07-19 15:45:46 +02:00
|
|
|
depends on NET_TCP_WRITE_BUFFERS || NET_UDP_WRITE_BUFFERS
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
This is the default value for send buffer size.
|
|
|
|
|
2023-07-03 12:16:13 +02:00
|
|
|
config NET_MAX_SEND_BUFSIZE
|
|
|
|
int "Net Max Send buffer size"
|
|
|
|
depends on NET_SEND_BUFSIZE > 0
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Limit the max value for send buffer size to avoid overconsumption.
|
|
|
|
Zero means no limit.
|
|
|
|
|
2014-11-16 18:27:53 +01:00
|
|
|
endmenu # Driver buffer configuration
|
2014-11-16 18:15:21 +01:00
|
|
|
|
2017-08-20 19:14:43 +02:00
|
|
|
menu "Link layer support"
|
2014-11-15 15:22:51 +01:00
|
|
|
|
2014-06-01 17:40:23 +02:00
|
|
|
config NET_ETHERNET
|
2014-11-15 15:55:50 +01:00
|
|
|
bool "Ethernet support"
|
2017-03-31 19:15:16 +02:00
|
|
|
default y
|
2014-06-01 17:40:23 +02:00
|
|
|
---help---
|
|
|
|
If NET_SLIP is not selected, then Ethernet will be used (there is
|
|
|
|
no need to define anything special in the configuration file to use
|
|
|
|
Ethernet -- it is the default).
|
|
|
|
|
2022-07-28 09:46:49 +02:00
|
|
|
config NET_CELLULAR
|
|
|
|
bool "Cellular Link support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Add support for the cellular network device. Unlike Ethernet, cellular
|
|
|
|
network transmit pure IP packets.
|
|
|
|
|
2015-08-24 21:49:12 +02:00
|
|
|
config NET_LOOPBACK
|
|
|
|
bool "Local loopback"
|
2020-02-02 07:15:24 +01:00
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
2015-08-24 21:49:12 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2016-12-03 23:28:19 +01:00
|
|
|
Add support for the local network loopback device, lo.
|
2015-08-24 21:49:12 +02:00
|
|
|
|
2020-02-11 01:35:02 +01:00
|
|
|
config NET_LOOPBACK_PKTSIZE
|
|
|
|
int "Loopback packet buffer size"
|
|
|
|
default 0
|
|
|
|
depends on NET_LOOPBACK
|
|
|
|
range 0 65535
|
|
|
|
---help---
|
|
|
|
The loopback driver packet buffer should be quite large. The larger
|
|
|
|
the loopback packet buffer, the better will be TCP performance of
|
|
|
|
the loopback transfers. The Linux loopback device historically used
|
|
|
|
packet buffers of size 16Kb, but that was increased in recent Linux
|
|
|
|
versions to 64Kb. Those sizes may be excessive for resource
|
|
|
|
constrained MCUs, however.
|
|
|
|
|
|
|
|
The network enforces a lower limit that is the maximum packet size
|
|
|
|
of all enabled link layer protocols. The default value of
|
|
|
|
CONFIG_NET_LOOPBACK_PKTSIZE is zero, meaning that this maximum
|
|
|
|
packet size will be used by loopback driver.
|
|
|
|
|
2020-06-15 00:59:38 +02:00
|
|
|
menuconfig NET_MBIM
|
2020-06-15 02:08:20 +02:00
|
|
|
bool "MBIM modem support"
|
2020-06-15 00:59:38 +02:00
|
|
|
depends on USBHOST_CDCMBIM
|
|
|
|
default n
|
|
|
|
|
2017-08-20 19:14:43 +02:00
|
|
|
menuconfig NET_SLIP
|
2012-04-12 01:06:30 +02:00
|
|
|
bool "SLIP support"
|
2020-02-02 07:20:43 +01:00
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
2023-05-25 18:12:53 +02:00
|
|
|
depends on NET_IPv4
|
2012-04-12 01:06:30 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables building of the SLIP driver. SLIP requires
|
2016-12-03 23:28:19 +01:00
|
|
|
at least one IP protocol selected.
|
2012-04-12 01:06:30 +02:00
|
|
|
|
|
|
|
SLIP supports point-to-point IP communications over a serial port.
|
2018-10-20 14:35:39 +02:00
|
|
|
The default link layer for network layer is Ethernet. If NET_SLIP
|
|
|
|
is defined in the NuttX configuration file, then SLIP will be
|
|
|
|
supported. The basic differences between the SLIP and Ethernet
|
2015-11-26 19:08:09 +01:00
|
|
|
configurations is that when SLIP is selected:
|
2014-01-16 23:08:51 +01:00
|
|
|
|
|
|
|
* The link level header (that comes before the IP header) is omitted.
|
|
|
|
* All MAC address processing is suppressed.
|
|
|
|
* ARP is disabled.
|
|
|
|
|
2012-04-12 01:06:30 +02:00
|
|
|
If NET_SLIP is not selected, then Ethernet will be used (there is
|
|
|
|
no need to define anything special in the configuration file to use
|
2013-09-06 17:18:07 +02:00
|
|
|
Ethernet -- it is the default).
|
2012-04-12 01:06:30 +02:00
|
|
|
|
|
|
|
if NET_SLIP
|
|
|
|
|
2022-07-19 23:14:58 +02:00
|
|
|
config NET_SLIP_NINTERFACES
|
2012-04-12 01:06:30 +02:00
|
|
|
int "Number of SLIP interfaces"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
Selects the number of physical SLIP
|
2013-09-06 17:18:07 +02:00
|
|
|
interfaces to support.
|
2012-04-12 01:06:30 +02:00
|
|
|
Default: 1
|
|
|
|
|
2014-01-16 23:08:51 +01:00
|
|
|
endif # NET_SLIP
|
2015-03-11 13:52:56 +01:00
|
|
|
|
2017-08-20 19:14:43 +02:00
|
|
|
menuconfig NET_TUN
|
2015-03-11 13:52:56 +01:00
|
|
|
bool "TUN Virtual Network Device support"
|
|
|
|
default n
|
2022-02-21 09:02:35 +01:00
|
|
|
depends on ALLOW_BSD_COMPONENTS
|
2015-11-26 19:08:09 +01:00
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
2015-03-11 13:52:56 +01:00
|
|
|
|
|
|
|
if NET_TUN
|
|
|
|
|
|
|
|
config TUN_NINTERFACES
|
|
|
|
int "Number of TUN interfaces"
|
|
|
|
default 1
|
|
|
|
range 1 8
|
|
|
|
---help---
|
|
|
|
Selects the number of TUN
|
|
|
|
interfaces to support.
|
|
|
|
Default: 1
|
|
|
|
|
2018-07-04 22:10:40 +02:00
|
|
|
config NET_TUN_PKTSIZE
|
|
|
|
int "TUN packet buffer size"
|
2016-11-18 16:22:49 +01:00
|
|
|
default 296
|
|
|
|
range 296 1518
|
2018-07-04 23:36:31 +02:00
|
|
|
---help---
|
|
|
|
Provides the size of the TUN packet buffers. This size includes
|
|
|
|
the TCP/UDP payload plus the size of TCP/UDP header and the IP header.
|
|
|
|
This value is related to the MTU (Maximum Transmission Unit), except
|
|
|
|
that it includes the size of the link layer header; the payload is
|
|
|
|
the MSS (Maximum Segment Size). TUN has no link layer header so for
|
|
|
|
TUN the MTU is the same as the PKTSIZE.
|
2016-11-18 16:22:49 +01:00
|
|
|
|
2015-03-11 13:52:56 +01:00
|
|
|
endif # NET_TUN
|
|
|
|
|
2018-11-12 13:36:26 +01:00
|
|
|
config NETDEV_LATEINIT
|
|
|
|
bool "Late driver initialization"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Normally, networking initialization occur in the later phase of the
|
|
|
|
boot process in the function up_initialize() when it calls the
|
2023-08-17 20:17:28 +02:00
|
|
|
driver initialization function, xxx_netinitialize(). This
|
2022-03-30 21:47:50 +02:00
|
|
|
initialization occurs after a sufficient amount of the OS has been
|
2018-11-12 13:36:26 +01:00
|
|
|
initialized so that driver registration can be performed, but
|
|
|
|
before the completion of OS initialization and before the first
|
|
|
|
application is started.
|
|
|
|
|
|
|
|
In a few situations, however, you may want to suppress this early
|
|
|
|
network driver initialization. As examples:
|
|
|
|
|
|
|
|
- If you are using SLIP or PPPD, then there will be no network
|
|
|
|
driver to be initialized,
|
|
|
|
- Certain multi-network configurations where a simple call to
|
2023-08-17 20:17:28 +02:00
|
|
|
xxx_netinitialize() may be insufficient, and
|
2018-11-12 13:36:26 +01:00
|
|
|
- Situations where there are other board-level hardware
|
|
|
|
dependencies so that the hardware is not in an appropriate
|
2023-08-17 20:17:28 +02:00
|
|
|
state for xxx_netinitialize() to be called.
|
2018-11-12 13:36:26 +01:00
|
|
|
|
2022-03-30 21:47:50 +02:00
|
|
|
Examples of this latter situation include such things as network
|
2018-11-12 13:36:26 +01:00
|
|
|
drivers that required some setup via an I2C I/O expander, or network
|
|
|
|
drivers that depend on USB, SPI, I2C, PCI, serial, or other
|
2023-08-17 20:17:28 +02:00
|
|
|
interfaces that may not be ready when xxx_netinitialize() is normally
|
2018-11-12 13:36:26 +01:00
|
|
|
called.
|
|
|
|
|
2018-10-20 14:35:39 +02:00
|
|
|
endmenu # Link layer support
|
2014-11-15 15:55:50 +01:00
|
|
|
|
|
|
|
source "net/netdev/Kconfig"
|
2015-01-14 17:51:09 +01:00
|
|
|
|
2015-01-18 16:23:22 +01:00
|
|
|
menu "Internet Protocol Selection"
|
2015-01-14 17:51:09 +01:00
|
|
|
|
|
|
|
config NET_IPv4
|
2015-01-18 16:23:22 +01:00
|
|
|
bool "IPv4"
|
|
|
|
default y
|
2015-01-16 23:49:48 +01:00
|
|
|
---help---
|
|
|
|
Build in support for IPv4.
|
|
|
|
|
2017-08-20 19:14:43 +02:00
|
|
|
config NET_IPv6
|
2015-01-16 23:49:48 +01:00
|
|
|
bool "IPv6"
|
|
|
|
default n
|
|
|
|
---help---
|
2015-01-18 16:23:22 +01:00
|
|
|
Build in support for IPv6.
|
2015-01-14 17:51:09 +01:00
|
|
|
|
2015-01-16 23:49:48 +01:00
|
|
|
source "net/neighbor/Kconfig"
|
2017-08-20 19:14:43 +02:00
|
|
|
|
|
|
|
menuconfig NET_6LOWPAN
|
|
|
|
bool "6LoWPAN support"
|
|
|
|
default n
|
|
|
|
select NETDEV_IOCTL
|
|
|
|
select NET_HAVE_STAR
|
|
|
|
depends on NET_IPv6
|
|
|
|
---help---
|
|
|
|
Enable support for Low power Wireless Personal Area Networking (6LoWPAN)
|
|
|
|
for IEEE 802.15.4 or other packet radios.
|
|
|
|
|
2017-03-27 22:53:52 +02:00
|
|
|
source "net/sixlowpan/Kconfig"
|
2017-07-08 02:33:06 +02:00
|
|
|
source "net/ipforward/Kconfig"
|
2022-10-17 09:13:34 +02:00
|
|
|
source "net/nat/Kconfig"
|
2022-12-13 09:08:24 +01:00
|
|
|
source "net/netfilter/Kconfig"
|
2023-01-09 13:47:11 +01:00
|
|
|
source "net/ipfrag/Kconfig"
|
2017-07-04 18:19:52 +02:00
|
|
|
|
2017-06-29 16:16:46 +02:00
|
|
|
endmenu # Internet Protocol Selection
|
|
|
|
|
|
|
|
source "net/socket/Kconfig"
|
2017-08-06 22:48:19 +02:00
|
|
|
source "net/inet/Kconfig"
|
2017-06-29 16:16:46 +02:00
|
|
|
source "net/pkt/Kconfig"
|
|
|
|
source "net/local/Kconfig"
|
2020-11-05 13:30:49 +01:00
|
|
|
source "net/rpmsg/Kconfig"
|
2020-06-15 10:23:25 +02:00
|
|
|
source "net/can/Kconfig"
|
2018-08-03 21:22:36 +02:00
|
|
|
source "net/netlink/Kconfig"
|
2017-06-29 16:16:46 +02:00
|
|
|
source "net/tcp/Kconfig"
|
|
|
|
source "net/udp/Kconfig"
|
2018-03-31 22:55:03 +02:00
|
|
|
source "net/bluetooth/Kconfig"
|
2017-08-19 16:48:52 +02:00
|
|
|
source "net/ieee802154/Kconfig"
|
2017-06-29 16:16:46 +02:00
|
|
|
source "net/icmp/Kconfig"
|
|
|
|
source "net/icmpv6/Kconfig"
|
2018-10-31 21:10:19 +01:00
|
|
|
source "net/mld/Kconfig"
|
2017-06-29 16:16:46 +02:00
|
|
|
source "net/igmp/Kconfig"
|
|
|
|
source "net/arp/Kconfig"
|
|
|
|
source "net/procfs/Kconfig"
|
|
|
|
source "net/usrsock/Kconfig"
|
|
|
|
source "net/utils/Kconfig"
|
|
|
|
|
|
|
|
config NET_STATISTICS
|
|
|
|
bool "Collect network statistics"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Network layer statistics on or off
|
|
|
|
|
|
|
|
config NET_HAVE_STAR
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Automatically enabled if at least one selected L2 protocol supports
|
|
|
|
a STAR topology. In order to support the star topology, the L2
|
|
|
|
protocol must support relaying all packets to a well-known hub node.
|
|
|
|
|
|
|
|
menu "Network Topologies"
|
|
|
|
|
2017-06-28 23:39:21 +02:00
|
|
|
config NET_STAR
|
|
|
|
bool "Enable star topology"
|
|
|
|
default n
|
|
|
|
depends on NET_HAVE_STAR && NET_IPv6
|
|
|
|
---help---
|
|
|
|
Enable support for a star network topology.
|
|
|
|
|
|
|
|
NOTE: Currently only supported by 6LoWPAN.
|
|
|
|
NOTE: L2 forwarding only supported for IPv6.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Node role"
|
2017-06-29 16:16:46 +02:00
|
|
|
depends on NET_STAR
|
|
|
|
default NET_STARPOINT
|
2017-06-28 23:39:21 +02:00
|
|
|
---help---
|
|
|
|
Specifies the role of this not in the star configuration.
|
|
|
|
|
|
|
|
config NET_STARPOINT
|
|
|
|
bool "Point node in star"
|
|
|
|
---help---
|
|
|
|
The node is a "point" in the star configuration and must send all
|
|
|
|
packets to the star hub node.
|
|
|
|
|
|
|
|
config NET_STARHUB
|
|
|
|
bool "Hub node of star"
|
|
|
|
select NET_IPFORWARD
|
|
|
|
---help---
|
|
|
|
This is the "hub" node in the star configurations. It will receive
|
|
|
|
packets packets from all "point" nodes and perform L2 forwarding of
|
|
|
|
the packets that are not destined for this node.
|
|
|
|
|
|
|
|
endchoice # Node role
|
2017-06-29 16:16:46 +02:00
|
|
|
endmenu # Network Topologies
|
2014-11-15 15:55:50 +01:00
|
|
|
|
|
|
|
source "net/route/Kconfig"
|
|
|
|
|
2014-01-16 23:08:51 +01:00
|
|
|
endif # NET
|