Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c1154 dyndns_get_sec_context(const char *hostname, smb_inaddr_t *dns_ip) in dyndns_get_sec_context() argument
1166 if (smb_getnameinfo(dns_ip, dns_hostname, in dyndns_get_sec_context()
1170 if ((s = dyndns_open_init_socket(SOCK_STREAM, dns_ip, 53)) < 0) { in dyndns_get_sec_context()
1557 smb_inaddr_t dns_ip; in dyndns_sec_add_remove_entry() local
1565 if (inet_pton(AF_INET, dns_str, &dns_ip) == 1) in dyndns_sec_add_remove_entry()
1566 dns_ip.a_family = AF_INET; in dyndns_sec_add_remove_entry()
1567 else if (inet_pton(AF_INET6, dns_str, &dns_ip) == 1) in dyndns_sec_add_remove_entry()
1568 dns_ip.a_family = AF_INET6; in dyndns_sec_add_remove_entry()
1573 &dns_ip)) == NULL) { in dyndns_sec_add_remove_entry()
1579 if ((s2 = dyndns_open_init_socket(SOCK_DGRAM, &dns_ip, 53)) < 0) { in dyndns_sec_add_remove_entry()
[all …]