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
2024-03-27 10:28:12 +01:00

50 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.
#
menu "SOCK utility functions"
depends on 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().
endmenu # SOCK utility functions
menu "SOCK DTLS"
depends on 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.
config DTLS_CREDENTIALS_MAX
int "Buffer size for TLS credential tags"
default 4
config DTLS_PSK_ID_HINT_MAX_SIZE
int "Maximum size for a PSK Identity hint string"
default 32
endmenu # SOCK DTLS