1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-22 21:13:52 +01:00

net/dns: provide Kconfig

This commit is contained in:
Martine Lenders 2022-07-18 11:43:35 +02:00
parent 365fbed906
commit 1761726024
No known key found for this signature in database
GPG Key ID: 2134D77A5336DD80
2 changed files with 29 additions and 0 deletions

View File

@ -14,6 +14,7 @@ endmenu # CoAP
rsource "cord/Kconfig"
rsource "dhcpv6/Kconfig"
rsource "dns/Kconfig"
menu "MQTT-SN"

View File

@ -0,0 +1,28 @@
# Copyright (c) 2022 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.
#
menuconfig KCONFIG_USEMODULE_DNS
bool "Configure DNS"
depends on USEMODULE_DNS
help
Configure DNS using Kconfig.
if KCONFIG_USEMODULE_DNS
menuconfig KCONFIG_USEMODULE_DNS_MSG
bool "Configure DNS message parser and composer"
depends on USEMODULE_DNS_MSG
help
Configure DNS message parser and composer using Kconfig.
if KCONFIG_USEMODULE_DNS_MSG
config DNS_MSG_LEN
int "Maximum DNS message length"
default 128
endif # KCONFIG_USEMODULE_DNS_MSG
endif # KCONFIG_USEMODULE_DNS