Home | History | Annotate | Download | only in netd

Lines Matching refs:interface

61 		ALOGW("Warning (%s) while opening the net interface command library", err_str ? err_str : "unknown");
66 ALOGW("Error (%s) while searching for the interface command init function", err_str ? err_str : "unknown");
68 ALOGE("Can't init the interface command API");
74 ALOGW("Error (%s) while searching for the interface command fini function", err_str ? err_str : "unknown");
79 ALOGE("Error (%s) while searching for the interface command function", err_str ? err_str : "unknown");
88 ALOGE("Can't shutdown the interface command API");
95 ALOGE("Error (%s) while closing the net interface command library", err_str ? err_str : "unknown");
102 * argv[2] - wlan interface
115 int InterfaceController::writeIPv6ProcPath(const char *interface, const char *setting, const char *value) {
117 asprintf(&path, "%s/%s/%s", ipv6_proc_path, interface, setting);
123 int InterfaceController::setEnableIPv6(const char *interface, const int on) {
126 // addresses and routes and disables IPv6 on the interface.
128 return writeIPv6ProcPath(interface, "disable_ipv6", disable_ipv6);
131 int InterfaceController::setIPv6PrivacyExtensions(const char *interface, const int on) {
134 return writeIPv6ProcPath(interface, "use_tempaddr", on ? "2" : "0");