Definition at line 1419 of file dns.c.
References conn_arr_create(), conn_get(), node::conn_id, Curr_N_Conns, dim_init(), dim_print_date_time(), dim_set_keepalive_timeout(), dim_set_listen_backlog(), dim_set_read_buffer_size(), dim_set_write_buffer_size(), dim_set_write_timeout(), DIM_VERSION_NUMBER, dim_wait(), dis_add_cmnd, dis_add_service, dis_send_service, dis_start_serving, dna_open_server(), Dns_conns, DNS_TASK, dtq_add_entry(), dtq_create(), error_handler(), FALSE, get_dns_port_number(), get_dns_server_info(), get_new_dns_server_info(), get_node_name(), get_rpc_info(), handle_registration(), i, id, id_free(), id_get_ptr(), kill_servers(), MAX_NAME, print_hash_table(), print_stats(), recv_rout(), Rpc_id, send_dns_server_info(), Server_info_id, Server_new_info_id, service_init(), set_debug_off(), set_debug_on(), set_rpc_info(), size, SRC_DIS, SRC_DNS, Timer_q, update_did(), and wake_up.
1421 int i, protocol, dns_port;
1431 if(!strcmp(argv[1],
"-d"))
1435 printf(
"Parameters: -d Debug On\n");
void kill_servers(int *tag, int *code, int *size)
DllExp DIM_NOSHARE int Curr_N_Conns
int handle_registration(int conn_id, DIS_DNS_PACKET *packet, int tmout_flag)
DllExp DIM_NOSHARE DNS_CONNECTION * Dns_conns
static int Server_info_id
void * id_get_ptr(int id, SRC_TYPES type)
void set_rpc_info(int *tag, char *buffer, int *size)
void get_new_dns_server_info(int *tag, int **bufp, int *size, int *first_time)
void conn_arr_create(SRC_TYPES type)
void dim_set_listen_backlog(int size)
static void error_handler(int conn_id, int severity, int errcode, char *reason)
static void recv_rout(int conn_id, DIC_DNS_PACKET *packet, int size, int status)
#define dis_start_serving
void dim_set_write_timeout(int secs)
static int Server_new_info_id
int get_dns_port_number()
void dim_set_keepalive_timeout(int secs)
int dna_open_server(char *task, void(*read_ast)(), int *protocol, int *port, void(*error_ast)())
void id_free(int id, SRC_TYPES type)
TIMR_ENT * dtq_add_entry(int queue_id, int time, void(*user_routine)(), dim_long tag)
int dim_set_write_buffer_size(int size)
void dim_print_date_time()
#define DIM_VERSION_NUMBER
int get_node_name(char *node_name)
void get_rpc_info(int *tag, char **buffer, int *size)
void get_dns_server_info(int *tag, int **bufp, int *size, int *first_time)
int dim_set_read_buffer_size(int size)
void send_dns_server_info(int conn_id, int **bufp, int *size)