From: Alan T. DeKok Date: Mon, 19 Jun 2017 17:13:03 +0000 (-0400) Subject: clarify references to EVFILT_USER X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3efc296e4e0598867e4c7e19212852ad342fdf8b;p=thirdparty%2Ffreeradius-server.git clarify references to EVFILT_USER --- diff --git a/src/lib/io/channel.c b/src/lib/io/channel.c index 00d8eaf4b7f..eff0d269335 100644 --- a/src/lib/io/channel.c +++ b/src/lib/io/channel.c @@ -663,16 +663,15 @@ fr_channel_event_t fr_channel_service_message(fr_time_t when, fr_channel_t **p_c } -/** Service an EVFILT_USER event. +/** Service a control-plane event. * - * The channels use EVFILT_USER events for internal signaling. A - * master / worker should call this function for every EVFILT_USER - * event. Note that the caller does NOT pass the channel into this - * function. Instead, the channel is taken from the kevent. + * The channels use control planes for internal signaling. Note that + * the caller does NOT pass the channel into this function. Instead, + * the channel is taken from the kevent. * * @param[in] ch The channel to service. * @param[in] c The control plane on which we received the kev. - * @param[in] kev The event of type EVFILT_USER. + * @param[in] kev The kevent data, should get passed to the control plane. * @return * - <0 on error * - 0 on success diff --git a/src/lib/io/network.c b/src/lib/io/network.c index b266cef5e33..ba08bc8d139 100644 --- a/src/lib/io/network.c +++ b/src/lib/io/network.c @@ -569,7 +569,7 @@ static void fr_network_worker_callback(void *ctx, void const *data, size_t data_ } -/** Service an EVFILT_USER event +/** Service a control-plane event. * * @param[in] kq the kq to service * @param[in] kev the kevent to service diff --git a/src/lib/io/worker.c b/src/lib/io/worker.c index 6720a04197f..2316ac2b65d 100644 --- a/src/lib/io/worker.c +++ b/src/lib/io/worker.c @@ -295,7 +295,7 @@ static void fr_worker_channel_callback(void *ctx, void const *data, size_t data_ } -/** Service an EVFILT_USER event +/** Service a control-plane event. * * @param[in] kq the kq to service * @param[in] kev the kevent to service