Data Fields | |
unsigned int | magic |
magic | |
dns_dispatchmgr_t * | mgr |
dispatch manager | |
int | ntasks |
isc_task_t * | task [MAX_INTERNAL_TASKS] |
internal task buckets. We use multiple tasks to distribute various socket events well when using separate dispatch sockets. We use the 1st task (task[0]) for internal control events. | |
isc_socket_t * | socket |
isc socket attached to | |
isc_sockaddr_t | local |
local address | |
in_port_t | localport |
local UDP port | |
isc_sockaddr_t | peer |
peer address (TCP) | |
isc_dscp_t | dscp |
"listen-on" DSCP value | |
unsigned int | maxrequests |
max requests | |
isc_event_t * | ctlevent |
isc_mutex_t | sepool_lock |
isc_mempool_t * | sepool |
pool for socket events |
Definition at line 205 of file dispatch.c.
unsigned int dns_dispatch::magic |
magic
Definition at line 207 of file dispatch.c.
Referenced by destroy_dispsocket(), dispatch_allocate(), and dispatch_free().
dispatch manager
Definition at line 208 of file dispatch.c.
Referenced by allocate_devent(), allocate_udp_buffer(), destroy_disp(), destroy_dispsocket(), dispatch_allocate(), dispatch_free(), dns_dispatch_addresponse3(), dns_dispatch_importrecv(), dns_dispatch_removeresponse(), dns_dispatchset_create(), free_buffer(), free_devent(), get_dispsocket(), get_udpsocket(), local_addr_match(), startrecv(), and udp_recv().
Definition at line 209 of file dispatch.c.
Referenced by destroy_disp(), dispatch_createudp(), dns_dispatch_createtcp2(), and get_dispsocket().
isc_task_t* dns_dispatch::task[MAX_INTERNAL_TASKS] |
internal task buckets. We use multiple tasks to distribute various socket events well when using separate dispatch sockets. We use the 1st task (task[0]) for internal control events.
Definition at line 215 of file dispatch.c.
Referenced by destroy_disp(), dispatch_createudp(), dns_dispatch_changeattributes(), dns_dispatch_createtcp2(), dns_dispatch_detach(), dns_dispatch_getudp_dup(), dns_dispatch_importrecv(), dns_dispatch_removeresponse(), dns_dispatch_starttcp(), get_dispsocket(), startrecv(), tcp_recv(), and udp_recv().
isc socket attached to
Definition at line 216 of file dispatch.c.
Referenced by destroy_disp(), dispatch_createudp(), dns_dispatch_changeattributes(), dns_dispatch_createtcp2(), dns_dispatch_detach(), dns_dispatch_getsocket(), dns_dispatch_gettcp(), dns_dispatch_gettcp2(), dns_dispatch_getudp_dup(), dns_dispatch_removeresponse(), dns_dispatchset_create(), get_dispsocket(), local_addr_match(), and startrecv().
local address
Definition at line 217 of file dispatch.c.
Referenced by dispatch_allocate(), dispatch_createudp(), dns_dispatch_createtcp2(), dns_dispatch_getlocaladdress(), dns_dispatch_gettcp(), dns_dispatch_gettcp2(), dns_dispatchset_create(), get_dispsocket(), local_addr_match(), and udp_recv().
in_port_t dns_dispatch::localport |
local UDP port
Definition at line 218 of file dispatch.c.
Referenced by dispatch_allocate(), dns_dispatch_addresponse3(), get_udpsocket(), tcp_recv(), and udp_recv().
peer address (TCP)
Definition at line 219 of file dispatch.c.
Referenced by dispatch_allocate(), dns_dispatch_createtcp2(), and dns_dispatch_gettcp2().
"listen-on" DSCP value
Definition at line 220 of file dispatch.c.
Referenced by dispatch_allocate(), dns_dispatch_getdscp(), and dns_dispatch_setdscp().
unsigned int dns_dispatch::maxrequests |
max requests
Definition at line 221 of file dispatch.c.
Referenced by dispatch_allocate(), dns_dispatch_addresponse3(), dns_dispatch_getudp_dup(), and dns_dispatchset_create().
Definition at line 222 of file dispatch.c.
Referenced by dispatch_createudp(), dns_dispatch_createtcp2(), dns_dispatch_detach(), dns_dispatch_removeresponse(), tcp_recv(), and udp_recv().
pool for socket events
Definition at line 225 of file dispatch.c.
Referenced by allocate_sevent(), destroy_disp(), dispatch_createudp(), and dns_dispatch_createtcp2().