Implement kqueue(2) support via CONFIG_ELOOP_KQUEUE
authorRoy Marples <roy@marples.name>
Fri, 22 Jan 2016 20:28:25 +0000 (20:28 +0000)
committerJouni Malinen <j@w1.fi>
Sun, 7 Feb 2016 16:09:19 +0000 (18:09 +0200)
commitf9982b3212228f687f828bd201aa266056aa20f7
treec8dab4ce6fa711459724da596ef28048930175a2
parent2e69bdd16ac1c4c6a974e588f41aa954f05f1487
Implement kqueue(2) support via CONFIG_ELOOP_KQUEUE

NOTE: kqueue has to be closed and re-build after forking. epoll *should*
do the same, but it seems that wpa_supplicant doesn't need it at least.

I have re-worked a little bit of the epoll code (moved into a similar
kqueue function) so it's trivial to requeue epoll if needed in the
future.

Signed-off-by: Roy Marples <roy@marples.name>
hostapd/Makefile
src/utils/eloop.c
wpa_supplicant/Makefile