Home
last modified time | relevance | path

Searched refs:hostspec (Results 1 – 3 of 3) sorted by relevance

/src/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c41 roken_getaddrinfo_hostspec2(const char *hostspec, in roken_getaddrinfo_hostspec2() argument
70 if(strncmp(hostspec, hstp->prefix, strlen(hstp->prefix)) == 0) { in roken_getaddrinfo_hostspec2()
75 hostspec += strlen(hstp->prefix); in roken_getaddrinfo_hostspec2()
80 p = strchr (hostspec, ':'); in roken_getaddrinfo_hostspec2()
85 hostspec_len = p - hostspec; in roken_getaddrinfo_hostspec2()
87 hostspec_len = strlen(hostspec); in roken_getaddrinfo_hostspec2()
91 snprintf (host, sizeof(host), "%.*s", hostspec_len, hostspec); in roken_getaddrinfo_hostspec2()
96 roken_getaddrinfo_hostspec(const char *hostspec, in roken_getaddrinfo_hostspec() argument
100 return roken_getaddrinfo_hostspec2(hostspec, 0, port, ai); in roken_getaddrinfo_hostspec()
H A DChangeLog1432 correct length from `hostspec'. based on a patch from Love
/src/crypto/krb5/src/lib/krb5/os/
H A Dlocate_kdc.c261 const char *hostspec; in locate_srv_conf_1() local
295 hostspec = hostlist[i]; in locate_srv_conf_1()
296 Tprintf("entry %d is '%s'\n", i, hostspec); in locate_srv_conf_1()
299 if (hostspec[0] == '/') { in locate_srv_conf_1()
303 if (strlcpy(sun.sun_path, hostspec, sizeof(sun.sun_path)) >= in locate_srv_conf_1()
315 parse_uri_if_https(hostspec, &this_transport, &hostspec, &uri_path); in locate_srv_conf_1()
318 code = k5_parse_host_string(hostspec, default_port, &host, &port_num); in locate_srv_conf_1()