Lines Matching refs:res
73 static bp_whoami_res res; in bootparamproc_whoami_1() local
108 res.client_name = hp->h_name; in bootparamproc_whoami_1()
133 res.domain_name = domain; in bootparamproc_whoami_1()
135 res.router_address.address_type = IP_ADDR_TYPE; in bootparamproc_whoami_1()
137 (void) memcpy(&res.router_address.bp_address_u.ip_addr, in bootparamproc_whoami_1()
139 sizeof (res.router_address.bp_address_u.ip_addr)); in bootparamproc_whoami_1()
145 &res.router_address.bp_address_u.ip_addr, in bootparamproc_whoami_1()
148 res.client_name, in bootparamproc_whoami_1()
151 return (&res); in bootparamproc_whoami_1()
162 static bp_getfile_res res; in bootparamproc_getfile_1() local
234 res.server_name = server_hostname; in bootparamproc_getfile_1()
235 res.server_path = path_on_server; in bootparamproc_getfile_1()
236 if (*res.server_name == 0) { in bootparamproc_getfile_1()
237 res.server_address.address_type = IP_ADDR_TYPE; in bootparamproc_getfile_1()
238 (void) memset(&res.server_address.bp_address_u.ip_addr, 0, in bootparamproc_getfile_1()
239 sizeof (res.server_address.bp_address_u.ip_addr)); in bootparamproc_getfile_1()
251 "failed", res.server_name); in bootparamproc_getfile_1()
256 res.server_address.address_type = IP_ADDR_TYPE; in bootparamproc_getfile_1()
257 (void) memcpy(&res.server_address.bp_address_u.ip_addr, in bootparamproc_getfile_1()
258 &addr, sizeof (res.server_address.bp_address_u.ip_addr)); in bootparamproc_getfile_1()
261 getf_printres(&res); in bootparamproc_getfile_1()
263 return (&res); in bootparamproc_getfile_1()
267 getf_printres(bp_getfile_res *res) in getf_printres() argument
271 (void) memcpy(&in.s_addr, &res->server_address.bp_address_u.ip_addr, in getf_printres()
274 res->server_name, in getf_printres()
276 res->server_path); in getf_printres()