Loading...
Searching...
No Matches
SOCK utility functions compile configurations

sock utility configuration values More...

Detailed Description

sock utility configuration values

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Macros

#define CONFIG_SOCK_SCHEME_MAXLEN   (16U)
 maximum length of the scheme part for sock_urlsplit.
 
#define CONFIG_SOCK_HOSTPORT_MAXLEN   (64U)
 maximum length of host:port part for sock_urlsplit()
 
#define CONFIG_SOCK_URLPATH_MAXLEN   (64U)
 maximum length path for sock_urlsplit()
 
#define CONFIG_SOCK_DTLS_TIMEOUT_MS   (1000U)
 Timeout in milliseconds for sock_dtls_establish_session()
 
#define CONFIG_SOCK_DTLS_RETRIES   (2)
 Number of DTLS handshake retries for sock_dtls_establish_session()
 

Macro Definition Documentation

◆ CONFIG_SOCK_DTLS_RETRIES

#define CONFIG_SOCK_DTLS_RETRIES   (2)

Number of DTLS handshake retries for sock_dtls_establish_session()

Definition at line 62 of file config.h.

◆ CONFIG_SOCK_DTLS_TIMEOUT_MS

#define CONFIG_SOCK_DTLS_TIMEOUT_MS   (1000U)

Timeout in milliseconds for sock_dtls_establish_session()

Definition at line 55 of file config.h.

◆ CONFIG_SOCK_HOSTPORT_MAXLEN

#define CONFIG_SOCK_HOSTPORT_MAXLEN   (64U)

maximum length of host:port part for sock_urlsplit()

Definition at line 41 of file config.h.

◆ CONFIG_SOCK_SCHEME_MAXLEN

#define CONFIG_SOCK_SCHEME_MAXLEN   (16U)

maximum length of the scheme part for sock_urlsplit.

Ensures a hard limit on the string iterator

Definition at line 34 of file config.h.

◆ CONFIG_SOCK_URLPATH_MAXLEN

#define CONFIG_SOCK_URLPATH_MAXLEN   (64U)

maximum length path for sock_urlsplit()

Definition at line 48 of file config.h.