FACT++  1.0
DIS_DNS_CONN* dis_find_dns ( long  dnsid)

Definition at line 2962 of file dis_old.c.

References dll_search(), DNS_head, and dis_dns_ent::dnsid.

Referenced by dis_start_serving_dns(), dis_stop_serving_dns(), do_dis_add_cmnd_dns(), do_dis_add_service_dns(), and find_dns_by_conn_id().

2963 {
2964  DIS_DNS_CONN *dnsp;
2965 
2966  dnsp = (DIS_DNS_CONN *)
2967  dll_search( (DLL *) DNS_head, &dnsid, sizeof(dnsid));
2968 /*
2969  if(!dnsp)
2970  {
2971  dnsp = create_dns(dnsid);
2972  }
2973 */
2974  return dnsp;
2975 }
Definition: dim.h:530
dnsid
Definition: README_v19.txt:372
DLL * dll_search(DLL *head, char *data, int size)
Definition: dll.c:49
static DIS_DNS_CONN * DNS_head
Definition: dis_old.c:108

+ Here is the call graph for this function:

+ Here is the caller graph for this function: