Lines Matching refs:iface
30 int ResolverController::setDefaultInterface(const char* iface) {
32 ALOGD("setDefaultInterface iface = %s\n", iface);
35 _resolv_set_default_iface(iface);
40 int ResolverController::setInterfaceDnsServers(const char* iface, const char* domains,
43 ALOGD("setInterfaceDnsServers iface = %s\n", iface);
45 _resolv_set_nameservers_for_iface(iface, servers, numservers, domains);
50 int ResolverController::setInterfaceAddress(const char* iface, struct in_addr* addr) {
52 ALOGD("setInterfaceAddress iface = %s\n", iface);
55 _resolv_set_addr_of_iface(iface, addr);
70 int ResolverController::flushInterfaceDnsCache(const char* iface) {
72 ALOGD("flushInterfaceDnsCache iface = %s\n", iface);
75 _resolv_flush_cache_for_iface(iface);
80 int ResolverController::setDnsInterfaceForPid(const char* iface, int pid) {
82 ALOGD("setDnsIfaceForPid iface = %s, pid = %d\n", iface, pid);
85 _resolv_set_iface_for_pid(iface, pid);
100 int ResolverController::setDnsInterfaceForUidRange(const char* iface, int uid_start, int uid_end) {
102 ALOGD("setDnsIfaceForUidRange iface = %s, range = [%d,%d]\n", iface, uid_start, uid_end);
105 return _resolv_set_iface_for_uid_range(iface, uid_start, uid_end);
108 int ResolverController::clearDnsInterfaceForUidRange(const char* iface, int uid_start,
111 ALOGD("clearDnsIfaceForUidRange iface = %s range = [%d,%d]\n", iface, uid_start, uid_end);
114 return _resolv_clear_iface_for_uid_range(iface, uid_start, uid_end);