Home
last modified time | relevance | path

Searched refs:dhcp_buff2 (Results 1 – 6 of 6) sorted by relevance

/external/dnsmasq/src/
Dhelper.c153 sprintf(daemon->dhcp_buff2, "%u ", data.length); in create_helper()
155 sprintf(daemon->dhcp_buff2, "%lu ", (unsigned long)data.expires); in create_helper()
202 my_setenv("DNSMASQ_LEASE_LENGTH", daemon->dhcp_buff2, &err); in create_helper()
204 my_setenv("DNSMASQ_LEASE_EXPIRES", daemon->dhcp_buff2, &err); in create_helper()
229 sprintf(daemon->dhcp_buff2, "DNSMASQ_USER_CLASS%i", i++); in create_helper()
230 my_setenv(daemon->dhcp_buff2, (char *)buf, &err); in create_helper()
249 sprintf(daemon->dhcp_buff2, "%u ", data.remaining_time); in create_helper()
250 my_setenv("DNSMASQ_TIME_REMAINING", daemon->dhcp_buff2, &err); in create_helper()
Dlease.c35 daemon->dhcp_buff2 = safe_malloc(256); in lease_init()
76 &ei, daemon->dhcp_buff2, daemon->namebuff, in lease_init()
79 …hw_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, DHCP_CHADDR_MAX, NULL,… in lease_init()
106 …lease_set_hwaddr(lease, (unsigned char *)daemon->dhcp_buff2, (unsigned char *)daemon->packet, hw_l… in lease_init()
Drfc2131.c403 memcpy(daemon->dhcp_buff2, mess->file, sizeof(mess->file)); in dhcp_reply()
404 daemon->dhcp_buff2[sizeof(mess->file) + 1] = 0; /* ensure zero term. */ in dhcp_reply()
405 id.net = (char *)daemon->dhcp_buff2; in dhcp_reply()
826 req_options = (unsigned char *)daemon->dhcp_buff2; in dhcp_reply()
1899 q = (unsigned char *)daemon->dhcp_buff2; in pxe_opts()
1927 if (q - (unsigned char *)daemon->dhcp_buff2 + 3 + INADDRSZ >= 253) in pxe_opts()
1957 if (q - (unsigned char *)daemon->dhcp_buff2 != 0) in pxe_opts()
1960 ret->len = q - (unsigned char *)daemon->dhcp_buff2; in pxe_opts()
1961 ret->val = (unsigned char *)daemon->dhcp_buff2; in pxe_opts()
Ddnsmasq.c476 prettyprint_time(daemon->dhcp_buff2, dhcp_tmp->lease_time); in main()
484 daemon->dhcp_buff, inet_ntoa(dhcp_tmp->end), daemon->dhcp_buff2); in main()
Ddhcp.c389 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); in complete_context()
391 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask)); in complete_context()
Ddnsmasq.h653 char *dhcp_buff, *dhcp_buff2; member