ns_interface Struct Reference

The nameserver interface structure. More...

#include <interfacemgr.h>


Public Member Functions

 ISC_LINK (ns_interface_t) link

Data Fields

unsigned int magic
 Magic number.
ns_interfacemgr_tmgr
 Interface manager.
isc_mutex_t lock
int references
 Locked.
unsigned int generation
 Generation number.
isc_sockaddr_t addr
 Address and port.
unsigned int flags
 Interface characteristics.
char name [32]
 Null terminated.
dns_dispatch_tudpdispatch [MAX_UDP_DISPATCH]
 UDP dispatchers.
isc_socket_ttcpsocket
 TCP socket.
isc_dscp_t dscp
 "listen-on" DSCP value
int ntcptarget
 Desired number of concurrent TCP accepts.
int ntcpcurrent
 Current ditto, locked.
int nudpdispatch
 Number of UDP dispatches.
ns_clientmgr_tclientmgr
 Client manager.


Detailed Description

The nameserver interface structure.

Definition at line 71 of file interfacemgr.h.


Member Function Documentation

ns_interface::ISC_LINK ( ns_interface_t   ) 


Field Documentation

unsigned int ns_interface::magic

Magic number.

Definition at line 72 of file interfacemgr.h.

Referenced by ns_interface_create(), and ns_interface_destroy().

ns_interfacemgr_t* ns_interface::mgr

Interface manager.

Definition at line 73 of file interfacemgr.h.

Referenced by ns_interface_accepttcp(), ns_interface_create(), ns_interface_destroy(), ns_interface_listenudp(), ns_interface_setup(), and purge_old_interfaces().

isc_mutex_t ns_interface::lock

Definition at line 74 of file interfacemgr.h.

Referenced by client_accept(), client_newconn(), exit_check(), ns_interface_attach(), ns_interface_create(), ns_interface_destroy(), and ns_interface_detach().

int ns_interface::references

Locked.

Definition at line 75 of file interfacemgr.h.

Referenced by ns_interface_attach(), ns_interface_create(), and ns_interface_detach().

unsigned int ns_interface::generation

Generation number.

Definition at line 76 of file interfacemgr.h.

Referenced by do_scan(), ns_interface_create(), and purge_old_interfaces().

isc_sockaddr_t ns_interface::addr

Address and port.

Definition at line 77 of file interfacemgr.h.

Referenced by client_request(), find_matching_interface(), ns_interface_accepttcp(), ns_interface_create(), ns_interface_listenudp(), and purge_old_interfaces().

unsigned int ns_interface::flags

Interface characteristics.

Definition at line 78 of file interfacemgr.h.

Referenced by client_request(), do_scan(), and ns_interface_create().

char ns_interface::name[32]

Null terminated.

Definition at line 79 of file interfacemgr.h.

Referenced by ns_interface_create().

dns_dispatch_t* ns_interface::udpdispatch[MAX_UDP_DISPATCH]

UDP dispatchers.

Definition at line 81 of file interfacemgr.h.

Referenced by ns_clientmgr_createclients(), ns_interface_create(), ns_interface_destroy(), and ns_interface_listenudp().

isc_socket_t* ns_interface::tcpsocket

TCP socket.

Definition at line 82 of file interfacemgr.h.

Referenced by get_client(), get_worker(), ns_interface_accepttcp(), ns_interface_create(), and ns_interface_destroy().

isc_dscp_t ns_interface::dscp

"listen-on" DSCP value

Definition at line 83 of file interfacemgr.h.

Referenced by do_scan(), get_client(), get_worker(), ns_interface_accepttcp(), ns_interface_create(), and ns_interface_setup().

int ns_interface::ntcptarget

Desired number of concurrent TCP accepts.

Definition at line 84 of file interfacemgr.h.

Referenced by exit_check(), ns_interface_accepttcp(), and ns_interface_create().

int ns_interface::ntcpcurrent

Current ditto, locked.

Definition at line 86 of file interfacemgr.h.

Referenced by client_accept(), client_newconn(), exit_check(), and ns_interface_create().

int ns_interface::nudpdispatch

Number of UDP dispatches.

Definition at line 87 of file interfacemgr.h.

Referenced by ns_interface_create(), ns_interface_destroy(), and ns_interface_listenudp().

ns_clientmgr_t* ns_interface::clientmgr

Client manager.

Definition at line 88 of file interfacemgr.h.

Referenced by ns_interface_accepttcp(), ns_interface_create(), ns_interface_listenudp(), ns_interface_shutdown(), and ns_interfacemgr_dumprecursing().


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