net: tls: Add DTLS protocol types
Define DTLS protocol types and and Kconfig option to enable DTLS support. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
8b1f966b12
commit
85db974ec3
3 changed files with 13 additions and 5 deletions
|
@ -59,6 +59,8 @@ enum net_ip_protocol_secure {
|
|||
IPPROTO_TLS_1_0 = 256,
|
||||
IPPROTO_TLS_1_1 = 257,
|
||||
IPPROTO_TLS_1_2 = 258,
|
||||
IPPROTO_DTLS_1_0 = 272,
|
||||
IPPROTO_DTLS_1_2 = 273,
|
||||
};
|
||||
|
||||
/** Socket type */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue