zephyr/include
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
..
arch Revert "sys_bitfield*(): use 'void *' instead of memaddr_t" 2017-02-28 16:06:22 -05:00
bluetooth Bluetooth: HFP HF: SCO: Accept eSCO conn request 2017-03-08 15:35:28 +00:00
crypto license: replace APL2.0 license with SPDX 2017-02-20 16:59:46 +00:00
debug license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
display grove: fix variable type mismatch 2017-02-11 00:14:15 +00:00
drivers ipm_console: add Kconfig for receiver stack size 2017-03-06 16:58:20 +00:00
fs license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
linker net: Switch from per-iface tx thread to a unique k_poll triggered one 2017-03-09 20:33:49 +02:00
logging kernel_event_logger: add additional function prototypes 2017-01-19 20:17:29 +00:00
misc slist: add SYS_SLIST_ITERATE_FROM_NODE() 2017-02-16 04:56:23 +00:00
net net/mgmt: Add a network interface based synchronous event listener 2017-03-17 10:34:42 +02:00
shell license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
toolchain gcc: add compiler_barrier() macro 2017-02-16 04:56:20 +00:00
usb usb: Change transfer_len type to int32_t in usb_request_handler typedef 2017-01-30 12:01:49 +00:00
adc.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
aio_comparator.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
atomic.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cache.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
clock_control.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
counter.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
device.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
disk_access.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
dma.h drivers: dma_shim: update dma qmsi shim driver 2017-02-10 02:18:16 +00:00
eth.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
flash.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
fs.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio.h gpio: Clarify API 2017-02-06 13:15:49 +00:00
i2c.h i2c: Adds a functions set that supports flexible addressing. 2017-02-11 05:20:07 +00:00
init.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ipm.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
irq.h irq: introduce 'direct' interrupt API definition 2017-02-02 17:46:33 +00:00
irq_offload.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel.h lifo: Make use of k_queue as implementation 2017-02-27 21:20:53 +00:00
kernel_version.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
legacy.h legacy: work around XCC issue in MDEF threads 2017-02-13 11:39:02 -08:00
linker-defs.h Xtensa port: Added support for Xtensa architecture to linker-defs.h. 2017-02-13 08:04:27 -08:00
linker-tool-gcc.h Xtensa port: Added linker script for several Xtensa cores. 2017-02-13 08:04:27 -08:00
linker-tool.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
microkernel.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
nanokernel.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pinmux.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
power.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pwm.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
random.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
rtc.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
section_tags.h section_tags.h: Remove unused security_frdm_k64f_section 2017-02-17 22:20:53 +00:00
sections.h gen_isr_tables: New static interrupt build mechanism 2017-02-11 01:27:58 +00:00
sensor.h sensor: fix typo in sensor.h 2017-02-15 11:44:36 +00:00
shared_irq.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
spi.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sw_isr_table.h gen_isr_tables: New static interrupt build mechanism 2017-02-11 01:27:58 +00:00
sys_clock.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sys_io.h Revert "sys_bitfield*(): use 'void *' instead of memaddr_t" 2017-02-28 16:06:22 -05:00
toolchain.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uart.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
watchdog.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
zephyr.h include/zephyr.h: Define __ZEPHYR__ if not already. 2017-03-08 12:41:57 +01:00