Home
last modified time | relevance | path

Searched refs:SetAttribute (Results 1 – 10 of 10) sorted by relevance

/system/connectivity/shill/
Drouting_table.cc455 message.SetAttribute(RTA_DST, entry.dst.address()); in ApplyRoute()
457 message.SetAttribute(RTA_SRC, entry.src.address()); in ApplyRoute()
460 message.SetAttribute(RTA_GATEWAY, entry.gateway.address()); in ApplyRoute()
462 message.SetAttribute(RTA_PRIORITY, in ApplyRoute()
464 message.SetAttribute(RTA_OIF, in ApplyRoute()
529 message.SetAttribute(RTA_DST, address.address()); in RequestRouteToHost()
532 message.SetAttribute(RTA_OIF, in RequestRouteToHost()
574 message.SetAttribute(RTA_PRIORITY, in CreateBlackholeRoute()
576 message.SetAttribute(RTA_OIF, in CreateBlackholeRoute()
Drouting_table_unittest.cc267 msg.SetAttribute(RTA_DST, entry.dst.address()); in SendRouteEntryWithSeqAndProto()
269 msg.SetAttribute(RTA_SRC, entry.src.address()); in SendRouteEntryWithSeqAndProto()
272 msg.SetAttribute(RTA_GATEWAY, entry.gateway.address()); in SendRouteEntryWithSeqAndProto()
274 msg.SetAttribute(RTA_PRIORITY, ByteString::CreateFromCPUUInt32(entry.metric)); in SendRouteEntryWithSeqAndProto()
275 msg.SetAttribute(RTA_OIF, ByteString::CreateFromCPUUInt32(interface_index)); in SendRouteEntryWithSeqAndProto()
Ddevice_info_unittest.cc232 message->SetAttribute(static_cast<uint16_t>(IFLA_IFNAME), in BuildLinkMessageWithInterfaceName()
235 message->SetAttribute(IFLA_ADDRESS, test_address); in BuildLinkMessageWithInterfaceName()
255 message->SetAttribute(IFA_ADDRESS, address.address()); in BuildAddressMessage()
458 message->SetAttribute(IFLA_STATS64, stats_bytes0); in TEST_F()
469 message->SetAttribute(IFLA_STATS64, stats_bytes1); in TEST_F()
Dconnection_diagnostics_unittest.cc536 msg.SetAttribute(NDA_DST, address_queried.address()); in ExpectNeighborTableLookupEndSuccess()
810 msg.SetAttribute(NDA_DST, address_queried.address()); in ExpectNeighborTableLookupEndFailure()
/system/connectivity/shill/net/
Drtnl_message_unittest.cc731 msg.SetAttribute(RTA_DST, dst.address()); in TEST_F()
732 msg.SetAttribute(RTA_SRC, src.address()); in TEST_F()
733 msg.SetAttribute(RTA_GATEWAY, gateway.address()); in TEST_F()
734 msg.SetAttribute(RTA_OIF, ByteString::CreateFromCPUUInt32(12)); in TEST_F()
735 msg.SetAttribute(RTA_PRIORITY, ByteString::CreateFromCPUUInt32(13)); in TEST_F()
Drtnl_handler.cc189 msg.SetAttribute( in SetInterfaceMTU()
372 msg.SetAttribute(IFA_LOCAL, local.address()); in AddressRequest()
374 msg.SetAttribute(IFA_BROADCAST, broadcast.address()); in AddressRequest()
377 msg.SetAttribute(IFA_ADDRESS, peer.address()); in AddressRequest()
Drtnl_message.h205 void SetAttribute(uint16_t attr, const ByteString& val) { in SetAttribute() function
Drtnl_handler_unittest.cc161 message.SetAttribute(static_cast<uint16_t>(IFLA_IFNAME), in AddLink()
Drtnl_message.cc148 SetAttribute( in DecodeInternal()
/system/connectivity/apmanager/
Ddevice_info_unittest.cc107 message.SetAttribute(static_cast<uint16_t>(IFLA_IFNAME), in SendLinkMsg()