1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/sock/Kconfig
2020-09-04 16:28:29 +05:30

48 lines
1.3 KiB
Plaintext

# Copyright (c) 2019 HAW Hamburg
#
# 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_SOCK_UTIL
bool "Configure SOCK utility functions"
depends on USEMODULE_SOCK_UTIL
if KCONFIG_USEMODULE_SOCK_UTIL
config SOCK_SCHEME_MAXLEN
int "Maximum length of the scheme part"
default 16
help
This value is used in sock_urlsplit().
config SOCK_HOSTPORT_MAXLEN
int "Maximum length of host:port part"
default 64
help
This value is used in sock_urlsplit().
config SOCK_URLPATH_MAXLEN
int "Maximum path length"
default 64
help
This value is used in sock_urlsplit().
endif # KCONFIG_USEMODULE_SOCK_UTIL
menuconfig KCONFIG_USEMODULE_SOCK_DTLS
bool "Configure SOCK DTLS"
depends on USEMODULE_SOCK_DTLS
if KCONFIG_USEMODULE_SOCK_DTLS
config DTLS_HANDSHAKE_BUFSIZE_EXP
int "Exponent for the DTLS buffer size (resulting in the buffer size 2^n)"
default 8
help
As the buffer size ALWAYS needs to be power of two, this option
represents the exponent of 2^n, which will be used as the size of the
buffer. The buffer is used to hold credentials during DTLS handshakes.
endif # KCONFIG_USEMODULE_SOCK_DTLS