Lines Matching defs:addr
26 * if addr==0 then permanent pointer to local host name returned
80 * return host name for addr
84 csname(register Cs_t* state, unsigned long addr)
88 messagef((state->id, NiL, -8, "name(%s) call", csntoa(state, addr)));
90 NoP(addr);
92 if (addr)
94 if (addr != CS_LOCAL)
104 ha.s_addr = addr;
107 if (s = in_host(addr))
120 if (csaddr(state, s) != addr) *t = '.';
126 messagef((state->id, NiL, -1, "name: %s: gethostbyaddr error", csntoa(state, addr)));
127 s = csntoa(state, addr);
169 messagef((state->id, NiL, -1, "name: %s: gethostname error", csntoa(state, addr)));
180 _cs_name(unsigned long addr)
182 return csname(&cs, addr);