Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dlease.c34 daemon->dhcp_buff = safe_malloc(256); in lease_init()
48 strcpy(daemon->dhcp_buff, daemon->lease_change_command); in lease_init()
49 strcat(daemon->dhcp_buff, " init"); in lease_init()
50 leasestream = popen(daemon->dhcp_buff, "r"); in lease_init()
77 daemon->dhcp_buff, daemon->packet) == 5) in lease_init()
108 if (strcmp(daemon->dhcp_buff, "*") != 0) in lease_init()
109 lease_set_hostname(lease, daemon->dhcp_buff, 0); in lease_init()
133 sprintf(daemon->dhcp_buff, "%d", WEXITSTATUS(rc)); in lease_init()
134 …die(_("lease-init script returned exit code %s"), daemon->dhcp_buff, WEXITSTATUS(rc) + EC_INIT_OFF… in lease_init()
Drfc2131.c503 char *pq = daemon->dhcp_buff; in dhcp_reply()
534 if (pq != daemon->dhcp_buff) in dhcp_reply()
539 if (legal_hostname(daemon->dhcp_buff)) in dhcp_reply()
540 offer_hostname = client_hostname = daemon->dhcp_buff; in dhcp_reply()
545 memcpy(daemon->dhcp_buff, option_ptr(opt, 0), len); in dhcp_reply()
549 if (len > 0 && daemon->dhcp_buff[len-1] == 0) in dhcp_reply()
552 daemon->dhcp_buff[len] = 0; in dhcp_reply()
553 if (legal_hostname(daemon->dhcp_buff)) in dhcp_reply()
554 client_hostname = daemon->dhcp_buff; in dhcp_reply()
839 sanitise(option_find(mess, sz, OPTION_MESSAGE, 1), daemon->dhcp_buff); in dhcp_reply()
[all …]
Dhelper.c131 p = daemon->dhcp_buff; in create_helper()
282 action_str, daemon->dhcp_buff, inet_ntoa(data.addr), hostname, (char*)NULL); in create_helper()
Ddhcp.c388 strcpy(daemon->dhcp_buff, inet_ntoa(context->start)); in complete_context()
391 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask)); in complete_context()
979 hostname = daemon->dhcp_buff; in host_from_dns()
Ddnsmasq.c477 strcpy(daemon->dhcp_buff, inet_ntoa(dhcp_tmp->start)); in main()
484 daemon->dhcp_buff, inet_ntoa(dhcp_tmp->end), daemon->dhcp_buff2); in main()
Ddnsmasq.h653 char *dhcp_buff, *dhcp_buff2; member