Lines Matching refs:hostname
210 const char *hostname, const size_t len) in nsm_lookup_hostname() argument
216 memcmp(nsm->sm_name, hostname, len) == 0) in nsm_lookup_hostname()
273 const char *hostname, in nsm_create_handle() argument
278 if (!hostname) in nsm_create_handle()
295 memcpy(new->sm_name, hostname, hostname_len); in nsm_create_handle()
318 const size_t salen, const char *hostname, in nsm_get_handle() argument
324 if (hostname && memchr(hostname, '/', hostname_len) != NULL) { in nsm_get_handle()
328 (int)hostname_len, hostname); in nsm_get_handle()
336 if (nsm_use_hostnames && hostname != NULL) in nsm_get_handle()
338 hostname, hostname_len); in nsm_get_handle()
363 new = nsm_create_handle(sap, salen, hostname, hostname_len); in nsm_get_handle()