Lines Matching refs:sources
76 int fd = source->sources.file.handle;
105 source->sources.file.handle = -1;
116 int fd = source->sources.usocket.handle;
119 size_t sz_to_recv = source->sources.usocket.sz_to_recv;
131 switch ( source->sources.usocket.status ) {
141 source->sources.usocket.status =
156 source->sources.usocket.status =
161 source->sources.usocket.status =
195 source->sources.usocket.status =
198 source->sources.usocket.sz_to_recv = sz_to_recv;
221 source->sources.usocket.sz_to_recv -= n;
223 source->sources.usocket.status =
238 source->sources.usocket.status = isc_usocketsource_disconnected;
239 source->sources.usocket.handle = -1;
309 * it. XXXMLG When where are multiple sources, we should keep a
311 * next one) to avoid letting some sources build up entropy while
318 ent->nextsource = ISC_LIST_HEAD(ent->sources);
348 source = ISC_LIST_HEAD(ent->sources);
364 source = ISC_LIST_HEAD(ent->sources);
401 source = ISC_LIST_HEAD(ent->sources);
404 fd = source->sources.file.handle;
411 fd = source->sources.usocket.handle;
413 switch (source->sources.usocket.status) {
574 source->sources.usocket.handle = fd;
576 source->sources.usocket.status =
579 source->sources.usocket.status =
581 source->sources.usocket.sz_to_recv = 0;
584 source->sources.file.handle = fd;
591 ISC_LIST_APPEND(ent->sources, source, link);