/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_generic.c | 53 svc_create_local_service(dispatch, prognum, versnum, nettype, servname) 58 char *servname; /* name of the service */ 110 ns.h_serv = servname; 122 servname, nconf->nc_netid);
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | key_generic.c | 68 svc_create_local_service(dispatch, prognum, versnum, nettype, servname) 73 char *servname; /* name of the service */ 142 ns.h_serv = servname; 153 servname, nconf->nc_netid);
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 213 "hostname nor servname provided, or not known", /*%< EAI_NONAME */ 214 "servname not supported for ai_socktype", /*%< EAI_SERVICE */ 320 getaddrinfo(hostname, servname, hints, res) 321 const char *hostname, *servname; 353 if (hostname == NULL && servname == NULL) 421 * check for special cases. (1) numeric servname is disallowed if 422 * socktype/protocol are left unspecified. (2) servname is disallowed 439 error = get_portmatch(pai, servname); 467 * if the servname does not match socktype/protocol, ignore it. 469 if (get_portmatch(pai, servname) ! 979 get_portmatch(const struct addrinfo *ai, const char *servname) argument 987 get_port(const struct addrinfo *ai, const char *servname, int matchonly) argument [all...] |
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_generic.c | 36 char *servname) /* name of the srvc */ 88 ns.h_serv = servname; 100 servname, nconf->nc_netid); 32 svc_create_local_service(void (*dispatch) (), u_long prognum, u_long versnum, char *nettype, char *servname) argument
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 117 * servname - pointer to null-terminated strings that represents 143 * AI_NUMERICSERV - If set, then a non-null servname string supplied shall 179 * EAI_NONAME - host/servname not known 180 * EAI_SERVICE - servname not supported for ai_socktype 193 _getaddrinfo(const char *hostname, const char *servname, argument 224 /* if nodename nor servname provided */ 225 if (hostname == NULL && servname == NULL) { 304 if (servname != NULL) { 350 if (!str_isnumber(servname)) { 353 port = htons(atoi(servname)); 547 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument 554 __xnet_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
/illumos-gate/usr/src/lib/nametoaddr/straddr/common/ |
H A D | straddr.c | 179 char *servname; /* the "second" part of string */ local 196 servname = strtok_r(NULL, " \n\t", &nexttok); 214 if (servname == NULL) { 221 if (searchserv(netconfigp, servname, FIELD2, servbuf) == 0) { 511 * on, and returns the string associated with the token in servname. 515 searchserv(struct netconfig *netconfigp, char *token, int field, char *servname) argument 552 (void) strcpy(servname, retstr);
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcbind.c | 190 static char servname[] = "rpcbind"; variable 548 hs.h_serv = servname; 981 const char *servname = serv; local 990 servname = "<any>"; 1001 "%s, service \"%s\"", nconf->nc_netid, hostname, servname); 1004 "service \"%s\" failed\n", hostname, servname); 1012 "service \"%s\" succeeded\n", hostname, servname);
|
/illumos-gate/usr/src/lib/libshare/smb/ |
H A D | libshare_smb.c | 1327 char *servname; local 1368 * use the servname early. 1371 servname = strrchr(dependency, ':'); 1372 if (servname == NULL) 1374 *servname = '\0'; 1375 servname = dependency; 1386 if (scf_scope_get_service(scope, servname, service) != 0)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | ipcp.c | 282 setmsservaddr(servname, serverarray) 283 char *servname; 289 addr = inet_addr(servname); 291 if ((hp = gethostbyname(servname)) == NULL)
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_secinfo.c | 184 secinfo_create(servinfo4_t *svp, SECINFO4res *sec_info, char *servname) argument 235 (void) strcpy(data->inst, servname);
|