2020-07-23 17:30:57 +02:00
|
|
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
# directory for more details.
|
|
|
|
#
|
2021-07-13 18:25:54 +02:00
|
|
|
|
2020-08-31 09:33:35 +02:00
|
|
|
menuconfig KCONFIG_USEMODULE_DHCPV6
|
2020-07-23 17:30:57 +02:00
|
|
|
bool "Configure DHCPv6"
|
2020-08-31 09:33:35 +02:00
|
|
|
depends on USEMODULE_DHCPV6
|
2020-07-23 17:30:57 +02:00
|
|
|
help
|
2021-07-13 18:25:54 +02:00
|
|
|
Configure DHCPv6 using Kconfig.
|
2020-07-23 17:30:57 +02:00
|
|
|
|
2020-08-31 09:33:35 +02:00
|
|
|
if KCONFIG_USEMODULE_DHCPV6
|
2021-07-13 18:25:54 +02:00
|
|
|
menuconfig KCONFIG_USEMODULE_DHCPV6_CLIENT
|
|
|
|
bool "Configure DHCPv6 client"
|
|
|
|
depends on USEMODULE_DHCPV6_CLIENT
|
|
|
|
help
|
|
|
|
Configure DHCPv6 client using Kconfig.
|
|
|
|
|
|
|
|
if KCONFIG_USEMODULE_DHCPV6_CLIENT
|
2020-07-23 17:30:57 +02:00
|
|
|
|
2021-03-24 18:03:02 +01:00
|
|
|
config DHCPV6_CLIENT_ADDR_LEASE_MAX
|
|
|
|
int "Maximum number of leases to be stored"
|
|
|
|
default 1
|
|
|
|
|
2020-07-23 17:30:57 +02:00
|
|
|
config DHCPV6_CLIENT_PFX_LEASE_MAX
|
|
|
|
int "Maximum number of prefix leases to be stored"
|
|
|
|
default 1
|
|
|
|
|
2021-07-20 15:30:34 +02:00
|
|
|
menuconfig KCONFIG_USEMODULE_DHCPV6_CLIENT_MUD_URL
|
2020-11-25 14:46:54 +01:00
|
|
|
bool "Enable DHCPv6 Client MUD URL"
|
|
|
|
help
|
|
|
|
Enable the inclusion of a MUD URL in DHCPv6 packets
|
|
|
|
as specified in RFC 8520, section 10. This URL
|
|
|
|
has to point to a MUD file containing YANG-based JSON
|
|
|
|
with a description of the device and its suggested
|
|
|
|
network behavior. The URL must use the "https" scheme.
|
|
|
|
|
2021-07-20 15:30:34 +02:00
|
|
|
if KCONFIG_USEMODULE_DHCPV6_CLIENT_MUD_URL
|
2020-11-25 14:46:54 +01:00
|
|
|
|
2021-02-06 12:58:07 +01:00
|
|
|
config DHCPV6_CLIENT_MUD_URL
|
2020-11-25 14:46:54 +01:00
|
|
|
string "URL pointing to a Manufacturer Usage Description file"
|
|
|
|
|
2021-07-20 15:30:34 +02:00
|
|
|
endif # KCONFIG_USEMODULE_DHCPV6_CLIENT_MUD_URL
|
2021-07-13 18:25:54 +02:00
|
|
|
endif # KCONFIG_USEMODULE_DHCPV6_CLIENT
|
|
|
|
|
|
|
|
menuconfig KCONFIG_USEMODULE_DHCPV6_RELAY
|
|
|
|
bool "Configure DHCPv6 relay agent"
|
|
|
|
depends on USEMODULE_DHCPV6_RELAY
|
|
|
|
help
|
|
|
|
Configure DHCPv6 relay agent using Kconfig.
|
|
|
|
|
|
|
|
if KCONFIG_USEMODULE_DHCPV6_RELAY
|
|
|
|
|
|
|
|
config DHCPV6_RELAY_HOP_LIMIT
|
|
|
|
int "Maximum hop count in relay-forward message (HOP_COUNT_LIMIT)"
|
|
|
|
default 8
|
|
|
|
|
|
|
|
config DHCPV6_RELAY_BUFLEN
|
|
|
|
int "Default length of relay agent send and receive buffer"
|
|
|
|
default 256
|
|
|
|
|
|
|
|
endif # KCONFIG_USEMODULE_DHCPV6_RELAY
|
|
|
|
endif # KCONFIG_USEMODULE_DHCPV6
|