Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dforward.c189 unsigned int crc = questions_crc(header, plen, daemon->namebuff); in forward_query()
191 unsigned short gotname = extract_request(header, plen, daemon->namebuff, NULL); in forward_query()
209 if (gotname) flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain); in forward_query()
301 if (!gotname) strcpy(daemon->namebuff, "query"); in forward_query()
303 log_query(F_SERVER | F_IPV4 | F_FORWARD, daemon->namebuff, in forward_query()
307 log_query(F_SERVER | F_IPV6 | F_FORWARD, daemon->namebuff, in forward_query()
363 prettyprint_addr(&server->addr, daemon->namebuff); in process_reply()
364 … my_syslog(LOG_WARNING, _("nameserver %s refused to do a recursive query"), daemon->namebuff); in process_reply()
369 check_for_bogus_wildcard(header, n, daemon->namebuff, daemon->bogus_addr, now)) { in process_reply()
374 if (header->rcode == NXDOMAIN && extract_request(header, n, daemon->namebuff, NULL) && in process_reply()
[all …]
Dnetwork.c405 prettyprint_addr(&iface->addr, daemon->namebuff); in create_bound_listener()
409 syslog(LOG_ERR, _("failed to bind listening socket for %s"), daemon->namebuff); in create_bound_listener()
457 int port = prettyprint_addr(&listener->iface->addr, daemon->namebuff); in delete_listener()
458 my_syslog(LOG_INFO, _("Closing listener [%s]:%d"), daemon->namebuff, port); in delete_listener()
565 prettyprint_addr(&iface->addr, daemon->namebuff); in create_bound_listeners()
566 die(_("failed to bind listening socket for %s: %s"), daemon->namebuff, in create_bound_listeners()
722 prettyprint_addr(&srv->addr, daemon->namebuff); in pre_allocate_sfds()
724 strcat(daemon->namebuff, " "); in pre_allocate_sfds()
725 strcat(daemon->namebuff, srv->interface); in pre_allocate_sfds()
727 die(_("failed to bind server socket for %s: %s"), daemon->namebuff, EC_BADNET); in pre_allocate_sfds()
[all …]
Drfc2131.c324 strcpy(daemon->namebuff, inet_ntoa(context_tmp->start)); in dhcp_reply()
327 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->netmask)); in dhcp_reply()
330 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->end)); in dhcp_reply()
615 if (sanitise(option_find(mess, sz, OPTION_VENDOR_ID, 1), daemon->namebuff)) in dhcp_reply()
617 daemon->namebuff); in dhcp_reply()
618 if (sanitise(option_find(mess, sz, OPTION_USER_CLASS, 1), daemon->namebuff)) in dhcp_reply()
620 daemon->namebuff); in dhcp_reply()
806 addrs, print_mac(daemon->namebuff, mac, len)); in dhcp_reply()
975 print_mac(daemon->namebuff, ltmp->hwaddr, ltmp->hwaddr_len), in dhcp_reply()
1235 print_mac(daemon->namebuff, ext_mac, mac_len); in log_packet()
[all …]
Dcache.c617 char *token = daemon->namebuff, *domain_suffix = NULL; in read_hostsfile()
864 strcpy(daemon->namebuff, inet_ntoa(crec->addr.addr.addr.addr4)); in cache_add_dhcp_entry()
869 daemon->namebuff); in cache_add_dhcp_entry()
970 char *a, *p = daemon->namebuff; in dump_cache()
1006 my_syslog(LOG_DEBUG, daemon->namebuff); in dump_cache()
Dlease.c70 daemon->namebuff, daemon->dhcp_buff, daemon->packet) == 5) { in lease_init()
76 addr.s_addr = inet_addr(daemon->namebuff); in lease_init()
Ddnsmasq.h622 char* namebuff; /* MAXDNAME size buffer */ member
671 int extract_addresses(HEADER* header, size_t qlen, char* namebuff, time_t now);
Dhelper.c103 unsigned char* buf = (unsigned char*) daemon->namebuff; in create_helper()
Ddnsmasq.c202 prettyprint_addr(&if_tmp->addr, daemon->namebuff); in main()
203 die(_("no interface with address %s"), daemon->namebuff, EC_BADNET); in main()
Doption.c2226 char *p, *arg, *start, *buff = daemon->namebuff; in one_file()
2439 daemon->namebuff = buff; in read_opts()
Drfc1035.c961 char* name = daemon->namebuff; in answer_request()
/external/curl/lib/
Dcurl_addrinfo.c350 struct namebuff { struct
384 struct namebuff *buf; in Curl_ip2addr()
391 buf = malloc(sizeof(struct namebuff)); in Curl_ip2addr()