Searched refs:inp (Results 1 – 2 of 2) sorted by relevance
223 res_isourserver(const struct sockaddr_in *inp) { in res_isourserver() argument224 return (res_ourserver_p(&_nres, (const struct sockaddr *)(const void *)inp)); in res_isourserver()
235 const struct sockaddr_in *inp, *srv; in res_ourserver_p() local241 inp = (const struct sockaddr_in *)(const void *)sa; in res_ourserver_p()244 if (srv->sin_family == inp->sin_family && in res_ourserver_p()245 srv->sin_port == inp->sin_port && in res_ourserver_p()247 srv->sin_addr.s_addr == inp->sin_addr.s_addr)) in res_ourserver_p()