Lines Matching refs:hostname
211 const char *hostname, const size_t len) in nsm_lookup_hostname() argument
217 memcmp(nsm->sm_name, hostname, len) == 0) in nsm_lookup_hostname()
274 const char *hostname, in nsm_create_handle() argument
279 if (!hostname) in nsm_create_handle()
296 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle()
319 const size_t salen, const char *hostname, in nsm_get_handle() argument
325 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle()
329 (int)hostname_len, hostname); in nsm_get_handle()
337 if (nsm_use_hostnames && hostname != NULL) in nsm_get_handle()
339 hostname, hostname_len); in nsm_get_handle()
364 new = nsm_create_handle(sap, salen, hostname, hostname_len); in nsm_get_handle()