Home
last modified time | relevance | path

Searched refs:girpdata (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirp_ng.c42 struct irp_p *girpdata; member
83 pvt->girpdata = this->private; in irs_irp_ng()
128 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ng_rewind()
132 if (irs_irp_send_command(pvt->girpdata, in ng_rewind()
137 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in ng_rewind()
164 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ng_next()
168 if (irs_irp_send_command(pvt->girpdata, "getnetgrent") != 0) in ng_next()
171 if (irs_irp_get_full_response(pvt->girpdata, &code, in ng_next()
208 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ng_test()
216 if (irs_irp_send_command(pvt->girpdata, "innetgr %s", body) == 0) { in ng_test()
[all …]
H A Dirp_nw.c55 struct irp_p *girpdata; member
96 pvt->girpdata = this->private; in irs_irp_nw()
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()
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()
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()
[all …]
H A Dirp_pr.c48 struct irp_p *girpdata; member
88 pvt->girpdata = this->private; in irs_irp_pr()
138 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in pr_byname()
142 i = irs_irp_send_command(pvt->girpdata, "getprotobyname %s", name); in pr_byname()
146 if (irs_irp_get_full_response(pvt->girpdata, &code, in pr_byname()
187 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in pr_bynumber()
191 i = irs_irp_send_command(pvt->girpdata, "getprotobynumber %d", proto); in pr_bynumber()
195 if (irs_irp_get_full_response(pvt->girpdata, &code, in pr_bynumber()
228 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in pr_rewind()
232 if (irs_irp_send_command(pvt->girpdata, "setprotoent") != 0) { in pr_rewind()
[all …]
H A Dirp_sv.c49 struct irp_p *girpdata; member
92 pvt->girpdata = this->private; in irs_irp_sv()
138 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in sv_next()
142 if (irs_irp_send_command(pvt->girpdata, "getservent") != 0) { in sv_next()
146 if (irs_irp_get_full_response(pvt->girpdata, &code, in sv_next()
189 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in sv_byname()
193 if (irs_irp_send_command(pvt->girpdata, "getservbyname %s %s", in sv_byname()
197 if (irs_irp_get_full_response(pvt->girpdata, &code, in sv_byname()
240 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in sv_byport()
244 if (irs_irp_send_command(pvt->girpdata, "getservbyport %d %s", in sv_byport()
[all …]
H A Dirp_ho.c60 struct irp_p *girpdata; member
109 pvt->girpdata = this->private; in irs_irp_ho()
179 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ho_byname2()
183 if (irs_irp_send_command(pvt->girpdata, "gethostbyname2 %s %s", in ho_byname2()
187 if (irs_irp_get_full_response(pvt->girpdata, &code, in ho_byname2()
237 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ho_byaddr()
245 if (irs_irp_send_command(pvt->girpdata, "gethostbyaddr %s %s", in ho_byaddr()
250 if (irs_irp_get_full_response(pvt->girpdata, &code, in ho_byaddr()
289 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ho_next()
293 if (irs_irp_send_command(pvt->girpdata, "gethostent") != 0) { in ho_next()
[all …]