IP6 Service

This module includes configuration variables for the IP6 service.

Summary

Macros

OPENTHREAD_CONFIG_IP6_ALLOW_LOOP_BACK_HOST_DATAGRAMS 1
Define as 1 to allow IPv6 datagrams from Host to be looped back to Host.
OPENTHREAD_CONFIG_IP6_BR_COUNTERS_ENABLE OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE
Define as 1 to enable IPv6 Border Routing counters.
OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE 0
OPENTHREAD_CONFIG_IP6_HOP_LIMIT_DEFAULT 64
This setting configures the default hop limit of IPv6.
OPENTHREAD_CONFIG_IP6_MAX_ASSEMBLED_DATAGRAM 2000
This setting configures the max datagram length of a unfragmented IPv6 packet.
OPENTHREAD_CONFIG_IP6_MAX_DATAGRAM_LENGTH 1280
This setting configures the max datagram length of IPv6.
OPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS 2
The maximum number of supported IPv6 multicast addresses allows to be externally added.
OPENTHREAD_CONFIG_IP6_MAX_EXT_UCAST_ADDRS 4
The maximum number of supported IPv6 addresses allows to be externally added.
OPENTHREAD_CONFIG_IP6_REASSEMBLY_TIMEOUT 60
This setting configures the reassembly timeout for IPv6 in seconds.
OPENTHREAD_CONFIG_IP6_RESTRICT_FORWARDING_LARGER_SCOPE_MCAST_WITH_LOCAL_SRC 0
Define as 1 to restrict multicast forwarding to larger scope from local sources.
OPENTHREAD_CONFIG_IP6_SLAAC_DEPRECATION_INTERVAL 300
Specifies the deprecating time of SLAAC addresses in seconds.
OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE 0
Define as 1 to enable support for adding of auto-configured SLAAC addresses by OpenThread.
OPENTHREAD_CONFIG_IP6_SLAAC_NUM_ADDRESSES 4
The number of auto-configured SLAAC addresses.
OPENTHREAD_CONFIG_MPL_DYNAMIC_INTERVAL_ENABLE 0
Define as 1 to enable dynamic MPL interval feature.
OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRIES 35
The number of MPL Seed Set entries for duplicate detection.
OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRY_LIFETIME 5
The MPL Seed Set entry lifetime in seconds.
OPENTHREAD_CONFIG_TCP_ENABLE 1
Define as 1 to enable TCP.
OPENTHREAD_CONFIG_TLS_ENABLE (OPENTHREAD_CONFIG_TCP_ENABLE || OPENTHREAD_CONFIG_BLE_TCAT_ENABLE)
Define as 1 to enable support for TLS over TCP.

Macros

OPENTHREAD_CONFIG_IP6_ALLOW_LOOP_BACK_HOST_DATAGRAMS

 OPENTHREAD_CONFIG_IP6_ALLOW_LOOP_BACK_HOST_DATAGRAMS 1

Define as 1 to allow IPv6 datagrams from Host to be looped back to Host.

OPENTHREAD_CONFIG_IP6_BR_COUNTERS_ENABLE

 OPENTHREAD_CONFIG_IP6_BR_COUNTERS_ENABLE OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE

Define as 1 to enable IPv6 Border Routing counters.

OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE

 OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE 0

OPENTHREAD_CONFIG_IP6_HOP_LIMIT_DEFAULT

 OPENTHREAD_CONFIG_IP6_HOP_LIMIT_DEFAULT 64

This setting configures the default hop limit of IPv6.

OPENTHREAD_CONFIG_IP6_MAX_ASSEMBLED_DATAGRAM

 OPENTHREAD_CONFIG_IP6_MAX_ASSEMBLED_DATAGRAM 2000

This setting configures the max datagram length of a unfragmented IPv6 packet.

OPENTHREAD_CONFIG_IP6_MAX_DATAGRAM_LENGTH

 OPENTHREAD_CONFIG_IP6_MAX_DATAGRAM_LENGTH 1280

This setting configures the max datagram length of IPv6.

OPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS

 OPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS 2

The maximum number of supported IPv6 multicast addresses allows to be externally added.

OPENTHREAD_CONFIG_IP6_MAX_EXT_UCAST_ADDRS

 OPENTHREAD_CONFIG_IP6_MAX_EXT_UCAST_ADDRS 4

The maximum number of supported IPv6 addresses allows to be externally added.

OPENTHREAD_CONFIG_IP6_REASSEMBLY_TIMEOUT

 OPENTHREAD_CONFIG_IP6_REASSEMBLY_TIMEOUT 60

This setting configures the reassembly timeout for IPv6 in seconds.

RFC 2460 > 60 seconds

OPENTHREAD_CONFIG_IP6_RESTRICT_FORWARDING_LARGER_SCOPE_MCAST_WITH_LOCAL_SRC

 OPENTHREAD_CONFIG_IP6_RESTRICT_FORWARDING_LARGER_SCOPE_MCAST_WITH_LOCAL_SRC 0

Define as 1 to restrict multicast forwarding to larger scope from local sources.

OPENTHREAD_CONFIG_IP6_SLAAC_DEPRECATION_INTERVAL

 OPENTHREAD_CONFIG_IP6_SLAAC_DEPRECATION_INTERVAL 300

Specifies the deprecating time of SLAAC addresses in seconds.

Applicable only if OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE is enabled.

Deprecating interval is used once an on-mesh prefix is removed from Network Data before removing the SLAAC address.

OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE

 OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE 0

Define as 1 to enable support for adding of auto-configured SLAAC addresses by OpenThread.

OPENTHREAD_CONFIG_IP6_SLAAC_NUM_ADDRESSES

 OPENTHREAD_CONFIG_IP6_SLAAC_NUM_ADDRESSES 4

The number of auto-configured SLAAC addresses.

Applicable only if OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE is enabled.

OPENTHREAD_CONFIG_MPL_DYNAMIC_INTERVAL_ENABLE

 OPENTHREAD_CONFIG_MPL_DYNAMIC_INTERVAL_ENABLE 0

Define as 1 to enable dynamic MPL interval feature.

If this feature is enabled, the MPL forward interval will be adjusted dynamically according to the network scale, which helps to reduce multicast latency.

OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRIES

 OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRIES 35

The number of MPL Seed Set entries for duplicate detection.

OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRY_LIFETIME

 OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRY_LIFETIME 5

The MPL Seed Set entry lifetime in seconds.

OPENTHREAD_CONFIG_TCP_ENABLE

 OPENTHREAD_CONFIG_TCP_ENABLE 1

Define as 1 to enable TCP.

OPENTHREAD_CONFIG_TLS_ENABLE

 OPENTHREAD_CONFIG_TLS_ENABLE (OPENTHREAD_CONFIG_TCP_ENABLE || OPENTHREAD_CONFIG_BLE_TCAT_ENABLE)

Define as 1 to enable support for TLS over TCP.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.