Searched refs:iu_eh_t (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | libinetutil.h | 201 typedef struct iu_event_handler iu_eh_t; typedef 225 typedef void iu_eh_callback_t(iu_eh_t *, int, short, iu_event_id_t, void *); 226 typedef void iu_eh_sighandler_t(iu_eh_t *, int, void *); 227 typedef boolean_t iu_eh_shutdown_t(iu_eh_t *, void *); 229 iu_eh_t *iu_eh_create(void); 230 void iu_eh_destroy(iu_eh_t *); 231 iu_event_id_t iu_register_event(iu_eh_t *, int, short, iu_eh_callback_t *, 233 int iu_unregister_event(iu_eh_t *, iu_event_id_t, void **); 234 int iu_handle_events(iu_eh_t *, iu_tq_t *); 235 void iu_stop_handling_events(iu_eh_t *, unsigned int, [all …]
|
H A D | eh.c | 35 static int grow_fds(iu_eh_t *, int); 46 static iu_eh_t *signal_to_eh[NSIG]; 55 iu_eh_t * 58 iu_eh_t *eh = malloc(sizeof (iu_eh_t)); in iu_eh_create() 92 iu_eh_destroy(iu_eh_t *eh) in iu_eh_destroy() 120 iu_stop_handling_events(iu_eh_t *eh, unsigned int reason, in iu_stop_handling_events() 139 grow_fds(iu_eh_t *eh, int total_fds) in grow_fds() 197 iu_register_event(iu_eh_t *eh, int fd, short events, iu_eh_callback_t *callback, in iu_register_event() 239 iu_unregister_event(iu_eh_t *eh, iu_event_id_t event_id, void **arg) in iu_unregister_event() 270 iu_handle_events(iu_eh_t *eh, iu_tq_t *tq) in iu_handle_events() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | agent.h | 56 extern iu_eh_t *eh; 63 boolean_t drain_script(iu_eh_t *, void *);
|
H A D | agent.c | 67 iu_eh_t *eh; 389 drain_script(iu_eh_t *ehp, void *arg) in drain_script() 419 accept_event(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, void *arg) in accept_event() 449 ipc_event(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, void *arg) in ipc_event() 1502 rtsock_event(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, void *arg) in rtsock_event()
|
H A D | states.h | 319 void refresh_smachs(iu_eh_t *, int, void *);
|
H A D | script_handler.c | 250 script_exit(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, void *arg) in script_exit()
|
H A D | request.c | 978 dhcp_acknak_global(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, in dhcp_acknak_global() 1100 dhcp_packet_lif(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, in dhcp_packet_lif()
|
H A D | states.c | 1287 refresh_smachs(iu_eh_t *eh, int sig, void *arg) in refresh_smachs()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 98 iu_eh_t *vrrpd_eh = NULL; 1269 vrrpd_cmdsock_handler(iu_eh_t *eh, int s, short events, iu_event_id_t id, in vrrpd_cmdsock_handler() 1402 vrrpd_rtsock_handler(iu_eh_t *eh, int s, short events, in vrrpd_rtsock_handler() 3531 vrrpd_sock_handler(iu_eh_t *eh, int s, short events, iu_event_id_t id, in vrrpd_sock_handler()
|