Definition at line 143 of file dic.c.
References COMMAND, dic_serv::conn_id, Curr_conn_id, Debug_on, Dic_conns, dic_release_service(), Dic_timer_q, dim_panic(), dim_print_date_time(), dll_empty(), dll_get_next(), dna_get_node_task(), Dns_dic_conn_id, do_cmnd_callback(), dtq_clear_entry(), dtq_rem_entry(), execute_service(), id_get_ptr(), locate_command(), MAX_NODE_NAME, MAX_TASK_NAME, move_to_notok_service(), NOT_PENDING, ONCE_ONLY, dic_serv::pending, dic_serv::prev, release_conn(), request_dns_info(), dic_serv::serv_id, dic_serv::serv_name, DIC_CONNECTION::service_head, service_id, DIS_PACKET::service_id, service_tmout(), SRC_DIC, STA_CONN, STA_DATA, STA_DISC, DIC_CONNECTION::task_name, dic_serv::timeout, dic_serv::timer_ent, dic_serv::tmout_done, dic_serv::type, WAITING_CMND_ANSWER, WAITING_DNS_UP, and WAITING_SERVER_UP.
Referenced by dic_find_server_conns(), handle_dns_info(), and open_dns().
161 printf(
"Conn %d: Server %s on node %s Disconnected\n",
162 conn_id, task, node);
175 printf(
"\t %s was in the service list\n",servp->
serv_name);
182 if(!strcmp(dic_connp->
task_name,
"DIS_DNS"))
204 if( servp->
conn_id == conn_id )
207 printf(
"\t%s was in the Command list\n", servp->
serv_name);
208 printf(
"servp = %x, type = %d, pending = %d\n",servp, servp->
type, servp->
pending);
238 if((
unsigned)service_id & 0x80000000)
240 service_id &= 0x7fffffff;
269 if( servp->
conn_id == conn_id )
272 printf(
"\t%s was in the Command list\n", servp->
serv_name);
316 if(servp->
serv_id == service_id)
335 if((auxp) && (auxp != servp))
367 printf(
"Conn %d: Server %s on node %s Connected\n",
368 conn_id, task, node);
372 default:
dim_panic(
"recv_rout(): Bad switch" );
DIM_NOSHARE DIC_CONNECTION * Dic_conns
static int Dns_dic_conn_id
void move_to_notok_service(DIC_SERVICE *servp)
void * id_get_ptr(int id, SRC_TYPES type)
DIC_SERVICE * locate_command(char *serv_name)
void do_cmnd_callback(CMNDCB_ITEM *itemp)
static void release_conn(int conn_id)
static void execute_service(DIS_PACKET *packet, DIC_SERVICE *servp, int size)
int dtq_clear_entry(TIMR_ENT *entry)
int dtq_rem_entry(int queue_id, TIMR_ENT *entry)
static DIC_SERVICE * Cmnd_head
int dna_get_node_task(int conn_id, char *node, char *task)
static void request_dns_info(int id)
DLL * dll_get_next(DLL *head, DLL *item)
void service_tmout(int serv_id)
void dim_print_date_time()
char task_name[MAX_TASK_NAME]
void dic_release_service(unsigned service_id)