]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
clarify references to EVFILT_USER
authorAlan T. DeKok <aland@freeradius.org>
Mon, 19 Jun 2017 17:13:03 +0000 (13:13 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 19 Jun 2017 17:13:03 +0000 (13:13 -0400)
src/lib/io/channel.c
src/lib/io/network.c
src/lib/io/worker.c

index 00d8eaf4b7fde2a702790dae14566d64bc029c7e..eff0d269335cdc4fd9321735736b579f5b163e95 100644 (file)
@@ -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
index b266cef5e334af47a5783b4fbd6843c8487f45a5..ba08bc8d1394b3ea4a519d7deba19992943ae22a 100644 (file)
@@ -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
index 6720a04197f2349736fa3af4c1dc29fddec26b0a..2316ac2b65de83b821ba296e9a5d8daca16c4f3d 100644 (file)
@@ -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