Searched refs:HasAttribute (Results 1 – 7 of 7) sorted by relevance
408 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 …]
198 bool HasAttribute(uint16_t attr) const { in HasAttribute() function202 return HasAttribute(attr) ? in GetAttribute()
194 !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 …]
296 !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()
583 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()
796 if (neighbor.type != NDA_DST || !msg.HasAttribute(NDA_DST)) { in OnNeighborMsgReceived()
138 if (!msg.HasAttribute(IFLA_IFNAME)) { in LinkMsgHandler()