Definition at line 105 of file dns.c.
References Debug, dim_print_date_time(), handle_client_request(), handle_registration(), Net_conns, release_conn(), DIC_DNS_PACKET::size, SRC_DIC, SRC_DIS, DIC_DNS_PACKET::src_type, STA_CONN, STA_DATA, and STA_DISC.
Referenced by main().
118 printf(
" Disconnect received - conn: %d to %s@%s\n", conn_id,
128 printf(
" Connection request received - conn: %d\n", conn_id);
143 printf(
" conn: %d to %s@%s, Bad packet\n", conn_id,
145 printf(
"packet->size = %d\n", vtohl(packet->
size));
146 printf(
"packet->src_type = %d\n", vtohl(packet->
src_type));
147 printf(
"closing the connection.\n" );
157 printf(
" - DIM panic: recv_rout(): Bad switch, exiting...\n");
static void release_conn(int conn_id)
int handle_registration(int conn_id, DIS_DNS_PACKET *packet, int tmout_flag)
DllExp DIM_NOSHARE NET_CONNECTION * Net_conns
int handle_client_request(int conn_id, DIC_DNS_PACKET *packet)
void dim_print_date_time()