Searched refs:host_str (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c2336 char *host_str = NULL; local
2356 if ((host_str = strchr(minor_str, ',')) != NULL) {
2357 *host_str = '\0';
2358 host_str++;
2371 if (host_str) {
2372 if (strisipaddr(host_str)) {
2373 if (inet_pton(AF_INET, host_str, &ibuf)) {
2376 } else if (inet_pton(AF_INET6, host_str, ibuf6)) {
2384 phe = getipnodebyname((const void *)host_str,
2387 phe = getipnodebyname((const void *)host_str,
[all...]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_services.c68 char host_str[MAX_LEN_LIST_ENTRY] = "", proto_str[PROTOCOL_STR_LEN + 1] = "", port_str[PORT_STR_LEN + 1] = ""; local
84 strncpy (host_str, host_list[j], hostname_len);
104 strncpy (host_str, host_list[j], MAX_LEN_LIST_ENTRY - 1);
146 (strlen(host_str) + strlen(proto_str) + strlen(port_str) + 2 + 1));
151 snprintf (host_list[j], strlen(host_str) + strlen(proto_str) + strlen(port_str) + 2 + 1,
152 "%s#%s#%s", host_str, proto_str, port_str);

Completed in 68 milliseconds