Lines Matching refs:pn
91 struct addr *pn; in INET_rresolve() local
113 pn = cache; in INET_rresolve()
114 while (pn) { in INET_rresolve()
115 if (pn->nip == nip && pn->is_host == is_host) { in INET_rresolve()
118 return xstrdup(pn->name); in INET_rresolve()
120 pn = pn->next; in INET_rresolve()
140 pn = xmalloc(sizeof(*pn) + strlen(name)); /* no '+ 1', it's already accounted for */ in INET_rresolve()
141 pn->next = cache; in INET_rresolve()
142 pn->nip = nip; in INET_rresolve()
143 pn->is_host = is_host; in INET_rresolve()
144 strcpy(pn->name, name); in INET_rresolve()
145 cache = pn; in INET_rresolve()