Definition at line 1568 of file dns.c.
References Curr_N_Conns, dim_print_date_time(), dna_write_nowait(), Dns_conns, DNS_DIS_EXIT, DNS_DIS_HEADER, DNS_DIS_SOFT_EXIT, i, release_conn(), size, DNS_DIS_PACKET::size, SRC_DIS, type, and DNS_DIS_PACKET::type.
Referenced by main().
1572 int soft_code = 0, soft_size = 0;
1588 if(!strcmp(
Dns_conns[i].task_name,
"DIS_DNS"))
1595 type |= (soft_code << (int)16) & (int)0xFFFF0000;
1597 printf(
" Killing server %s@%s with exit code %d\n",
1603 printf(
" Killing server %s@%s\n",
1606 dis_packet.
type = htovl(type);
1611 printf(
" Kill Server: Couldn't write, releasing %d\n",i);
static void release_conn(int conn_id)
DllExp DIM_NOSHARE int Curr_N_Conns
DllExp DIM_NOSHARE DNS_CONNECTION * Dns_conns
int dna_write_nowait(int conn_id, void *buffer, int size)
void dim_print_date_time()