Lines Matching refs:pr_last
93 net_data->pr_last = (*pr->next)(pr);
94 return (net_data->pr_last);
104 if (net_data->pr_stayopen && net_data->pr_last) {
105 if (!strcmp(net_data->pr_last->p_name, name))
106 return (net_data->pr_last);
107 for (pap = net_data->pr_last->p_aliases; pap && *pap; pap++)
109 return (net_data->pr_last);
111 net_data->pr_last = (*pr->byname)(pr, name);
114 return (net_data->pr_last);
123 if (net_data->pr_stayopen && net_data->pr_last)
124 if (net_data->pr_last->p_proto == proto)
125 return (net_data->pr_last);
126 net_data->pr_last = (*pr->bynumber)(pr, proto);
129 return (net_data->pr_last);