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 headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
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.h net: coap: Add internal init function to seed message_id 2019-10-04 21:22:55 +03:00
coap_link_format.h net: coap: Remove legacy CoAP implementation 2019-02-04 16:49:59 -05:00
dhcpv4.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
dns_resolve.h net: dns: Fix DNS documentation 2019-02-15 16:39:06 -05:00
dummy.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
ethernet.h include: net: ethernet.h: Clarify checksum offloading options 2019-12-17 11:32:09 +02:00
ethernet_mgmt.h net: ethernet_mgmt: Add missing documentation 2019-02-15 16:39:06 -05:00
ethernet_vlan.h net: ethernet: vlan: Add missing function documentation 2019-02-15 16:39:06 -05:00
gptp.h net: gptp: Rename z_gptp_pow2() to gptp_pow2() 2019-03-25 14:43:23 -04:00
hostname.h net: Fix the function API documentation generation 2019-02-15 16:39:06 -05:00
http_client.h net: http: client: Initial version 2019-10-04 16:38:34 +03:00
http_parser.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
http_parser_state.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
http_parser_url.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
ieee802154.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ieee802154_mgmt.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ieee802154_radio.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
ipv4_autoconf.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
lldp.h net/lldp: Simplify Kconfig file 2019-07-10 15:24:32 +03:00
lwm2m.h net: lwm2m: support client-initiated De-register 2019-09-08 12:36:33 +02:00
mii.h net: ethernet: Place MII defines into separate doxygen group 2019-02-26 02:07:36 +01:00
mqtt.h net: mqtt: Add keep alive timeout helper 2020-01-18 12:25:33 +02:00
net_config.h net: config: Document the flags options 2019-02-20 19:41:59 -05:00
net_conn_mgr.h net: Add a connection manager preliminary logic 2019-07-12 12:33:19 +03:00
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: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
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: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
net_linkaddr.h net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
net_mgmt.h include/net: additional cleanup for extern "C" use 2019-08-13 18:00:31 +02:00
net_offload.h net/offload: Add dummy functions when offloading is disabled 2019-05-07 15:40:33 +03:00
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 net: timeouts: Fix documentation for net_timeouts.h 2019-02-15 16:39:06 -05:00
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 net: fix errno returned without promiscuous mode support 2019-04-17 15:39:04 +03:00
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.h net: sockets: tls: Add missing symbols for a few options 2020-01-20 09:58:23 +02: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 net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_offload.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_offload_ops.h net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
socket_select.h doc: use @rst/@endrst for ReST in headers 2019-06-25 23:33:55 -04:00
socketutils.h include: net: socketutils: Allow to build for CONFIG_POSIX_API 2019-09-12 17:30:29 +03:00
tls_credentials.h net: tls: Add credential type documentation 2019-03-26 07:30:57 -05:00
trickle.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
udp.h doc: net: Hide UDP API documentation 2019-02-21 16:37:43 -05:00
websocket.h net: websocket: client: Simple API for Websocket client 2019-10-04 16:38:34 +03:00
wifi.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
wifi_mgmt.h net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00