Home
last modified time | relevance | path

Searched refs:MAXDNAME (Results 1 – 15 of 15) 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.c2563 while (fgets(buff, MAXDNAME, f)) in one_file()
2765 char *buff = opt_malloc(MAXDNAME); in read_opts()
2808 strncpy(buff, optarg, MAXDNAME); in read_opts()
2809 buff[MAXDNAME-1] = 0; in read_opts()
2890 if (gethostname(buff, MAXDNAME) == -1) in read_opts()
2934 while ((line = fgets(buff, MAXDNAME, f))) in read_opts()
Dnetwork.c1019 char debug_buff[MAXDNAME]; in set_interfaces()
1047 char debug_buff[MAXDNAME]; in set_interfaces()
1213 while ((line = fgets(daemon->namebuff, MAXDNAME, f))) in reload_servers()
Dutil.c111 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()
Dforward.c741 unsigned char *packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); in tcp_request()
Dcache.c745 if (count < (MAXDNAME - 1)) in gettok()
/external/tcpdump/
Dnameser.h65 #define MAXDNAME 256 /* maximum domain name */ macro
/external/c-ares/
Dnameser.h129 #define MAXDNAME NS_MAXDNAME macro
/external/libpcap/Win32/Include/arpa/
Dnameser.h92 #define MAXDNAME 256 /* maximum domain name */ macro
/external/dnsmasq/contrib/dns-loc/
Ddnsmasq2-loc-rfc1876.patch27 char name[MAXDNAME];