/titanic_50/usr/src/lib/libresolv2/common/irs/ |
H A D | getservent_r.c | 154 len += strlen(se->s_proto) + 1; in copy_servent() 184 n = strlen(se->s_proto) + 1; in copy_servent() 185 strcpy(cp, se->s_proto); in copy_servent() 186 sptr->s_proto = cp; in copy_servent() 227 if ((n = strlen(se->s_proto) + 1) < (eob - cp)) { in copy_servent() 228 strcpy(cp, se->s_proto); in copy_servent() 229 sptr->s_proto = cp; in copy_servent()
|
H A D | lcl_sv.c | 209 if (proto == NULL || strcmp(p->s_proto, proto) == 0) in sv_byname() 250 if (proto == NULL || strcmp(p->s_proto, proto) == 0) in sv_byport() 357 sv->serv.s_proto = p; in irs_lclsv_fnxt() 401 if ((sv->serv.s_proto = strchr(sv->line, '/')) != NULL) in sv_db_rec() 402 *(sv->serv.s_proto)++ = '\0'; in sv_db_rec() 413 if ((sv->serv.s_proto = strchr(sv->line, '/')) != NULL) in sv_db_rec() 414 *(sv->serv.s_proto)++ = '\0'; in sv_db_rec()
|
H A D | irp_sv.c | 191 strcasecmp(proto, sv->s_proto) == 0) { in sv_byname() 242 strcasecmp(proto, sv->s_proto) == 0) { in sv_byport() 339 if (sv->s_proto != NULL) { in free_service() 340 free(sv->s_proto); in free_service()
|
H A D | getservent.c | 106 if (!proto || !strcmp(net_data->sv_last->s_proto, proto)) { in getservbyname_p() 129 !strcmp(net_data->sv_last->s_proto, proto))) in getservbyport_p()
|
H A D | dns_sv.c | 225 pvt->serv.s_proto = p; in parse_hes_list()
|
H A D | irpmarshall.c | 598 need += strlen(sv->s_proto) + 1; in irp_marshall_sv() 624 strcat(*buffer, sv->s_proto); strcat(*buffer, fieldsep); in irp_marshall_sv() 706 sv->s_proto = proto; in irp_unmarshall_sv()
|
/titanic_50/usr/src/cmd/svc/servinfo/ |
H A D | servinfo.c | 277 (void) printf("Protocol %s\n", service->s_proto); in main() 280 (void) printf("%s\n", service->s_proto); in main()
|
/titanic_50/usr/src/lib/libbc/inc/include/ |
H A D | netdb.h | 56 char *s_proto; /* protocol to use */ member
|
/titanic_50/usr/src/cmd/getent/ |
H A D | dogetserv.c | 49 sp->s_name, ntohs(sp->s_port), sp->s_proto) == EOF) in putservent()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | get_addrs.c | 121 if (strcmp(sp->s_proto, "udp") != 0) {
|
/titanic_50/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 420 if (strcmp(sp->s_proto, "udp") == 0) { in _getaddrinfo() 423 } else if (strcmp(sp->s_proto, "tcp") == 0) { in _getaddrinfo() 426 } else if (strcmp(sp->s_proto, "sctp") == 0) { in _getaddrinfo()
|
/titanic_50/usr/src/lib/libresolv/ |
H A D | netdb.h | 80 char *s_proto; /* protocol to use */ member
|
/titanic_50/usr/src/head/ |
H A D | netdb.h | 234 char *s_proto; /* protocol to use */ member
|
/titanic_50/usr/src/lib/nsswitch/nis/common/ |
H A D | getservent.c | 56 if (proto != 0 && strcmp(serv->s_proto, proto) != 0) {
|
/titanic_50/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 1502 serv->s_proto = buffer + namelen + 1; in str2servent() 1503 (void) memcpy(serv->s_proto, fieldstart, fieldlen - 1); in str2servent() 1504 serv->s_proto[fieldlen - 1] = '\0'; in str2servent() 2328 result->s_proto = buffer; in ndaddr2srent() 2450 result->s_proto = aliasp; in ndhostserv2srent()
|
/titanic_50/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 971 slp->proto = strdup(sp->s_proto); in res_buildservicelist() 1105 serv.s_proto = lp->proto; in cgetservbyport()
|
/titanic_50/usr/src/cmd/ipf/tools/ |
H A D | ipmon.c | 471 if (s->s_proto == NULL) in init_tabs() 473 else if (!strcmp(s->s_proto, "tcp")) { in init_tabs() 477 } else if (!strcmp(s->s_proto, "udp")) { in init_tabs()
|
/titanic_50/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 1589 data.s_proto = strdup(ecol[2].ec_value.ec_value_val); in genent_services() 1658 data.s_name, data.s_proto); in genent_services() 1664 data.s_name, data.s_proto); in genent_services() 1670 free(data.s_proto); in genent_services()
|
/titanic_50/usr/src/lib/libsldap/common/ |
H A D | ns_writes.c | 2347 if (ptr->s_name == NULL || ptr->s_port < 0 || ptr->s_proto == '\0') { in __s_cvt_services() 2364 esc_str, ptr->s_proto); in __s_cvt_services() 2408 rc = __s_add_attr(e, "ipServiceProtocol", ptr->s_proto); in __s_cvt_services()
|