Lines Matching refs:pn
95 struct addr *pn;
125 pn = cache;
126 while (pn) {
127 if (pn->addr.sin_addr.s_addr == ad && pn->host == host) {
132 return xstrdup(pn->name);
134 pn = pn->next;
158 pn = xmalloc(sizeof(*pn) + strlen(name)); /* no '+ 1', it's already accounted for */
159 pn->next = cache;
160 pn->addr = *s_in;
161 pn->host = host;
162 strcpy(pn->name, name);
163 cache = pn;