Lines Matching refs:srv
139 * srv - nis_server struct to use.
144 get_server(struct sockaddr_in *sin, char *host, nis_server *srv,
202 srv->name = (nis_name) host;
203 srv->ep.ep_len = num_ep;
204 srv->ep.ep_val = eps;
205 srv->key_type = NIS_PK_NONE;
206 srv->pkey.n_bytes = NULL;
207 srv->pkey.n_len = 0;
208 return (srv);
234 * srv - NIS Server description
240 __rpc_get_time_offset(struct timeval *td, nis_server *srv, char *thost,
272 if ((srv != NULL) && (thost != NULL)) {
273 msg("both timehost and srv pointer used!");
276 if (! srv) {
277 srv = get_server(netid, thost, &tsrv, teps, 32);
278 if (srv == NULL) {
285 ep = srv->ep.ep_val;
286 epl = srv->ep.ep_len;