Searched refs:pdomb (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/yp/
H A Dyp_bind.c174 struct dom_binding *pdomb = NULL; local
180 for (pdomb = bound_domains; pdomb != NULL; pdomb = pdomb->dom_pnext) {
181 if (strcmp(domain, pdomb->dom_domain) == 0)
182 return (pdomb);
185 if ((pdomb = (struct dom_binding *) malloc(sizeof(struct dom_binding)))
192 pdomb->dom_server_addr.sin_family = sa->sin_family;
193 pdomb
213 struct dom_binding *pdomb; local
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_all.c70 struct dom_binding *pdomb; local
87 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup))
90 if (pdomb->dom_binding->ypbind_hi_vers < YPVERS) {
91 __yp_rel_binding(pdomb);
94 (void) mutex_lock(&pdomb->server_name_lock);
95 if (!pdomb->dom_binding->ypbind_servername) {
96 (void) mutex_unlock(&pdomb->server_name_lock);
97 __yp_rel_binding(pdomb);
101 (void) strcpy(server_name, pdomb->dom_binding->ypbind_servername);
102 (void) mutex_unlock(&pdomb
194 struct dom_binding *pdomb; local
[all...]
H A Dyp_master.c63 struct dom_binding *pdomb; local
78 if (reason = __yp_dobind(domain, &pdomb))
81 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) {
83 reason = domaster(domain, map, pdomb, _ypserv_timeout,
86 __yp_rel_binding(pdomb);
94 __yp_rel_binding(pdomb);
125 struct dom_binding *pdomb; local
140 if (reason = __yp_dobind_rsvdport(domain, &pdomb))
143 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) {
145 reason = domaster(domain, map, pdomb, _ypserv_timeou
177 domaster(char *domain, char *map, struct dom_binding *pdomb, struct timeval timeout, char **master) argument
[all...]
H A Dyp_order.c63 struct dom_binding *pdomb; local
78 if (reason = __yp_dobind(domain, &pdomb))
81 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) {
83 reason = doorder(domain, map, pdomb, _ypserv_timeout,
86 __yp_rel_binding(pdomb);
94 __yp_rel_binding(pdomb);
106 doorder(char *domain, char *map, struct dom_binding *pdomb, argument
122 if (clnt_call(pdomb->dom_client, YPPROC_ORDER,
135 CLNT_FREERES(pdomb->dom_client,
H A Dyp_bind.c234 struct dom_binding *pdomb; local
238 for (pdomb = bound_domains; pdomb != NULL; pdomb = pdomb->dom_pnext) {
240 if (strcmp(domain, pdomb->dom_domain) == 0) {
250 *binding = pdomb;
261 pdomb = load_dom_binding(ypbind_resp, domain, &status);
262 if (pdomb == 0)
264 *binding = pdomb;
288 struct dom_binding *pdomb; local
370 struct dom_binding *pdomb; local
468 struct dom_binding *pdomb; local
541 struct dom_binding *pdomb; /* Ptr to new domain binding */ local
710 struct dom_binding *pdomb; /* Ptr to new domain binding */ local
1170 set_rdev(struct dom_binding *pdomb) argument
1186 check_rdev(struct dom_binding *pdomb) argument
[all...]
H A Dyp_enum.c75 struct dom_binding *pdomb; local
90 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup))
93 if (pdomb->dom_binding->ypbind_hi_vers == YPVERS) {
95 reason = dofirst(domain, map, pdomb, _ypserv_timeout,
98 __yp_rel_binding(pdomb);
109 __yp_rel_binding(pdomb);
134 dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen)
137 struct dom_binding *pdomb;
161 switch (clnt_call(pdomb->dom_client, YPPROC_FIRST,
212 CLNT_FREERES(pdomb
239 struct dom_binding *pdomb; local
[all...]
H A Dyp_match.c182 struct dom_binding *pdomb; local
222 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup))
225 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) {
227 reason = domatch(domain, map, key, keylen, pdomb,
230 __yp_rel_binding(pdomb);
241 __yp_rel_binding(pdomb);
366 struct dom_binding *pdomb; local
405 if (reason = __yp_dobind_rsvdport_cflookup(domain, &pdomb,
409 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) {
412 pdomb,
506 domatch(char *domain, char *map, char *key, int keylen, struct dom_binding *pdomb, struct timeval *timeoutp, char **val, int *vallen) argument
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfr.c590 bind_to_server(host, pdomb, vers, status)
592 struct dom_binding *pdomb;
596 if (ping_server(host, pdomb, YPVERS, status)) {
611 ping_server(host, pdomb, vers, status)
613 struct dom_binding *pdomb;
619 if ((pdomb->dom_client = __yp_clnt_create_rsvdport(host, YPPROG, vers,
630 * (pdomb->dom_server_addr.sin_family != AF_INET ||
631 * pdomb->dom_server_addr.sin_port >= IPPORT_RESERVED)) {
632 * clnt_destroy(pdomb->dom_client);
633 * close(pdomb
[all...]

Completed in 3267 milliseconds