Home
last modified time | relevance | path

Searched refs:HasAttribute (Results 1 – 7 of 7) sorted by relevance

/system/connectivity/shill/net/
Drtnl_message_unittest.cc408 EXPECT_TRUE(msg.HasAttribute(IFLA_ADDRESS)); in TestParseLink()
412 EXPECT_TRUE(msg.HasAttribute(IFLA_IFNAME)); in TestParseLink()
416 EXPECT_TRUE(msg.HasAttribute(IFLA_MTU)); in TestParseLink()
421 EXPECT_TRUE(msg.HasAttribute(IFLA_QDISC)); in TestParseLink()
425 EXPECT_TRUE(msg.HasAttribute(IFLA_OPERSTATE)); in TestParseLink()
445 EXPECT_TRUE(msg.HasAttribute(IFA_ADDRESS)); in TestParseAddress()
479 EXPECT_TRUE(msg.HasAttribute(RTA_DST)); in TestParseRoute()
486 EXPECT_TRUE(msg.HasAttribute(RTA_SRC)); in TestParseRoute()
493 EXPECT_TRUE(msg.HasAttribute(RTA_GATEWAY)); in TestParseRoute()
499 EXPECT_TRUE(msg.HasAttribute(RTA_OIF)); in TestParseRoute()
[all …]
Drtnl_message.h198 bool HasAttribute(uint16_t attr) const { in HasAttribute() function
202 return HasAttribute(attr) ? in GetAttribute()
/system/connectivity/shill/
Drouting_table_unittest.cc194 !arg->HasAttribute(RTA_DST) &&
195 !arg->HasAttribute(RTA_SRC) &&
196 !arg->HasAttribute(RTA_GATEWAY) &&
218 arg->HasAttribute(RTA_DST) &&
222 ((!arg->HasAttribute(RTA_SRC) && entry.src.IsDefault()) ||
223 (arg->HasAttribute(RTA_SRC) && IPAddress(arg->family(),
226 ((!arg->HasAttribute(RTA_GATEWAY) && entry.gateway.IsDefault()) ||
227 (arg->HasAttribute(RTA_GATEWAY) && IPAddress(arg->family(),
584 arg->HasAttribute(RTA_DST) &&
588 !arg->HasAttribute(RTA_SRC) &&
[all …]
Drouting_table.cc296 !message.HasAttribute(RTA_OIF)) { in ParseRoutingTableMessage()
313 if (message.HasAttribute(RTA_PRIORITY)) { in ParseRoutingTableMessage()
321 if (message.HasAttribute(RTA_DST)) { in ParseRoutingTableMessage()
325 if (message.HasAttribute(RTA_SRC)) { in ParseRoutingTableMessage()
329 if (message.HasAttribute(RTA_GATEWAY)) { in ParseRoutingTableMessage()
Ddevice_info.cc583 if (!msg.HasAttribute(IFLA_IFNAME)) in GetLinkNameFromMessage()
663 if (msg.HasAttribute(IFLA_ADDRESS)) { in AddLinkMsgHandler()
1065 msg.HasAttribute(IFA_LOCAL) ? in AddressMsgHandler()
1069 SLOG_IF(Device, 2, msg.HasAttribute(IFA_LOCAL)) in AddressMsgHandler()
1188 if (!msg.HasAttribute(IFLA_STATS64)) { in RetrieveLinkStatistics()
Dconnection_diagnostics.cc796 if (neighbor.type != NDA_DST || !msg.HasAttribute(NDA_DST)) { in OnNeighborMsgReceived()
/system/connectivity/apmanager/
Ddevice_info.cc138 if (!msg.HasAttribute(IFLA_IFNAME)) { in LinkMsgHandler()