Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dhelper.c136 sprintf(daemon->dhcp_buff2, "%u ", data.length); in create_helper()
138 sprintf(daemon->dhcp_buff2, "%lu ", (unsigned long) data.expires); in create_helper()
177 my_setenv("DNSMASQ_LEASE_LENGTH", daemon->dhcp_buff2, &err); in create_helper()
179 my_setenv("DNSMASQ_LEASE_EXPIRES", daemon->dhcp_buff2, &err); in create_helper()
198 sprintf(daemon->dhcp_buff2, "DNSMASQ_USER_CLASS%i", i++); in create_helper()
199 my_setenv(daemon->dhcp_buff2, (char*) buf, &err); in create_helper()
216 sprintf(daemon->dhcp_buff2, "%u ", data.remaining_time); in create_helper()
217 my_setenv("DNSMASQ_TIME_REMAINING", daemon->dhcp_buff2, &err); in create_helper()
Dlease.c34 daemon->dhcp_buff2 = safe_malloc(256); in lease_init()
69 while (fscanf(leasestream, "%lu %255s %16s %255s %764s", &ei, daemon->dhcp_buff2, in lease_init()
71 hw_len = parse_hex(daemon->dhcp_buff2, (unsigned char*) daemon->dhcp_buff2, in lease_init()
98 lease_set_hwaddr(lease, (unsigned char*) daemon->dhcp_buff2, in lease_init()
Drfc2131.c370 memcpy(daemon->dhcp_buff2, mess->file, sizeof(mess->file)); in dhcp_reply()
371 daemon->dhcp_buff2[sizeof(mess->file) + 1] = 0; /* ensure zero term. */ in dhcp_reply()
372 id.net = (char*) daemon->dhcp_buff2; in dhcp_reply()
735 req_options = (unsigned char*) daemon->dhcp_buff2; in dhcp_reply()
1650 q = (unsigned char*) daemon->dhcp_buff2; in pxe_opts()
1672 if (q - (unsigned char*) daemon->dhcp_buff2 + 3 + INADDRSZ >= 253) goto toobig; in pxe_opts()
1699 if (q - (unsigned char*) daemon->dhcp_buff2 != 0) { in pxe_opts()
1701 ret->len = q - (unsigned char*) daemon->dhcp_buff2; in pxe_opts()
1702 ret->val = (unsigned char*) daemon->dhcp_buff2; in pxe_opts()
Ddhcp.c286 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); in complete_context()
289 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask)); in complete_context()
Ddnsmasq.c448 prettyprint_time(daemon->dhcp_buff2, dhcp_tmp->lease_time); in main()
456 daemon->dhcp_buff, inet_ntoa(dhcp_tmp->end), daemon->dhcp_buff2); in main()
Ddnsmasq.h641 char *dhcp_buff, *dhcp_buff2; member