Searched refs:dhcp_buff2 (Results 1 – 6 of 6) sorted by relevance
/external/dnsmasq/src/ |
D | helper.c | 136 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()
|
D | lease.c | 34 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()
|
D | rfc2131.c | 370 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()
|
D | dhcp.c | 286 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); in complete_context() 289 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask)); in complete_context()
|
D | dnsmasq.c | 448 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()
|
D | dnsmasq.h | 641 char *dhcp_buff, *dhcp_buff2; member
|