Searched refs:s_aliases (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getservent_r.c | 146 for (i = 0; se->s_aliases[i]; i++, numptr++) { in copy_servent() 147 len += strlen(se->s_aliases[i]) + 1; in copy_servent() 170 sptr->s_aliases = (char **)ALIGN(buf); in copy_servent() 171 for (i = 0 ; se->s_aliases[i]; i++) { in copy_servent() 172 n = strlen(se->s_aliases[i]) + 1; in copy_servent() 173 strcpy(cp, se->s_aliases[i]); in copy_servent() 174 sptr->s_aliases[i] = cp; in copy_servent() 177 sptr->s_aliases[i] = NULL; in copy_servent() 209 sptr->s_aliases = sdptr->serv_aliases; in copy_servent() 210 while (se->s_aliases[i] && i < (_MAXALIASES-1)) { in copy_servent() [all …]
|
H A D | dns_sv.c | 122 if (pvt->serv.s_aliases) in sv_close() 123 free(pvt->serv.s_aliases); in sv_close() 235 if ((num + 1) >= max || !pvt->serv.s_aliases) { in parse_hes_list() 237 new = realloc(pvt->serv.s_aliases, in parse_hes_list() 243 pvt->serv.s_aliases = new; in parse_hes_list() 245 pvt->serv.s_aliases[num++] = p; in parse_hes_list() 251 if (!pvt->serv.s_aliases) in parse_hes_list() 252 pvt->serv.s_aliases = malloc(sizeof(char *)); in parse_hes_list() 253 if (!pvt->serv.s_aliases) in parse_hes_list() 255 pvt->serv.s_aliases[num] = NULL; in parse_hes_list() [all …]
|
H A D | lcl_sv.c | 198 for (cp = p->s_aliases; *cp; cp++) in sv_byname() 353 q = sv->serv.s_aliases = sv->serv_aliases; in irs_lclsv_fnxt() 413 q = sv->serv.s_aliases = sv->serv_aliases; in sv_db_rec()
|
H A D | getservent.c | 105 for (sap = net_data->sv_last->s_aliases; in getservbyname_p()
|
H A D | irp_sv.c | 329 for (p = sv->s_aliases ; p != NULL && *p != NULL ; p++) { in free_service()
|
H A D | irpmarshall.c | 592 need += joinlength(sv->s_aliases) + 1; in irp_marshall_sv() 618 joinarray(sv->s_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_sv() 700 sv->s_aliases = aliases; in irp_unmarshall_sv()
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetserv.c | 50 for (p = sp->s_aliases; *p != 0; p++) { in putservent()
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | netdb.h | 76 char **s_aliases; /* alias list */ member
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 1521 serv->s_aliases = 0; in str2servent() 1525 serv->s_aliases = ptr; in str2servent() 1529 serv->s_aliases = _nss_netdb_aliases(p, (int)(lenstr - (p - instr)), in str2servent() 2183 for (sn = se->s_aliases, servs = 1; sn && *sn; sn++, servs++) { in hsents2ndhostservs() 2197 sn = se ? se->s_aliases : NULL; in hsents2ndhostservs() 2317 result->s_aliases = in ndaddr2srent() 2319 result->s_aliases[0] = NULL; in ndaddr2srent() 2320 buffer = (char *)&result->s_aliases[1]; in ndaddr2srent() 2436 result->s_aliases = aliasvec; in ndhostserv2srent()
|
/illumos-gate/usr/src/head/ |
H A D | netdb.h | 232 char **s_aliases; /* alias list */ member
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getservent.c | 60 for (aliasp = serv->s_aliases; *aliasp != 0; aliasp++) {
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 1610 data.s_aliases = NULL; in genent_services() 1626 if ((data.s_aliases = (char **)realloc(data.s_aliases, in genent_services() 1631 data.s_aliases[ctr-1] = alias; in genent_services() 1642 if ((data.s_aliases = (char **)realloc(data.s_aliases, in genent_services() 1647 data.s_aliases[ctr] = NULL; in genent_services() 1673 free(data.s_aliases); in genent_services()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_writes.c | 2376 if (ptr->s_aliases && ptr->s_aliases[0]) { in __s_cvt_services() 2377 nm = ptr->s_aliases; in __s_cvt_services() 2387 nm[j+1] = ptr->s_aliases[j]; in __s_cvt_services()
|