Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dtftp.c235 strncat(daemon->namebuff, daemon->tftp_prefix, (MAXDNAME-1) - strlen(daemon->namebuff)); in tftp_request()
237 strncat(daemon->namebuff, "/", (MAXDNAME-1) - strlen(daemon->namebuff)); in tftp_request()
244 strncat(daemon->namebuff, inet_ntoa(peer.sin_addr), (MAXDNAME-1) - strlen(daemon->namebuff)); in tftp_request()
245 strncat(daemon->namebuff, "/", (MAXDNAME-1) - strlen(daemon->namebuff)); in tftp_request()
263 strncat(daemon->namebuff, filename, (MAXDNAME-1) - strlen(daemon->namebuff)); in tftp_request()
Dnameser.h101 #define MAXDNAME 1025 /* maximum presentation domain name */ macro
Ddnsmasq.h160 #define DNSMASQ_PACKETSZ PACKETSZ+MAXDNAME+RRFIXEDSZ
256 char name[MAXDNAME];
Doption.c2580 while (fgets(buff, MAXDNAME, f)) in one_file()
2782 char *buff = opt_malloc(MAXDNAME); in read_opts()
2825 strncpy(buff, optarg, MAXDNAME); in read_opts()
2826 buff[MAXDNAME-1] = 0; in read_opts()
2907 if (gethostname(buff, MAXDNAME) == -1) in read_opts()
2951 while ((line = fgets(buff, MAXDNAME, f))) in read_opts()
Dutil.c109 if (l == 0 || l > MAXDNAME) return 0; in check_name()
Drfc1035.c109 if (cp - (unsigned char *)name + digs + 9 >= MAXDNAME) in extract_name()
133 if (cp - (unsigned char *)name + l + 1 >= MAXDNAME) in extract_name()
Drfc2131.c1578 strncat (s, netid->net, (MAXDNAME-1) - strlen(s)); in dhcp_packet_size()
1580 strncat (s, ", ", (MAXDNAME-1) - strlen(s)); in dhcp_packet_size()
2043 q += snprintf(q, MAXDNAME - (q - daemon->namebuff), in do_options()
Ddhcp.c755 while (fgets(buff, MAXDNAME, f)) in dhcp_read_ethers()
Dnetwork.c880 while ((line = fgets(daemon->namebuff, MAXDNAME, f))) in reload_servers()
Dforward.c729 unsigned char *packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); in tcp_request()
Dcache.c745 if (count < (MAXDNAME - 1)) in gettok()
/external/tcpdump/
Dnameser.h66 #define MAXDNAME 256 /* maximum domain name */ macro
/external/dnsmasq/contrib/dns-loc/
Ddnsmasq2-loc-rfc1876.patch27 char name[MAXDNAME];