Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dlease.c33 daemon->dhcp_buff = safe_malloc(256); in lease_init()
45 strcpy(daemon->dhcp_buff, daemon->lease_change_command); in lease_init()
46 strcat(daemon->dhcp_buff, " init"); in lease_init()
47 leasestream = popen(daemon->dhcp_buff, "r"); in lease_init()
70 daemon->namebuff, daemon->dhcp_buff, daemon->packet) == 5) { in lease_init()
101 if (strcmp(daemon->dhcp_buff, "*") != 0) in lease_init()
102 lease_set_hostname(lease, daemon->dhcp_buff, 0); in lease_init()
124 sprintf(daemon->dhcp_buff, "%d", WEXITSTATUS(rc)); in lease_init()
125 die(_("lease-init script returned exit code %s"), daemon->dhcp_buff, in lease_init()
Drfc2131.c452 char* pq = daemon->dhcp_buff; in dhcp_reply()
479 if (pq != daemon->dhcp_buff) pq--; in dhcp_reply()
483 if (legal_hostname(daemon->dhcp_buff)) offer_hostname = client_hostname = daemon->dhcp_buff; in dhcp_reply()
486 memcpy(daemon->dhcp_buff, option_ptr(opt, 0), len); in dhcp_reply()
490 if (len > 0 && daemon->dhcp_buff[len - 1] == 0) in dhcp_reply()
493 daemon->dhcp_buff[len] = 0; in dhcp_reply()
494 if (legal_hostname(daemon->dhcp_buff)) client_hostname = daemon->dhcp_buff; in dhcp_reply()
747 sanitise(option_find(mess, sz, OPTION_MESSAGE, 1), daemon->dhcp_buff); in dhcp_reply()
752 daemon->dhcp_buff, mess->xid); in dhcp_reply()
757 prettyprint_time(daemon->dhcp_buff, DECLINE_BACKOFF); in dhcp_reply()
[all …]
Dhelper.c119 p = daemon->dhcp_buff; in create_helper()
243 action_str, daemon->dhcp_buff, inet_ntoa(data.addr), hostname, (char*) NULL); in create_helper()
Ddhcp.c285 strcpy(daemon->dhcp_buff, inet_ntoa(context->start)); in complete_context()
289 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask)); in complete_context()
650 hostname = daemon->dhcp_buff; in host_from_dns()
Ddnsmasq.c449 strcpy(daemon->dhcp_buff, inet_ntoa(dhcp_tmp->start)); in main()
456 daemon->dhcp_buff, inet_ntoa(dhcp_tmp->end), daemon->dhcp_buff2); in main()
Ddnsmasq.h641 char *dhcp_buff, *dhcp_buff2; member