Searched refs:servname (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_generic.c53 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 Dkey_generic.c68 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 Dgetaddrinfo.c213 "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 Dkwarnd_generic.c36 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 Dgetaddrinfo.c117 * 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 Dstraddr.c179 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 Drpcbind.c190 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 Dlibshare_smb.c1327 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 Dipcp.c282 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 Dnfs4_client_secinfo.c184 secinfo_create(servinfo4_t *svp, SECINFO4res *sec_info, char *servname) argument
235 (void) strcpy(data->inst, servname);

Completed in 2817 milliseconds