Searched defs:event (Results 1 - 25 of 72) sorted by relevance

123

/bind-9.11.3/lib/dns/include/dns/
H A Dtcpmsg.h31 isc_event_t event; member in struct:dns_tcpmsg
74 * Schedule an event to be delivered when a DNS message is readable, or
90 *\li The event delivered is a fully generic event. It will contain no
99 * Cancel a readmessage() call. The event will still be posted with a
H A Dvalidator.h50 #include <isc/event.h>
124 dns_validatorevent_t * event; member in struct:dns_validator
236 * event, it will send it with result code ISC_R_CANCELED.
247 * event.
H A Dadb.h37 * at least one more completes, an event is sent to the caller. If none of
38 * them resolve before the fetch times out, an event indicating this is
119 isc_event_t event; member in struct:dns_adbfind
129 * Only schedule an event if no addresses are known.
133 * An event is desired. Check this bit in the returned find to see
162 * Only schedule an event if no addresses are known.
167 * An event is desired. Check this bit in the returned find to see
196 * Only schedule an event if no addresses are known.
222 * The event sent to the caller task is just a plain old isc_event_t. It
229 * This is simply a standard event, wit
[all...]
/bind-9.11.3/lib/isc/
H A Devent.c9 /* $Id: event.c,v 1.21 2007/06/19 23:47:17 tbox Exp $ */
18 #include <isc/event.h>
27 destroy(isc_event_t *event) { argument
28 isc_mem_t *mctx = event->ev_destroy_arg;
30 isc_mem_put(mctx, event, event->ev_size);
37 isc_event_t *event; local
42 event = isc_mem_get(mctx, size);
43 if (event == NULL)
46 ISC_EVENT_INIT(event, siz
56 isc_event_t *event; local
88 isc_event_t *event; local
[all...]
H A Dratelimiter.c44 ratelimiter_tick(isc_task_t *task, isc_event_t *event);
47 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event);
179 isc_ratelimiter_dequeue(isc_ratelimiter_t *rl, isc_event_t *event) { argument
183 REQUIRE(event != NULL);
186 if (ISC_LINK_LINKED(event, ev_ratelink)) {
187 ISC_LIST_UNLINK(rl->pending, event, ev_ratelink);
188 event->ev_sender = NULL;
196 ratelimiter_tick(isc_task_t *task, isc_event_t *event) { argument
198 isc_ratelimiter_t *rl = (isc_ratelimiter_t *)event->ev_arg;
204 isc_event_free(&event);
267 ratelimiter_shutdowncomplete(isc_task_t *task, isc_event_t *event) argument
[all...]
/bind-9.11.3/lib/isccc/include/isccc/
H A Dccmsg.h46 isc_event_t event; member in struct:isccc_ccmsg
89 * Schedule an event to be delivered when a command channel message is
105 *\li The event delivered is a fully generic event. It will contain no
114 * Cancel a readmessage() call. The event will still be posted with a
/bind-9.11.3/lib/isc/tests/
H A Dtask_test.c29 /* task event handler, sets a boolean to true */
34 set(isc_task_t *task, isc_event_t *event) { argument
35 int *value = (int *) event->ev_arg;
39 isc_event_free(&event);
46 set_and_drop(isc_task_t *task, isc_event_t *event) { argument
47 int *value = (int *) event->ev_arg;
51 isc_event_free(&event);
94 isc_event_t *event; local
111 /* First event */
112 event
151 isc_event_t *event; local
280 isc_event_t *event; local
[all...]
H A Dsocket_test.c46 accept_done(isc_task_t *task, isc_event_t *event) { argument
47 isc_socket_newconnev_t *nevent = (isc_socket_newconnev_t *)event;
48 completion_t *completion = event->ev_arg;
57 isc_event_free(&event);
61 event_done(isc_task_t *task, isc_event_t *event) { argument
63 completion_t *completion = event->ev_arg;
67 dev = (isc_socketevent_t *) event;
75 isc_event_free(&event);
/bind-9.11.3/bin/tests/
H A Dtask_test.c26 my_callback(isc_task_t *task, isc_event_t *event) { argument
28 char *name = event->ev_arg;
34 isc_event_free(&event);
38 my_shutdown(isc_task_t *task, isc_event_t *event) { argument
39 char *name = event->ev_arg;
42 isc_event_free(&event);
46 my_tick(isc_task_t *task, isc_event_t *event) { argument
47 char *name = event->ev_arg;
50 isc_event_free(&event);
65 isc_event_t *event; local
[all...]
H A Dratelimiter_test.c28 static void utick(isc_task_t *task, isc_event_t *event);
29 static void shutdown_rl(isc_task_t *task, isc_event_t *event);
30 static void shutdown_all(isc_task_t *task, isc_event_t *event);
54 ltick(isc_task_t *task, isc_event_t *event) { argument
57 (event->ev_attributes & ISC_EVENTATTR_CANCELED) != 0 ?
59 isc_event_free(&event);
63 utick(isc_task_t *task, isc_event_t *event) { argument
66 event->ev_action = ltick;
67 event->ev_sender = NULL;
68 result = isc_ratelimiter_enqueue(rlim, g_task, &event);
74 shutdown_rl(isc_task_t *task, isc_event_t *event) argument
82 shutdown_all(isc_task_t *task, isc_event_t *event) argument
[all...]
H A Dtimer_test.c30 shutdown_task(isc_task_t *task, isc_event_t *event) { argument
31 char *name = event->ev_arg;
34 isc_event_free(&event);
38 tick(isc_task_t *task, isc_event_t *event) { argument
39 char *name = event->ev_arg;
41 INSIST(event->ev_type == ISC_TIMEREVENT_TICK);
62 isc_event_free(&event);
66 timeout(isc_task_t *task, isc_event_t *event) { argument
67 char *name = event->ev_arg;
70 INSIST(event
[all...]
H A Dbyaddr_test.c39 done(isc_task_t *task, isc_event_t *event) { argument
44 REQUIRE(event->ev_type == DNS_EVENT_BYADDRDONE);
45 bevent = (dns_byaddrevent_t *)event;
49 printf("byaddr event result = %s\n",
62 byaddr = event->ev_sender;
64 isc_event_free(&event);
H A Dshutdown_test.c46 t1_shutdown(isc_task_t *task, isc_event_t *event) { argument
47 t_info *info = event->ev_arg;
51 isc_event_free(&event);
55 t2_shutdown(isc_task_t *task, isc_event_t *event) { argument
56 t_info *info = event->ev_arg;
60 isc_event_free(&event);
64 shutdown_action(isc_task_t *task, isc_event_t *event) { argument
65 t_info *info = event->ev_arg;
68 INSIST(event->ev_type == ISC_TASKEVENT_SHUTDOWN);
75 sizeof(*event));
84 foo_event(isc_task_t *task, isc_event_t *event) argument
90 tick(isc_task_t *task, isc_event_t *event) argument
[all...]
H A Dbyname_test.c50 static void adb_callback(isc_task_t *task, isc_event_t *event);
144 * get an event when something happens.
164 adb_callback(isc_task_t *etask, isc_event_t *event) { argument
165 unsigned int type = event->ev_type;
169 isc_event_free(&event);
178 printf("unexpected ADB event type %u\n", type);
184 run(isc_task_t *xtask, isc_event_t *event) { argument
187 isc_event_free(&event);
H A Dsig0_test.c72 senddone(isc_task_t *task, isc_event_t *event) { argument
73 isc_socketevent_t *sevent = (isc_socketevent_t *)event;
81 isc_event_free(&event);
85 recvdone(isc_task_t *task, isc_event_t *event) { argument
86 isc_socketevent_t *sevent = (isc_socketevent_t *)event;
117 isc_event_free(&event);
/bind-9.11.3/bin/named/
H A Dlwdgnba.c29 byaddr_done(isc_task_t *task, isc_event_t *event) { argument
46 client = event->ev_arg;
48 INSIST(client->byaddr == (dns_byaddr_t *)event->ev_sender);
50 bevent = (dns_byaddrevent_t *)event;
53 ns_lwdclient_log(50, "byaddr event result = %s",
59 isc_event_free(&event);
112 isc_event_free(&event);
146 if (event != NULL)
147 isc_event_free(&event);
H A Dlwdgrbn.c183 lookup_done(isc_task_t *task, isc_event_t *event) { argument
198 REQUIRE(event != NULL);
203 client = event->ev_arg;
205 INSIST(client->lookup == (dns_lookup_t *)event->ev_sender);
207 levent = (dns_lookupevent_t *)event;
210 ns_lwdclient_log(50, "lookup event result = %s",
216 isc_event_free(&event);
356 isc_event_free(&event);
380 isc_event_free(&event);
/bind-9.11.3/lib/dns/tests/
H A Dzt_test.c73 start_zt_asyncload(isc_task_t *task, isc_event_t *event) { argument
74 struct args *args = (struct args *)(event->ev_arg);
80 isc_event_free(&event);
84 start_zone_asyncload(isc_task_t *task, isc_event_t *event) { argument
85 struct args *args = (struct args *)(event->ev_arg);
90 isc_event_free(&event);
H A Ddispatch_test.c141 senddone(isc_task_t *task, isc_event_t *event) { argument
142 isc_socket_t *sock = event->ev_arg;
147 isc_event_free(&event);
151 nameserver(isc_task_t *task, isc_event_t *event) { argument
155 isc_socket_t *sock = event->ev_arg;
156 isc_socketevent_t *ev = (isc_socketevent_t *)event;
191 isc_event_free(&event);
202 response(isc_task_t *task, isc_event_t *event) { argument
203 dns_dispatchevent_t *devent = (dns_dispatchevent_t *)event;
225 startit(isc_task_t *task, isc_event_t *event) { argument
[all...]
/bind-9.11.3/bin/tests/atomic/
H A Dt_atomic.c19 #include <isc/event.h>
84 isc_event_t *event; local
96 * Create our tasks, and allocate an event to get the counters going.
101 event = isc_event_allocate(mctx, NULL, 1000, do_xadd,
103 isc_task_sendanddetach(&tasks[i], &event);
142 isc_event_t *event; local
154 * Create our tasks, and allocate an event to get the counters going.
159 event = isc_event_allocate(mctx, NULL, 1000, do_xaddq,
161 isc_task_sendanddetach(&tasks[i], &event);
206 isc_event_t *event; local
280 isc_event_t *event; local
[all...]
/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Dsyncptr.c9 #include <isc/event.h>
50 syncptr_write(isc_task_t *task, isc_event_t *event) { argument
51 syncptrevent_t *pevent = (syncptrevent_t *)event;
56 REQUIRE(event->ev_type == SYNCPTR_WRITE_EVENT);
72 isc_event_free(&event);
147 * Generate update event for PTR record to reflect change in A/AAAA record.
219 * Send update event to the reverse zone.
239 * Generate update event for every rdata in rdataset.
/bind-9.11.3/bin/tests/system/tkey/
H A Dkeydelete.c62 recvquery(isc_task_t *task, isc_event_t *event) { argument
63 dns_requestevent_t *reqev = (dns_requestevent_t *)event;
72 fprintf(stderr, "I:request event result: %s\n",
100 isc_event_free(&event);
106 sendquery(isc_task_t *task, isc_event_t *event) { argument
113 isc_event_free(&event);
/bind-9.11.3/lib/dns/
H A Dlookup.c42 dns_lookupevent_t * event; member in struct:dns_lookup
55 static void lookup_find(dns_lookup_t *lookup, dns_fetchevent_t *event);
58 fetch_done(isc_task_t *task, isc_event_t *event) { argument
59 dns_lookup_t *lookup = event->ev_arg;
63 REQUIRE(event->ev_type == DNS_EVENT_FETCHDONE);
66 fevent = (dns_fetchevent_t *)event;
133 lookup->event->name = name;
134 lookup->event->rdataset = rdataset;
135 lookup->event->sigrdataset = sigrdataset;
165 &lookup->event
172 lookup_find(dns_lookup_t *lookup, dns_fetchevent_t *event) argument
347 levent_destroy(isc_event_t *event) argument
[all...]
H A Dbyaddr.c34 * XXXRTH We could use a static event...
117 dns_byaddrevent_t * event; member in struct:dns_byaddr
155 ISC_LIST_APPEND(byaddr->event->names, name, link);
166 lookup_done(isc_task_t *task, isc_event_t *event) { argument
167 dns_byaddr_t *byaddr = event->ev_arg;
171 REQUIRE(event->ev_type == DNS_EVENT_LOOKUPDONE);
177 levent = (dns_lookupevent_t *)event;
181 byaddr->event->result = result;
183 byaddr->event->result = levent->result;
184 isc_event_free(&event);
189 bevent_destroy(isc_event_t *event) argument
[all...]
/bind-9.11.3/lib/samples/
H A Dsample-async.c150 process_answer(isc_task_t *task, isc_event_t *event) { argument
151 struct query_trans *trans = event->ev_arg;
152 dns_clientresevent_t *rev = (dns_clientresevent_t *)event;
179 isc_event_free(&event);
386 /* Start event loop */

Completed in 35 milliseconds

123