Searched refs:my_setenv (Results 1 – 1 of 1) sorted by relevance
/external/dnsmasq/src/ |
D | helper.c | 33 static void my_setenv(const char* name, const char* value, int* error); 172 if (data.clid_len != 0) my_setenv("DNSMASQ_CLIENT_ID", daemon->packet, &err); in create_helper() 174 if (strlen(data.interface) != 0) my_setenv("DNSMASQ_INTERFACE", data.interface, &err); 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() 186 my_setenv("DNSMASQ_VENDOR_CLASS", (char*) buf, &err); in create_helper() 199 my_setenv(daemon->dhcp_buff2, (char*) buf, &err); in create_helper() 209 my_setenv("DNSMASQ_SUPPLIED_HOSTNAME", (char*) buf, &err); in create_helper() 214 my_setenv("DNSMASQ_RELAY_ADDRESS", inet_ntoa(data.giaddr), &err); in create_helper() 217 my_setenv("DNSMASQ_TIME_REMAINING", daemon->dhcp_buff2, &err); in create_helper() [all …]
|