Lines Matching refs:ofs
155 std::ofstream ofs(hostapd_conf); in StartAccessPoint() local
156 ofs << "interface=" << iface_ << std::endl; in StartAccessPoint()
157 ofs << "channel=1" << std::endl; in StartAccessPoint()
158 ofs << "ssid=" << ssid << std::endl; in StartAccessPoint()
172 std::ofstream ofs(dnsmasq_conf.c_str()); in StartAccessPoint() local
173 ofs << "port=0" << std::endl; in StartAccessPoint()
174 ofs << "bind-interfaces" << std::endl; in StartAccessPoint()
175 ofs << "log-dhcp" << std::endl; in StartAccessPoint()
176 ofs << "dhcp-range=192.168.76.10,192.168.76.100" << std::endl; in StartAccessPoint()
177 ofs << "interface=" << iface_ << std::endl; in StartAccessPoint()
178 ofs << "dhcp-leasefile=" << dnsmasq_conf << ".leases" << std::endl; in StartAccessPoint()