Lines Matching defs:pvt
55 struct pvt {
82 struct pvt *pvt;
90 if (!(pvt = memget(sizeof *pvt))) {
95 memset(pvt, 0, sizeof *pvt);
96 pvt->girpdata = this->private;
98 pr->private = pvt;
117 struct pvt *pvt = (struct pvt *)this->private;
121 free_proto(&pvt->proto);
123 memput(pvt, sizeof *pvt);
134 struct pvt *pvt = (struct pvt *)this->private;
135 struct protoent *pr = &pvt->proto;
146 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) {
150 i = irs_irp_send_command(pvt->girpdata, "getprotobyname %s", name);
154 if (irs_irp_get_full_response(pvt->girpdata, &code,
183 struct pvt *pvt = (struct pvt *)this->private;
184 struct protoent *pr = &pvt->proto;
195 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) {
199 i = irs_irp_send_command(pvt->girpdata, "getprotobynumber %d", proto);
203 if (irs_irp_get_full_response(pvt->girpdata, &code,
232 struct pvt *pvt = (struct pvt *)this->private;
236 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) {
240 if (irs_irp_send_command(pvt->girpdata, "setprotoent") != 0) {
244 code = irs_irp_read_response(pvt->girpdata, text, sizeof text);
261 struct pvt *pvt = (struct pvt *)this->private;
262 struct protoent *pr = &pvt->proto;
268 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) {
272 if (irs_irp_send_command(pvt->girpdata, "getprotoent") != 0) {
276 if (irs_irp_get_full_response(pvt->girpdata, &code,
305 struct pvt *pvt = (struct pvt *)this->private;
307 irs_irp_disconnect(pvt->girpdata);