FACT++  1.0
DIS_DNS_CONN* find_dns_by_conn_id ( int  conn_id)

Definition at line 2994 of file dis_old.c.

References Default_DNS, dis_find_dns(), dns_get_dnsid(), dis_dns_ent::dnsid, and SRC_DIS.

Referenced by recv_dns_dis_rout().

2995 {
2996  DIS_DNS_CONN *dnsp;
2997  extern long dns_get_dnsid();
2998  long dnsid;
2999 
3000  dnsid = dns_get_dnsid(conn_id, SRC_DIS);
3001  dnsp = dis_find_dns(dnsid);
3002  if(!dnsp)
3003  dnsp = Default_DNS;
3004  return (DIS_DNS_CONN *)dnsp;
3005 }
DIS_DNS_CONN * dis_find_dns(long dnsid)
Definition: dis_old.c:2962
DIS_DNS_CONN * Default_DNS
Definition: dis_old.c:129
dim_long dns_get_dnsid(int conn_id, SRC_TYPES src_type)
Definition: open_dns.c:426
dnsid
Definition: README_v19.txt:372

+ Here is the call graph for this function:

+ Here is the caller graph for this function: