dns_dispatch Struct Reference


Data Fields

unsigned int magic
 magic
dns_dispatchmgr_tmgr
 dispatch manager
int ntasks
isc_task_ttask [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_tsocket
 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_tctlevent
isc_mutex_t sepool_lock
isc_mempool_tsepool
 pool for socket events

Detailed Description

Definition at line 205 of file dispatch.c.


Field Documentation

unsigned int dns_dispatch::magic

magic

Definition at line 207 of file dispatch.c.

Referenced by destroy_dispsocket(), dispatch_allocate(), and dispatch_free().

dns_dispatchmgr_t* dns_dispatch::mgr

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().

int dns_dispatch::ntasks

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_t* dns_dispatch::socket

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().

isc_sockaddr_t dns_dispatch::local

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().

isc_sockaddr_t dns_dispatch::peer

peer address (TCP)

Definition at line 219 of file dispatch.c.

Referenced by dispatch_allocate(), dns_dispatch_createtcp2(), and dns_dispatch_gettcp2().

isc_dscp_t dns_dispatch::dscp

"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().

isc_event_t* dns_dispatch::ctlevent

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().

isc_mutex_t dns_dispatch::sepool_lock

Definition at line 224 of file dispatch.c.

Referenced by destroy_disp(), and dispatch_createudp().

isc_mempool_t* dns_dispatch::sepool

pool for socket events

Definition at line 225 of file dispatch.c.

Referenced by allocate_sevent(), destroy_disp(), dispatch_createudp(), and dns_dispatch_createtcp2().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:20 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha