HomeSort by relevance Sort by last modified time
    Searched refs:hostname (Results 51 - 75 of 348) sorted by null

1 23 4 5 6 7 8 91011>>

  /prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/linux/
nfs4_mount.h 44 struct nfs_string hostname; member in struct:nfs4_mount_data
  /system/core/adb/
adb_client.h 32 /* Set TCP Hostname of the transport to use
34 void adb_set_tcp_name(const char* hostname);
adb_auth_host.cpp 120 char hostname[1024], username[1024]; local
123 if (getenv("HOSTNAME") != NULL) {
124 strncpy(hostname, getenv("HOSTNAME"), sizeof(hostname));
125 hostname[sizeof(hostname)-1] = '\0';
131 ret = gethostname(hostname, sizeof(hostname));
134 strcpy(hostname, "unknown")
    [all...]
  /system/netd/server/
MDnsSdListener.h 41 DNSServiceErrorType errorCode, const char *hostname, void *inContext);
44 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname,
125 void setHostname(SocketClient *cli, int requestId, const char *hostname);
128 uint32_t protocol, const char *hostname);
  /external/openssh/
dns.c 170 * Check if hostname is numerical.
171 * Returns -1 if hostname is numeric, 0 otherwise
174 is_numeric_hostname(const char *hostname)
182 if (hostname == NULL) {
183 error("is_numeric_hostname called with NULL hostname");
191 if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) {
200 * Verify the given hostname, address and host key using DNS.
204 verify_host_key_dns(const char *hostname, struct sockaddr *address,
227 if (is_numeric_hostname(hostname)) {
228 debug("skipped DNS lookup for numerical hostname");
    [all...]
loginrec.c 339 const char *hostname, const char *line)
344 login_init_entry(newli, pid, username, hostname, line);
367 const char *hostname, const char *line)
389 if (hostname)
390 strlcpy(li->hostname, hostname, sizeof(li->hostname));
465 !sys_auth_record_login(li->username,li->hostname,li->line,
696 strncpy(ut->ut_host, li->hostname,
697 MIN_SIZEOF(ut->ut_host, li->hostname));
    [all...]
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
TcpStream.cpp 86 int TcpStream::connect(const char* hostname, unsigned short port)
88 m_sock = socket_network_client(hostname, port, SOCK_STREAM);
  /libcore/luni/src/main/native/
Portability.h 82 static inline int android_getaddrinfofornet(const char* hostname, const char* servname,
84 return getaddrinfo(hostname, servname, hints, res);
  /external/llvm/lib/Support/
LockFileManager.cpp 42 StringRef Hostname;
44 std::tie(Hostname, PIDStr) = getToken(MB.getBuffer(), " ");
48 auto Owner = std::make_pair(std::string(Hostname), PID);
58 bool LockFileManager::processStillExecuting(StringRef Hostname, int PID) {
65 if (MyHostname == Hostname && getsid(PID) == -1 && errno == ESRCH)
103 char hostname[256]; local
104 hostname[255] = 0;
105 hostname[0] = 0;
106 gethostname(hostname, 255);
107 Out << hostname << ' ' << getpid()
    [all...]
  /external/okhttp/android/test/java/com/squareup/okhttp/internal/
PlatformTest.java 60 assertEquals("host", openSslSocket.hostname);
82 private String hostname; field in class:PlatformTest.FullOpenSSLSocketImpl
95 public void setHostname(String hostname) {
96 this.hostname = hostname;
  /libcore/benchmarks/src/benchmarks/regression/
HostnameVerifierBenchmark.java 48 private String hostname; field in class:HostnameVerifierBenchmark
57 public boolean verify(String hostname, SSLSession sslSession) {
63 HostnameVerifierBenchmark.this.hostname = hostname;
79 hostnameVerifier.verify(hostname, sslSession);
  /external/dnsmasq/src/
lease.c 158 lease_set_hostname(lease, config->hostname, 1);
203 ourprintf(&err, "%s ", lease->hostname ? lease->hostname : "*");
256 if (!(daemon->options & OPT_DHCP_FQDN) && lease->hostname)
257 cache_add_dhcp_entry(lease->hostname, &lease->addr, lease->expires);
274 if (lease->hostname)
428 free(lease->hostname);
431 lease->old_hostname = lease->hostname;
433 lease->hostname = lease->fqdn = NULL;
441 if (lease->hostname && name && hostname_isequal(lease->hostname, name)
    [all...]
dhcp.c 535 a particular hwaddr/clientid/hostname in our configuration.
666 int hw_type, char *hostname)
695 if (hostname && context)
698 hostname_isequal(config->hostname, hostname) &&
747 free(config->hostname);
809 if ((config->flags & CONFIG_NAME) && hostname_isequal(config->hostname, host))
848 config->hostname = host;
906 if ((configs->flags & CONFIG_NAME) && (domain = strip_hostname(configs->hostname)))
933 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) &
965 char *hostname = NULL; local
    [all...]
  /external/okhttp/android/main/java/com/squareup/okhttp/internal/
Platform.java 75 SSLSocket sslSocket, String hostname, List<Protocol> protocols) {
77 if (hostname != null) {
79 SET_HOSTNAME.invokeOptionalWithoutCheckedException(sslSocket, hostname);
  /external/libpcap/Win32/Src/
getaddrinfo.c 43 * when globbing NULL hostname (to loopback, or wildcard). Is it the right
205 "Address family for hostname not supported", /* EAI_ADDRFAMILY */
211 "No address associated with hostname", /* EAI_NODATA */
212 "hostname nor servname provided, or not known", /* EAI_NONAME */
301 getaddrinfo(hostname, servname, hints, res)
302 const char *hostname, *servname;
339 if (hostname == NULL && servname == NULL)
408 /* NULL hostname, or numeric hostname */
426 if (hostname == NULL
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
nfs_mount.h 40 char hostname[NFS_MAXNAMLEN + 1]; /* 1 */ member in struct:nfs_mount_data
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ndfapi.h 26 LPCWSTR hostname,
  /external/boringssl/src/crypto/bio/
socket_helper.c 40 const char *hostname,
51 ret = getaddrinfo(hostname, port_str, &hint, &result);
  /external/lldb/tools/debugserver/source/
RNBSocket.cpp 34 ResolveIPV4HostName (const char *hostname, in_addr_t &addr)
36 if (hostname == NULL ||
37 hostname[0] == '\0' ||
38 strcmp(hostname, "localhost") == 0 ||
39 strcmp(hostname, "127.0.0.1") == 0)
44 else if (strcmp(hostname, "*") == 0)
52 int inet_pton_result = ::inet_pton (AF_INET, hostname, &addr);
57 struct hostent *host_entry = gethostbyname (hostname);
76 // Now figure out the hostname that will be attaching and palce it into
  /external/lldb/test/pexpect-2.4/examples/
topip.py 16 -s : hostname of the remote server to login to.
126 hostname = options['-s']
130 hostname = 'localhost'
132 if hostname != 'localhost' and hostname != '127.0.0.1':
182 p.login(hostname, username, password)
240 send_alert(str(s), 'ALERT on %s' % hostname, alert_addr_from, alert_addr_to)
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayer.java 263 private String method, hostname, path; field in class:FakeHttpLayer.RequestMatcherBuilder
285 public RequestMatcherBuilder host(String hostname) {
286 this.hostname = hostname;
324 if (hostname != null && !hostname.equals(uri.getHost())) {
365 return hostname;
  /external/mdnsresponder/mDNSPosix/
Identify.c 69 static char hostname[MAX_ESCAPED_DOMAIN_NAME], hardware[256], software[256]; variable
115 ConvertDomainNameToCString(&answer->rdata->u.name, hostname);
304 hostname[0] = hardware[0] = software[0] = 0;
339 if (strlen(arg) >= sizeof(hostname)) {
340 fprintf(stderr, "hostname must be < %d characters\n", (int)sizeof(hostname));
343 strcpy(hostname, arg);
347 if (hostname[0]) DoQuery(&q, hostname, kDNSQType_ANY, &target, InfoCallback);
355 else if (NumAnswers) printf("%s has no HINFO record\n", hostname);
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
DefaultHostnameVerifierTest.java 143 String hostname = "www.example.com"; local
147 verifier.verify(hostname, session);
150 verifier.verify(hostname, null);
409 * Verifies the provided hostname against the provided domain name pattern from server
412 private boolean verifyWithDomainNamePattern(String hostname, String pattern) {
419 boolean resultWhenPatternInCn = verifier.verify(hostname, session);
426 boolean resultWhenPatternInSubjectAltName = verifier.verify(hostname, session);
431 + " hostname : " + hostname + ", pattern: " + pattern
439 * Verifies the provided hostname against the provided server certificate
    [all...]
  /external/dnsmasq/contrib/dynamic-dnsmasq/
dynamic-dnsmasq.pl 30 # port 9020, and include the hostname, user and pass, and it should
53 die "Usage: $0 ADD USER PASS HOSTNAME\n" unless @ARGV == 4;
75 print "user $key, hostname $domain, ip $ip\n";
118 unless ( defined $cgi{'hostname'} ) {
126 if ( authorize($user, $pass, $cgi{'hostname'}, $cgi{'myip'}) == 0 ) {
142 my ($user, $pass, $hostname) = @_;
144 $X->put($user, join("\t", ($pass, $hostname)));
150 my ($user, $pass, $hostname) = @_;
161 my $hostname = shift;
165 if ( defined $h{$user} and ($spass eq $pass) and ($shost eq $hostname) ) {
    [all...]
  /external/mdnsresponder/mDNSShared/
PlatformCommon.c 106 mDNSexport void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled)
112 if (hostname) hostname->c[0] = 0;
119 if (hostname && GetConfigOption(buf, "hostname", f) && !MakeDomainNameFromDNSNameString(hostname, buf)) goto badf;
135 // for now we assume keyname = service reg domain and we use same key for service and hostname registration

Completed in 503 milliseconds

1 23 4 5 6 7 8 91011>>