Home
last modified time | relevance | path

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

/freebsd-14.2/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