Searched refs:IFF_UP (Results 1 - 20 of 20) sorted by path

/system/bt/btif/src/
H A Dbtif_pan.c353 ifr.ifr_flags |= IFF_UP;
381 ifr.ifr_flags &= ~IFF_UP;
/system/connectivity/apmanager/
H A Ddhcp_server.cc98 rtnl_handler_->SetInterfaceFlags(interface_index, IFF_UP, IFF_UP);
H A Ddhcp_server_unittest.cc133 SetInterfaceFlags(kInterfaceIndex, IFF_UP, IFF_UP)).Times(1);
/system/connectivity/shill/cellular/
H A Dcellular.cc843 (flags & IFF_UP) != 0) {
844 LinkEvent(flags, IFF_UP);
848 rtnl_handler()->SetInterfaceFlags(interface_index(), IFF_UP, IFF_UP); local
861 if ((flags & IFF_UP) != 0 && state_ == kStateConnected) {
888 if ((flags & IFF_UP) == 0 && state_ == kStateLinked) {
H A Dcellular_unittest.cc777 .WillOnce(DoAll(SetArgumentPointee<1>(IFF_UP), Return(true)));
1289 device_->LinkEvent(0, 0); // flags doesn't contain IFF_UP
1455 device_->LinkEvent(IFF_UP, 0);
1465 device_->LinkEvent(IFF_UP, 0);
2082 .WillOnce(DoAll(SetArgumentPointee<1>(IFF_UP), Return(true)));
2135 .WillOnce(DoAll(SetArgumentPointee<1>(IFF_UP), Return(true)));
/system/connectivity/shill/
H A Ddevice.cc1886 rtnl_handler_->SetInterfaceFlags(interface_index(), 0, IFF_UP); local
H A Ddevice_info.cc543 rtnl_handler_->SetInterfaceFlags(interface_index, IFF_UP, IFF_UP);
H A Ddevice_info_unittest.cc352 message->set_link_status(RTNLMessage::LinkStatus(0, IFF_UP | IFF_RUNNING, 0));
355 EXPECT_EQ(IFF_UP | IFF_RUNNING, flags);
651 SetInterfaceFlags(kTestDeviceIndex, IFF_UP, IFF_UP)).Times(1);
H A Ddevice_unittest.cc988 EXPECT_CALL(rtnl_handler_, SetInterfaceFlags(_, 0, IFF_UP));
H A Dvirtual_device.cc62 rtnl_handler()->SetInterfaceFlags(interface_index(), IFF_UP, IFF_UP); local
H A Dvirtual_device_unittest.cc90 EXPECT_CALL(rtnl_handler_, SetInterfaceFlags(_, IFF_UP, IFF_UP));
/system/connectivity/shill/ethernet/
H A Dethernet.cc123 rtnl_handler()->SetInterfaceFlags(interface_index(), IFF_UP, IFF_UP); local
H A Dethernet_unittest.cc151 SetInterfaceFlags(kInterfaceIndex, IFF_UP, IFF_UP));
/system/connectivity/shill/net/
H A Drtnl_handler.cc172 if ((flags & IFF_UP) == 0) {
H A Drtnl_message_unittest.cc50 IFF_BROADCAST | IFF_MULTICAST | IFF_UP | IFF_LOWER_UP | IFF_RUNNING;
/system/connectivity/shill/wifi/
H A Dwifi.cc2324 RTNLHandler::GetInstance()->SetInterfaceFlags(interface_index(), IFF_UP, local
2325 IFF_UP); local
/system/core/init/
H A Dbuiltins.cpp102 ifr.ifr_flags |= IFF_UP;
104 ifr.ifr_flags &= ~IFF_UP;
/system/core/libnetutils/
H A Difc_utils.c218 int ret = ifc_set_flags(name, IFF_UP, 0);
225 int ret = ifc_set_flags(name, 0, IFF_UP);
/system/extras/tests/net_test/
H A Dnet_test.py197 flags |= scapy.IFF_UP
199 flags &= ~scapy.IFF_UP
/system/netd/server/
H A DCommandListener.cpp307 updown = (flags & IFF_UP) ? "up" : "down";

Completed in 232 milliseconds