int ifc_disable_allmc(const char *ifname) { int result; ifc_init(); result = ifc_set_flags(ifname, 0, IFF_ALLMULTI); ifc_close(); ALOGD("ifc_disable_allmc(%s) = %d", ifname, result); return result; }
int ifc_down(const char *name) { int ret = ifc_set_flags(name, 0, IFF_UP); if (DBG) printerr("ifc_down(%s) = %d", name, ret); return ret; }
int ifc_down(const char *name) { return ifc_set_flags(name, 0, IFF_UP); }
int ifc_up(const char *name) { int ret = ifc_set_flags(name, IFF_UP, 0); if (DBG) printerr("ifc_up(%s) = %d", name, ret); return ret; }
int ifc_up(const char *name) { return ifc_set_flags(name, IFF_UP, 0); }