Searched refs:MAXDNAME (Results 1 – 13 of 13) sorted by relevance
/external/dnsmasq/src/ |
D | tftp.c | 235 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()
|
D | nameser.h | 101 #define MAXDNAME 1025 /* maximum presentation domain name */ macro
|
D | dnsmasq.h | 160 #define DNSMASQ_PACKETSZ PACKETSZ+MAXDNAME+RRFIXEDSZ 256 char name[MAXDNAME];
|
D | option.c | 2580 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()
|
D | util.c | 109 if (l == 0 || l > MAXDNAME) return 0; in check_name()
|
D | rfc1035.c | 109 if (cp - (unsigned char *)name + digs + 9 >= MAXDNAME) in extract_name() 133 if (cp - (unsigned char *)name + l + 1 >= MAXDNAME) in extract_name()
|
D | rfc2131.c | 1578 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()
|
D | dhcp.c | 755 while (fgets(buff, MAXDNAME, f)) in dhcp_read_ethers()
|
D | network.c | 880 while ((line = fgets(daemon->namebuff, MAXDNAME, f))) in reload_servers()
|
D | forward.c | 729 unsigned char *packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); in tcp_request()
|
D | cache.c | 745 if (count < (MAXDNAME - 1)) in gettok()
|
/external/tcpdump/ |
D | nameser.h | 66 #define MAXDNAME 256 /* maximum domain name */ macro
|
/external/dnsmasq/contrib/dns-loc/ |
D | dnsmasq2-loc-rfc1876.patch | 27 char name[MAXDNAME];
|