zephyr/include/net
Tomasz Bursztyka d6d1b3a748 net/mgmt: Add a network interface based synchronous event listener
In case of callback based event listener, it is easy for the callback to
filter on the given interface. But in case of the synchronous call it's
not: it would need, after a failed comparison on the interface pointer
to loop by itself on the net_mgmt_event_wait() which is a little bit
heavy (reinstalling the event listener, with the semaphore and all) and
a bit of a burden for the caller itself.

Instead, net_mgmt provides a dedicated call
net_mgmt_event_wait_on_iface() which does it the right way, so the
callback and the related semaphore are destroyed if only the iface
matches the one given as parameter (besides the timeout obviously).

Change-Id: Iab05c3249586f4f4d0447eea42fdac72b8428f2e
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2017-03-17 10:34:42 +02:00
..
arp.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
bt.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
buf.h net: buf: Store name of the buffer pool 2017-03-09 20:33:42 +02:00
dhcpv4.h net/dhcpv4: Support REBINDING 2017-03-09 20:33:42 +02:00
dns_client.h net/dns: Fix inline documentation 2017-02-07 22:33:47 +00:00
ethernet.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
http_parser.h net: Restructure network protocols 2017-01-02 10:03:19 +01:00
http.h net/http: Add the HTTP/1.1 API 2017-03-09 20:33:49 +02:00
ieee802154_radio.h net/ieee802154: Modify radio TX function signature 2017-01-27 12:35:53 +02:00
ieee802154.h net/ieee802154/mgmt: Add getters/setters for various radio network info 2017-02-03 15:59:19 +02:00
mii.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mqtt_types.h net/mqtt: Remove length computations for some msg fields 2017-02-15 12:20:08 +02:00
mqtt.h net/mqtt: Fix inline doc for MQTT 2017-02-14 08:30:34 +02:00
nbuf.h net: nbuf: Create net_nbuf_frag_del() for tracking allocations 2017-03-09 20:33:44 +02:00
net_context.h net: Add net_buf pool support to each context 2017-03-09 20:33:42 +02:00
net_core.h net: ip: Address type mismatch warnings 2017-03-09 20:33:46 +02:00
net_event.h net: ipv6: Notify others if we join/leave IPv6 mcast group 2017-03-09 20:33:48 +02:00
net_if.h net: Switch from per-iface tx thread to a unique k_poll triggered one 2017-03-09 20:33:49 +02:00
net_ip.h net: ipv6: Bluetooth address fix 2017-02-27 10:28:55 +02:00
net_l2.h net: Remove duplicate const specifier 2017-02-15 12:20:08 +02:00
net_linkaddr.h net: Add network link technology type to linkaddr 2017-02-22 17:28:24 +02:00
net_mgmt.h net/mgmt: Add a network interface based synchronous event listener 2017-03-17 10:34:42 +02:00
net_stats.h net: ipv6: Collect MLD statistics 2017-03-09 20:33:48 +02:00
offload_ip.h net: offload_ip: Update net_context_accept_cb_t to net_tcp_accept_cb_t 2017-02-09 09:43:06 +02:00
trickle.h net/trickle: Include net_core.h in order to define NET_ASSERT 2017-03-09 20:33:47 +02:00
zoap_link_format.h doc/api/networking: Add existing network protocol libraries APIs 2017-02-03 15:59:18 +02:00
zoap.h iot/zoap: Fix requiring that the buffer is unchanged for retransmit 2017-02-27 10:28:54 +02:00