/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | tcpmsg.h | 40 isc_event_t event; member in struct:dns_tcpmsg 83 * Schedule an event to be delivered when a DNS message is readable, or 99 *\li The event delivered is a fully generic event. It will contain no 108 * Cancel a readmessage() call. The event will still be posted with a
|
H A D | adb.h | 46 * at least one more completes, an event is sent to the caller. If none of 47 * them resolve before the fetch times out, an event indicating this is 128 isc_event_t event; member in struct:dns_adbfind 138 * Only schedule an event if no addresses are known. 142 * An event is desired. Check this bit in the returned find to see 171 * Only schedule an event if no addresses are known. 176 * An event is desired. Check this bit in the returned find to see 205 * Only schedule an event if no addresses are known. 224 * The event sent to the caller task is just a plain old isc_event_t. It 231 * This is simply a standard event, wit [all...] |
H A D | validator.h | 59 #include <isc/event.h> 133 dns_validatorevent_t * event; member in struct:dns_validator 242 * event, it will send it with result code ISC_R_CANCELED. 253 * event.
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | event.c | 18 /* $Id: event.c,v 1.21 2007/06/19 23:47:17 tbox Exp $ */ 27 #include <isc/event.h> 36 destroy(isc_event_t *event) { argument 37 isc_mem_t *mctx = event->ev_destroy_arg; 39 isc_mem_put(mctx, event, event->ev_size); 46 isc_event_t *event; local 52 event = isc_mem_get(mctx, size); 53 if (event == NULL) 58 * evils here. If the event 78 isc_event_t *event; local [all...] |
H A D | ratelimiter.c | 54 ratelimiter_tick(isc_task_t *task, isc_event_t *event); 57 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event); 169 ratelimiter_tick(isc_task_t *task, isc_event_t *event) { argument 171 isc_ratelimiter_t *rl = (isc_ratelimiter_t *)event->ev_arg; 177 isc_event_free(&event); 226 * Send an event to our task. The delivery of this event 236 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event) { argument 237 isc_ratelimiter_t *rl = (isc_ratelimiter_t *)event->ev_arg;
|
H A D | timer.c | 373 * it affects a great many recipients of the timer event 432 * are purged from its task's event queue. 583 isc_timerevent_t *event; local 654 * XXX We could preallocate this event. 656 event = (isc_timerevent_t *)isc_event_allocate(manager->mctx, 661 sizeof(*event)); 663 if (event != NULL) { 664 event->due = timer->due; 666 ISC_EVENT_PTR(&event)); 673 "allocate event")); [all...] |
/bind-9.6-ESV-R11/lib/isccc/include/isccc/ |
H A D | ccmsg.h | 55 isc_event_t event; member in struct:isccc_ccmsg 98 * Schedule an event to be delivered when a command channel message is 114 *\li The event delivered is a fully generic event. It will contain no 123 * Cancel a readmessage() call. The event will still be posted with a
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | lwdgnba.c | 38 byaddr_done(isc_task_t *task, isc_event_t *event) { argument 55 client = event->ev_arg; 57 INSIST(client->byaddr == (dns_byaddr_t *)event->ev_sender); 59 bevent = (dns_byaddrevent_t *)event; 62 ns_lwdclient_log(50, "byaddr event result = %s", 68 isc_event_free(&event); 121 isc_event_free(&event); 155 if (event != NULL) 156 isc_event_free(&event);
|
H A D | lwdgrbn.c | 192 lookup_done(isc_task_t *task, isc_event_t *event) { argument 207 REQUIRE(event != NULL); 212 client = event->ev_arg; 214 INSIST(client->lookup == (dns_lookup_t *)event->ev_sender); 216 levent = (dns_lookupevent_t *)event; 219 ns_lwdclient_log(50, "lookup event result = %s", 225 isc_event_free(&event); 365 isc_event_free(&event); 389 isc_event_free(&event);
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | ratelimiter_test.c | 36 static void utick(isc_task_t *task, isc_event_t *event); 37 static void shutdown_rl(isc_task_t *task, isc_event_t *event); 38 static void shutdown_all(isc_task_t *task, isc_event_t *event); 62 ltick(isc_task_t *task, isc_event_t *event) { argument 65 (event->ev_attributes & ISC_EVENTATTR_CANCELED) != 0 ? 67 isc_event_free(&event); 71 utick(isc_task_t *task, isc_event_t *event) { argument 74 event->ev_action = ltick; 75 event->ev_sender = NULL; 76 result = isc_ratelimiter_enqueue(rlim, g_task, &event); 82 shutdown_rl(isc_task_t *task, isc_event_t *event) argument 90 shutdown_all(isc_task_t *task, isc_event_t *event) argument [all...] |
H A D | task_test.c | 34 my_callback(isc_task_t *task, isc_event_t *event) { argument 36 char *name = event->ev_arg; 42 isc_event_free(&event); 46 my_shutdown(isc_task_t *task, isc_event_t *event) { argument 47 char *name = event->ev_arg; 50 isc_event_free(&event); 54 my_tick(isc_task_t *task, isc_event_t *event) { argument 55 char *name = event->ev_arg; 58 isc_event_free(&event); 66 isc_event_t *event; local [all...] |
H A D | timer_test.c | 38 shutdown_task(isc_task_t *task, isc_event_t *event) { argument 39 char *name = event->ev_arg; 42 isc_event_free(&event); 46 tick(isc_task_t *task, isc_event_t *event) { argument 47 char *name = event->ev_arg; 49 INSIST(event->ev_type == ISC_TIMEREVENT_TICK); 70 isc_event_free(&event); 74 timeout(isc_task_t *task, isc_event_t *event) { argument 75 char *name = event->ev_arg; 78 INSIST(event [all...] |
H A D | byaddr_test.c | 47 done(isc_task_t *task, isc_event_t *event) { argument 52 REQUIRE(event->ev_type == DNS_EVENT_BYADDRDONE); 53 bevent = (dns_byaddrevent_t *)event; 57 printf("byaddr event result = %s\n", 70 byaddr = event->ev_sender; 72 isc_event_free(&event);
|
H A D | shutdown_test.c | 54 t1_shutdown(isc_task_t *task, isc_event_t *event) { argument 55 t_info *info = event->ev_arg; 59 isc_event_free(&event); 63 t2_shutdown(isc_task_t *task, isc_event_t *event) { argument 64 t_info *info = event->ev_arg; 68 isc_event_free(&event); 72 shutdown_action(isc_task_t *task, isc_event_t *event) { argument 73 t_info *info = event->ev_arg; 76 INSIST(event->ev_type == ISC_TASKEVENT_SHUTDOWN); 83 sizeof(*event)); 92 foo_event(isc_task_t *task, isc_event_t *event) argument 98 tick(isc_task_t *task, isc_event_t *event) argument [all...] |
H A D | sock_test.c | 37 my_shutdown(isc_task_t *task, isc_event_t *event) { argument 38 char *name = event->ev_arg; 42 isc_event_free(&event); 46 my_send(isc_task_t *task, isc_event_t *event) { argument 50 sock = event->ev_sender; 51 dev = (isc_socketevent_t *)event; 55 (char *)(event->ev_arg), task, sock, 66 isc_event_free(&event); 70 my_recv(isc_task_t *task, isc_event_t *event) { argument 77 sock = event 130 my_http_get(isc_task_t *task, isc_event_t *event) argument 156 my_connect(isc_task_t *task, isc_event_t *event) argument 191 my_listen(isc_task_t *task, isc_event_t *event) argument 240 timeout(isc_task_t *task, isc_event_t *event) argument [all...] |
H A D | byname_test.c | 60 static void adb_callback(isc_task_t *task, isc_event_t *event); 154 * get an event when something happens. 174 adb_callback(isc_task_t *etask, isc_event_t *event) { argument 175 unsigned int type = event->ev_type; 179 isc_event_free(&event); 188 printf("unexpected ADB event type %u\n", type); 194 run(isc_task_t *task, isc_event_t *event) { argument 197 isc_event_free(&event);
|
H A D | sig0_test.c | 80 senddone(isc_task_t *task, isc_event_t *event) { argument 81 isc_socketevent_t *sevent = (isc_socketevent_t *)event; 89 isc_event_free(&event); 93 recvdone(isc_task_t *task, isc_event_t *event) { argument 94 isc_socketevent_t *sevent = (isc_socketevent_t *)event; 125 isc_event_free(&event);
|
/bind-9.6-ESV-R11/bin/tests/system/tkey/ |
H A D | keydelete.c | 68 recvquery(isc_task_t *task, isc_event_t *event) { argument 69 dns_requestevent_t *reqev = (dns_requestevent_t *)event; 78 fprintf(stderr, "I:request event result: %s\n", 106 isc_event_free(&event); 112 sendquery(isc_task_t *task, isc_event_t *event) { argument 119 isc_event_free(&event);
|
H A D | keycreate.c | 72 recvquery(isc_task_t *task, isc_event_t *event) { argument 73 dns_requestevent_t *reqev = (dns_requestevent_t *)event; 85 fprintf(stderr, "I:request event result: %s\n", 126 isc_event_free(&event); 132 sendquery(isc_task_t *task, isc_event_t *event) { argument 145 isc_event_free(&event);
|
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | app.c | 35 #include <isc/event.h> 91 /* Create the reload event in a non-signaled state */ 94 /* Create the shutdown event in a non-signaled state */ 104 isc_event_t *event; local 116 * Note that we store the task to which we're going to send the event 117 * in the event's "sender" field. 120 event = isc_event_allocate(mctx, cloned_task, ISC_APPEVENT_SHUTDOWN, 121 action, arg, sizeof(*event)); 122 if (event == NULL) { 127 ISC_LIST_APPEND(on_run, event, ev_lin 137 isc_event_t *event, *next_event; local [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | byaddr.c | 43 * XXXRTH We could use a static event... 56 dns_byaddrevent_t * event; member in struct:dns_byaddr 161 ISC_LIST_APPEND(byaddr->event->names, name, link); 172 lookup_done(isc_task_t *task, isc_event_t *event) { argument 173 dns_byaddr_t *byaddr = event->ev_arg; 177 REQUIRE(event->ev_type == DNS_EVENT_LOOKUPDONE); 183 levent = (dns_lookupevent_t *)event; 187 byaddr->event->result = result; 189 byaddr->event->result = levent->result; 190 isc_event_free(&event); 195 bevent_destroy(isc_event_t *event) argument [all...] |
H A D | lookup.c | 51 dns_lookupevent_t * event; member in struct:dns_lookup 64 static void lookup_find(dns_lookup_t *lookup, dns_fetchevent_t *event); 67 fetch_done(isc_task_t *task, isc_event_t *event) { argument 68 dns_lookup_t *lookup = event->ev_arg; 72 REQUIRE(event->ev_type == DNS_EVENT_FETCHDONE); 75 fevent = (dns_fetchevent_t *)event; 142 lookup->event->name = name; 143 lookup->event->rdataset = rdataset; 144 lookup->event->sigrdataset = sigrdataset; 174 &lookup->event 181 lookup_find(dns_lookup_t *lookup, dns_fetchevent_t *event) argument 356 levent_destroy(isc_event_t *event) argument [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | app.c | 42 #include <isc/event.h> 265 isc_event_t *event; local 277 * Note that we store the task to which we're going to send the event 278 * in the event's "sender" field. 281 event = isc_event_allocate(mctx, cloned_task, ISC_APPEVENT_SHUTDOWN, 282 action, arg, sizeof(*event)); 283 if (event == NULL) { 288 ISC_LIST_APPEND(on_run, event, ev_link); 347 * timeout event actually, but there is no other way 373 * event loo 433 isc_event_t *event, *next_event; local [all...] |
/bind-9.6-ESV-R11/bin/tests/dst/ |
H A D | gsstest.c | 93 static void initctx1(isc_task_t *task, isc_event_t *event); 94 static void sendquery(isc_task_t *task, isc_event_t *event); 98 console(isc_task_t *task, isc_event_t *event) argument 103 isc_event_free(&event); 116 NULL, sizeof(*event)); 123 NULL, sizeof(*event)); 133 recvresponse(isc_task_t *task, isc_event_t *event) { argument 134 dns_requestevent_t *reqev = (dns_requestevent_t *)event; 151 fprintf(stderr, "I:request event result: %s\n", 183 isc_event_free(&event); 193 sendquery(isc_task_t *task, isc_event_t *event) argument 268 initctx2(isc_task_t *task, isc_event_t *event) argument 348 initctx1(isc_task_t *task, isc_event_t *event) argument [all...] |
/bind-9.6-ESV-R11/bin/tests/timers/ |
H A D | t_timers.c | 63 tx_sde(isc_task_t *task, isc_event_t *event) { argument 67 UNUSED(event); 93 isc_event_free(&event); 97 tx_te(isc_task_t *task, isc_event_t *event) { argument 111 if ((isc_timertype_t) event->ev_arg == isc_timertype_ticker) 114 if (event->ev_type != expected_event_type) { 115 t_info("expected event type %d, got %d\n", 116 expected_event_type, (int) event->ev_type); 182 isc_event_free(&event); 361 "creates a timer that posts an ISC_TIMEREVENT_TICK event t 446 t3_te(isc_task_t *task, isc_event_t *event) argument 576 t4_te(isc_task_t *task, isc_event_t *event) argument 746 t5_start_event(isc_task_t *task, isc_event_t *event) argument 774 t5_tick_event(isc_task_t *task, isc_event_t *event) argument 805 t5_once_event(isc_task_t *task, isc_event_t *event) argument 842 t5_shutdown_event(isc_task_t *task, isc_event_t *event) argument 888 isc_event_t *event; local [all...] |