Lines Matching refs:pvt
53 struct pvt {
80 struct pvt *pvt;
88 if (!(pvt = memget(sizeof *pvt))) {
93 memset(pvt, 0, sizeof *pvt);
94 pvt->girpdata = this->private;
96 pr->private = pvt;
115 struct pvt *pvt = (struct pvt *)this->private;
119 free_proto(&pvt->proto);
121 memput(pvt, sizeof *pvt);
132 struct pvt *pvt = (struct pvt *)this->private;
133 struct protoent *pr = &pvt->proto;
144 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) {
148 i = irs_irp_send_command(pvt->girpdata, "getprotobyname %s", name);
152 if (irs_irp_get_full_response(pvt->girpdata, &code,
181 struct pvt *pvt = (struct pvt *)this->private;
182 struct protoent *pr = &pvt->proto;
193 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) {
197 i = irs_irp_send_command(pvt->girpdata, "getprotobynumber %d", proto);
201 if (irs_irp_get_full_response(pvt->girpdata, &code,
230 struct pvt *pvt = (struct pvt *)this->private;
234 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) {
238 if (irs_irp_send_command(pvt->girpdata, "setprotoent") != 0) {
242 code = irs_irp_read_response(pvt->girpdata, text, sizeof text);
259 struct pvt *pvt = (struct pvt *)this->private;
260 struct protoent *pr = &pvt->proto;
266 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) {
270 if (irs_irp_send_command(pvt->girpdata, "getprotoent") != 0) {
274 if (irs_irp_get_full_response(pvt->girpdata, &code,
303 struct pvt *pvt = (struct pvt *)this->private;
305 irs_irp_disconnect(pvt->girpdata);