#include <interfacemgr.h>
Public Member Functions | |
ISC_LINK (ns_interface_t) link | |
Data Fields | |
unsigned int | magic |
Magic number. | |
ns_interfacemgr_t * | mgr |
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_t * | udpdispatch [MAX_UDP_DISPATCH] |
UDP dispatchers. | |
isc_socket_t * | tcpsocket |
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_t * | clientmgr |
Client manager. |
Definition at line 71 of file interfacemgr.h.
ns_interface::ISC_LINK | ( | ns_interface_t | ) |
unsigned int ns_interface::magic |
Magic number.
Definition at line 72 of file interfacemgr.h.
Referenced by ns_interface_create(), and ns_interface_destroy().
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().
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().
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().
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] |
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().
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().
"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().
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().
Current ditto, locked.
Definition at line 86 of file interfacemgr.h.
Referenced by client_accept(), client_newconn(), exit_check(), and ns_interface_create().
Number of UDP dispatches.
Definition at line 87 of file interfacemgr.h.
Referenced by ns_interface_create(), ns_interface_destroy(), and ns_interface_listenudp().
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().