zephyr/include/net
Robert Lubos 665d195f3a net: sockets: tls: Add missing symbols for a few options
`TLS_PEER_VERIFY` and `TLS_DTLS_ROLE` options accept specific values,
yet no symbols were defined for them. In result, magic numbers were used
in several places, making the code less readable.

Fix this issue, by adding the missing symbols to the `socket.h` header,
and using them in places where related socket options are set.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-01-20 09:58:23 +02:00
..
bt.h
buf.h net: buf: Add push functions for supported bit-variants 2020-01-02 19:05:27 +01:00
can.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
coap_link_format.h
coap.h net: coap: Add internal init function to seed message_id 2019-10-04 21:22:55 +03:00
dhcpv4.h
dns_resolve.h
dummy.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h include: net: ethernet.h: Clarify checksum offloading options 2019-12-17 11:32:09 +02:00
gptp.h
hostname.h
http_client.h net: http: client: Initial version 2019-10-04 16:38:34 +03:00
http_parser_state.h
http_parser_url.h
http_parser.h
ieee802154_mgmt.h
ieee802154_radio.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
ieee802154.h
ipv4_autoconf.h
lldp.h
lwm2m.h net: lwm2m: support client-initiated De-register 2019-09-08 12:36:33 +02:00
mii.h
mqtt.h net: mqtt: Add keep alive timeout helper 2020-01-18 12:25:33 +02:00
net_config.h
net_conn_mgr.h
net_context.h net: tcp: Handle special case where accepted socket is closed 2019-10-28 13:58:59 +02:00
net_core.h net: core: Drop NET_ASSERT_INFO() macro 2020-01-08 14:10:21 +02:00
net_event.h
net_if.h net: pkt: Make sure iface is not null when accessing L2 2019-12-02 07:39:41 -06:00
net_ip.h net: Add IPPROTO_RAW as it was missing 2019-09-12 11:22:45 +03:00
net_l2.h
net_linkaddr.h
net_mgmt.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
net_offload.h
net_pkt.h net: ipv4: Add IPv4 options length to net pkt 2019-12-16 11:35:24 +02:00
net_stats.h net: Add statistics how long packets have spent in TX path 2019-10-14 16:34:48 +03:00
net_timeout.h
openthread.h net: openthread: Update OpenThread version 2019-10-28 13:00:56 +02:00
ppp.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
promiscuous.h
ptp_time.h net: Explicitly include toolchain.h to check for endianness definitions. 2019-09-09 21:40:54 +02:00
sntp.h net: sntp: Allow to build for CONFIG_POSIX_API. 2019-09-12 17:30:29 +03:00
socket_can.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
socket_net_mgmt.h
socket_offload_ops.h
socket_offload.h
socket_select.h
socket.h net: sockets: tls: Add missing symbols for a few options 2020-01-20 09:58:23 +02:00
socketutils.h include: net: socketutils: Allow to build for CONFIG_POSIX_API 2019-09-12 17:30:29 +03:00
tls_credentials.h
trickle.h
udp.h
websocket.h net: websocket: client: Simple API for Websocket client 2019-10-04 16:38:34 +03:00
wifi_mgmt.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
wifi.h