Lines Matching refs:pvt
54 struct pvt { struct
82 struct pvt *pvt; in irs_irp_nw() local
84 if (!(pvt = memget(sizeof *pvt))) { in irs_irp_nw()
88 memset(pvt, 0, sizeof *pvt); in irs_irp_nw()
91 memput(pvt, sizeof *pvt); in irs_irp_nw()
96 pvt->girpdata = this->private; in irs_irp_nw()
98 nw->private = pvt; in irs_irp_nw()
117 struct pvt *pvt = (struct pvt *)this->private; in nw_close() local
121 free_nw(&pvt->net); in nw_close()
123 memput(pvt, sizeof *pvt); in nw_close()
135 struct pvt *pvt = (struct pvt *)this->private; in nw_byaddr() local
136 struct nwent *nw = &pvt->net; in nw_byaddr()
147 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in nw_byaddr()
151 if (irs_irp_send_command(pvt->girpdata, "getnetbyaddr %s %s", in nw_byaddr()
155 if (irs_irp_get_full_response(pvt->girpdata, &code, in nw_byaddr()
184 struct pvt *pvt = (struct pvt *)this->private; in nw_byname() local
185 struct nwent *nw = &pvt->net; in nw_byname()
197 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in nw_byname()
201 if (irs_irp_send_command(pvt->girpdata, "getnetbyname %s", name) != 0) in nw_byname()
204 if (irs_irp_get_full_response(pvt->girpdata, &code, in nw_byname()
233 struct pvt *pvt = (struct pvt *)this->private; in nw_rewind() local
237 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in nw_rewind()
241 if (irs_irp_send_command(pvt->girpdata, "setnetent") != 0) { in nw_rewind()
245 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in nw_rewind()
262 struct pvt *pvt = (struct pvt *)this->private; in nw_next() local
263 struct nwent *nw = &pvt->net; in nw_next()
269 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in nw_next()
273 if (irs_irp_send_command(pvt->girpdata, "getnetent") != 0) { in nw_next()
277 if (irs_irp_get_full_response(pvt->girpdata, &code, in nw_next()
304 struct pvt *pvt = (struct pvt *)this->private; in nw_minimize() local
306 irs_irp_disconnect(pvt->girpdata); in nw_minimize()