| /src/external/bsd/libbind/dist/irs/ |
| dns.c | 1 /* $NetBSD: dns.c,v 1.1.1.2 2012/09/09 16:07:57 christos Exp $ */ 21 static const char rcsid[] = "Id: dns.c,v 1.5 2006/03/09 23:57:56 marka Exp "; 26 * dns.c --- this is the top-level accessor function for the dns 63 struct dns_p *dns; local 72 if (!(dns = memget(sizeof *dns))) { 77 memset(dns, 0x5e, sizeof *dns); 78 dns->res = NULL 113 struct dns_p *dns = (struct dns_p *)this->private; local 134 struct dns_p *dns = (struct dns_p *)this->private; local 146 struct dns_p *dns; local [all...] |
| dns_pw.c | 53 struct dns_p * dns; member in struct:pvt 78 struct dns_p *dns = (struct dns_p *)this->private; local 82 if (!dns || !dns->hes_ctx) { 91 pvt->dns = dns; 158 struct dns_p *dns = pvt->dns; local 160 return (__hesiod_res_get(dns->hes_ctx)); 167 struct dns_p *dns = pvt->dns local [all...] |
| dns_gr.c | 66 struct dns_p * dns; member in struct:pvt 103 struct dns_p *dns = (struct dns_p *)this->private; local 107 if (!dns || !dns->hes_ctx) { 116 pvt->dns = dns; 209 hes_list = hesiod_resolve(pvt->dns->hes_ctx, name, type); 219 hesiod_free_list(pvt->dns->hes_ctx, hes_list); 282 struct dns_p *dns = pvt->dns; local 291 struct dns_p *dns = pvt->dns; local [all...] |
| dns_pr.c | 52 struct dns_p * dns; member in struct:pvt 76 struct dns_p *dns = (struct dns_p *)this->private; local 80 if (!dns->hes_ctx) { 95 pvt->dns = dns; 126 struct dns_p *dns = pvt->dns; local 130 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "protocol"))) 134 hesiod_free_list(dns->hes_ctx, hes_list); 141 struct dns_p *dns = pvt->dns local 177 struct dns_p *dns = pvt->dns; local 186 struct dns_p *dns = pvt->dns; local [all...] |
| dns_sv.c | 55 struct dns_p * dns; member in struct:pvt 85 struct dns_p *dns = (struct dns_p *)this->private; local 89 if (!dns || !dns->hes_ctx) { 98 pvt->dns = dns; 142 struct dns_p *dns = pvt->dns; local 146 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "service"))) 150 hesiod_free_list(dns->hes_ctx, hes_list) 157 struct dns_p *dns = pvt->dns; local 287 struct dns_p *dns = pvt->dns; local 296 struct dns_p *dns = pvt->dns; local [all...] |
| /src/sys/external/bsd/ipf/netinet/ |
| ip_dns_pxy.c | 14 * map ... proxy port dns/udp 53 { block .cnn.com; } 72 RWLOCK_INIT(&softd->ipf_p_dns_rwlock, "ipf dns rwlock"); 184 * No real DNS packet is smaller than that. 196 MUTEX_INIT(&di->dnsi_lock, "dns lock"); 320 ipf_dns_hdr_t *dns; local 325 if (fin->fin_dlen < sizeof(*dns)) 328 dns = (ipf_dns_hdr_t *)((char *)fin->fin_dp + sizeof(udphdr_t)); 330 q = dns->dns_qdcount; 332 data = (char *)(dns + 1); 333 dlen = fin->fin_dlen - sizeof(*dns) - sizeof(udphdr_t) [all...] |
| /src/external/bsd/ipf/dist/ |
| ip_dns_pxy.c | 14 * map ... proxy port dns/udp 53 { block .cnn.com; } 73 RWLOCK_INIT(&softd->ipf_p_dns_rwlock, "ipf dns rwlock"); 194 * No real DNS packet is smaller than that. 206 MUTEX_INIT(&di->dnsi_lock, "dns lock"); 345 ipf_dns_hdr_t *dns; local 350 if (fin->fin_dlen < sizeof(*dns)) 353 dns = (ipf_dns_hdr_t *)((char *)fin->fin_dp + sizeof(udphdr_t)); 355 q = dns->dns_qdcount; 357 data = (char *)(dns + 1); 358 dlen = fin->fin_dlen - sizeof(*dns) - sizeof(udphdr_t) [all...] |
| /src/external/bsd/openldap/dist/tests/progs/ |
| slapd-bind.c | 59 * that base DN. Then DNs from this list will be randomly selected for each 117 case 'b': /* base DN of a tree of user DNs */ 381 char **dns = NULL; local 419 dns = realloc( dns, (ndns + 1)*sizeof(char *) ); 420 if ( !dns ) { 424 dns[ndns] = ber_strdup( bv.bv_val ); 484 tester_error( "No DNs" ); 494 /* Ok, got list of DNs, now start binding to each */ 508 if ( do_bind( config, dns[j], 1, force, noinit, &ld, pass [all...] |
| /src/lib/libresolv/ |
| dst_api.c | 31 * DST_KEY *dst_dnskey_to_key() Function to convert DNS KEY RR to a DST 33 * int dst_key_to_dnskey() Function to return a public key in DNS 159 * flags: the dns flags of the key 160 * protocol: the dns protocol of the key 584 * Write a key to disk in DNS format. 639 * This function converts the contents of a DNS KEY RR into a DST 700 * Function to encode a public key into DNS KEY wire format 767 const int flags, /*!< dns flags */ 768 const int protocol, /*!< dns protocol */ 769 const u_char *key_buf, /*!< key in dns wire fmt * 775 u_char dns[2048]; local 839 u_char dns[2048]; local 968 u_char dns[2048]; local [all...] |
| /src/external/bsd/libbind/dist/dst/ |
| dst_api.c | 35 * DST_KEY *dst_dnskey_to_key() Function to convert DNS KEY RR to a DST 37 * int dst_key_to_dnskey() Function to return a public key in DNS 155 * flags: the dns flags of the key 156 * protocol: the dns protocol of the key 578 * Write a key to disk in DNS format. 632 * This function converts the contents of a DNS KEY RR into a DST 693 * Function to encode a public key into DNS KEY wire format 761 const int flags, /*!< dns flags */ 762 const int protocol, /*!< dns protocol */ 763 const u_char *key_buf, /*!< key in dns wire fmt * 769 u_char dns[2048]; local 831 u_char dns[2048]; local 958 u_char dns[2048]; local [all...] |
| /src/external/bsd/wpa/dist/src/tls/ |
| x509v3.h | 41 char *dns; /* dNSName */ member in struct:x509_name
|
| /src/sys/net/ |
| if_sppp.h | 134 /* set the DNS options we would like to query during PPP negotiation */ 137 int query_dns; /* bitmask (bits 0 and 1) for DNS options to query in IPCP */ 142 /* get the DNS addresses we received from the peer */ 145 uint32_t dns[2]; /* IP addresses */ member in struct:spppdnsaddrs
|
| /src/external/bsd/libevent/dist/test/ |
| regress_dns.c | 70 #include "event2/dns.h" 211 struct evdns_base *dns = evdns_base_new(base, EVDNS_BASE_INITIALIZE_NAMESERVERS); local 215 tt_assert(dns); 220 dns, &in, 0, dns_gethostbyname_cb, base); 228 if (dns) 229 evdns_base_free(dns, 0); 548 struct evdns_base *dns = NULL; local 563 dns = evdns_base_new(base, 0); 564 tt_assert(!evdns_base_nameserver_ip_add(dns, buf)); 566 evdns_base_search_add(dns, "a.example.com") 611 struct evdns_base *dns = NULL; local 660 struct evdns_base *dns = NULL; local 736 struct evdns_base *dns = NULL; local 835 struct evdns_base *dns = NULL; local 910 struct evdns_base *dns = NULL; local 975 struct evdns_base *dns = NULL; local 1016 struct evdns_base *dns = NULL; local 1038 struct evdns_base *dns = NULL; local 1264 struct evdns_base *dns=NULL; local 2128 struct evdns_base *dns = NULL; local 2176 struct evdns_base *dns = NULL; local 2220 void *dns; member in struct:race_param [all...] |
| /src/external/bsd/ntp/dist/sntp/libevent/test/ |
| regress_dns.c | 68 #include "event2/dns.h" 209 struct evdns_base *dns = evdns_base_new(base, EVDNS_BASE_INITIALIZE_NAMESERVERS); local 213 tt_assert(dns); 218 dns, &in, 0, dns_gethostbyname_cb, base); 226 if (dns) 227 evdns_base_free(dns, 0); 546 struct evdns_base *dns = NULL; local 561 dns = evdns_base_new(base, 0); 562 tt_assert(!evdns_base_nameserver_ip_add(dns, buf)); 564 evdns_base_search_add(dns, "a.example.com") 609 struct evdns_base *dns = NULL; local 658 struct evdns_base *dns = NULL; local 734 struct evdns_base *dns = NULL; local 833 struct evdns_base *dns = NULL; local 908 struct evdns_base *dns = NULL; local 973 struct evdns_base *dns = NULL; local 1014 struct evdns_base *dns = NULL; local 1036 struct evdns_base *dns = NULL; local 1262 struct evdns_base *dns=NULL; local 2126 struct evdns_base *dns = NULL; local 2174 struct evdns_base *dns = NULL; local 2218 void *dns; member in struct:race_param [all...] |
| /src/external/bsd/ppp/dist/pppd/ |
| ipcp.c | 94 static bool usepeerdns; /* Ask peer for DNS addrs */ 181 { "ms-dns", o_special, (void *)setdnsaddr, 182 "DNS address for the peer's use", OPT_A2LIST }, 223 "Ask peer for DNS address(es)", 1 }, 356 * setdnsaddr - set the dns address(es) 361 u_int32_t dns; local 364 dns = inet_addr(*argv); 365 if (dns == (u_int32_t) -1) { 367 ppp_option_error("invalid address parameter '%s' for ms-dns option", 371 dns = *(u_int32_t *)hp->h_addr [all...] |
| /src/external/apache2/mDNSResponder/dist/Clients/dnssdutil/ |
| dnssdutil.c | 88 // DNS-SD 91 // DNS-SD API flag descriptors 140 // DNS 215 // Used by the DNS server when it needs to respond with intentionally "bad" A/AAAA record data, i.e., IP addresses neither 242 // DNS Server Domains 284 // Most tests that spawn a DNS server for their testing don't actually care about the port used by the DNS protocol, so 355 // DNS-SD API flag options 477 // Fallback DNS service option 485 #define FallbackDNSServiceGroup() CLI_OPTION_GROUP( "Default Fallback DNS Service" 31581 dns_handle_t dns = NULL; local [all...] |