Lines Matching refs:my_setenv
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()
226 my_setenv("DNSMASQ_DOMAIN", dot + 1, &err); in create_helper()
232 my_setenv("DNSMASQ_OLD_HOSTNAME", hostname, &err); in create_helper()
252 static void my_setenv(const char* name, const char* value, int* error) { in my_setenv() function