zephyr/include/net
Peter Bigot 1c7bf96019 net: dns: update to new k_work API
Switch to the new API for delayed work related to DNS queries.

In the previous solution it was assumed that the work item could be
immediately cancelled at the point the query slot was released.  This
is not true.  We need a secondary condition to record the fact that
the query was completed while the work item was still pending, and an
additional check to detect when the work item completed and the slot
reclaimed.

Also annotate functions to indicate when they require the lock on
query content to be held, add some helpers that abstract core
operations like invoking a callback or releasing a query slot, and fix
some more cases where query slot content was accessed outside of the
new lock infrastructure.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-03-15 17:19:54 +02:00
..
bt.h net: bt: fix C++ link errors 2020-08-17 10:45:03 +03:00
buf.h net: buf: Simplify querying maximum len 2021-02-22 19:33:16 +02:00
can.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
coap_link_format.h
coap.h net: coap: acknowledgement initialization helper 2021-02-15 10:17:11 +02:00
dhcpv4.h
dns_resolve.h net: dns: update to new k_work API 2021-03-15 17:19:54 +02:00
dns_sd.h net: dns: dns-sd: support dns service discovery 2020-11-09 16:15:02 -08:00
dsa.h eth: Add support for Distributed Switch Architecture [DSA] switches 2021-01-20 10:03:42 +02:00
dummy.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ethernet_mgmt.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
ethernet_vlan.h
ethernet.h device: use empty string as drvname when devicetree label is absent 2021-02-16 14:39:53 -06:00
gptp.h doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
hostname.h net: hostname: define public macro representing maximum hostname length 2020-11-17 19:21:43 -05:00
http_client.h
http_parser_state.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
http_parser_url.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
http_parser.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
ieee802154_mgmt.h
ieee802154_radio.h drivers: ieee802154: cc13xx_cc26xx: sub-ghz support 2020-11-09 10:25:24 +02:00
ieee802154.h
ipv4_autoconf.h
lldp.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
lwm2m_path.h net: lwm2m: Add path generation macro 2020-11-10 14:10:44 +02:00
lwm2m.h net: lwm2m: Add data validation callback 2021-03-10 14:55:22 -05:00
mii.h
mqtt.h net: mqtt: Return -1 if keepalive messages are disabled. 2020-12-08 14:08:36 -05:00
net_config.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
net_conn_mgr.h
net_context.h net: socket send timeout option 2021-02-24 14:16:33 +02:00
net_core.h net: mqtt: log struct mqtt_utf8 with hexdump 2021-03-05 12:49:22 +02:00
net_event.h net: event: Add start/bound/stop events for DHCPv4 2020-10-03 17:15:15 +03:00
net_if.h device: use empty string as drvname when devicetree label is absent 2021-02-16 14:39:53 -06:00
net_ip.h net: ipv6: add function checking if given address is ULA 2021-02-15 10:15:18 +02:00
net_l2.h
net_linkaddr.h
net_mgmt.h doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
net_offload.h kernel: Remove CONFIG_LEGACY_TIMEOUT_API 2021-01-14 21:33:16 -05:00
net_pkt.h net: pkt: Add function net_pkt_get_contiguous_len() 2021-02-24 09:43:52 +02:00
net_stats.h net: stats: Separate dropped TCP data segments and TCP packets 2020-11-06 09:50:02 -06:00
net_timeout.h net: timeout: refactor to fix multiple problems 2021-01-07 11:14:38 +02:00
openthread.h openthread: add openthread_api_mutex_try_lock() 2020-10-20 16:39:22 +03:00
ppp.h ppp: add net events for PPP dead and running 2021-03-03 15:56:13 +02:00
promiscuous.h
ptp_time.h
sntp.h net: sntp: Remove deprecated API function 2020-10-01 07:14:08 -05:00
socket_can.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
socket_net_mgmt.h
socket_offload.h
socket_select.h net: include: Add missing brace to socket_select.h 2021-01-20 12:01:27 +02:00
socket_types.h net: socket: Implement SO_RCVTIMEO timeout option 2021-01-19 17:11:25 -05:00
socket.h net: sockets: Implement MSG_WAITALL recv flag 2021-03-12 13:57:11 -05:00
socketutils.h
tftp.h
tls_credentials.h
trickle.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
udp.h
websocket.h doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
wifi_mgmt.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
wifi.h