Lines Matching defs:svc_name
523 free(cfg->svc_name);
612 ((cfg->svc_name =
652 if ((cfg->svc_name != NULL) &&
653 ((rpc_pnum = get_rpc_prognum(cfg->svc_name)) == -1))
876 if (!isrpc && (cfg->svc_name != NULL)) {
897 if (getservbyname_r(cfg->svc_name, gsproto, &se, gsbuf,
1297 * Takes either an RPC service name or number in string form as 'svc_name', and
1304 get_rpc_prognum(const char *svc_name)
1311 if (getrpcbyname_r(svc_name, &rpc, buf, sizeof (buf)) != NULL)
1314 pnum = strtol(svc_name, &endptr, 0);
1518 * 'svc_name' followed by, if obtainable, the address of the remote end of
1524 setproctitle(const char *svc_name, int s, char *argv[])
1534 (void) snprintf(buf, sizeof (buf), "-%s [%s]", svc_name,
1540 (void) snprintf(buf, sizeof (buf), "-%s", svc_name);