Searched refs:attrtype (Results 1 – 3 of 3) sorted by relevance
58 bool contains(nlattrtype_t attrtype) const;95 T get(nlattrtype_t attrtype) const { in get() argument96 const auto buffer = getBuffer(attrtype); in get()98 LOG(WARNING) << "Netlink attribute is missing: " << attrtype; in get()114 std::optional<Buffer<nlattr>> getBuffer(nlattrtype_t attrtype) const { in getBuffer() argument116 const auto it = ind.find(attrtype); in getBuffer()134 const T& getStruct(nlattrtype_t attrtype) const { in getStruct() argument136 const auto it = ind.find(attrtype); in getStruct()138 LOG(WARNING) << "Netlink attribute is missing: " << attrtype; in getStruct()
103 const auto attrtype = attrMap[attr->nla_type]; in toStream() local105 ss << attrtype.name; in toStream()107 if (attrtype.dataType == DataType::Flag && attr.data<uint8_t>().getRaw().len() == 0) return; in toStream()110 if (attrtype.flags == Flags::Verbose) { in toStream()118 switch (attrtype.dataType) { in toStream()129 toStream(ss, childattr, std::get<protocols::AttributeMap>(attrtype.ops)); in toStream()138 if (attrtype.dataType == DataType::StringNul && len > 0 && str.ptr()[len - 1] == '\0') { in toStream()150 std::get<protocols::AttributeDefinition::ToStream>(attrtype.ops); in toStream()
38 bool Attributes::contains(nlattrtype_t attrtype) const { in contains()39 return index().count(attrtype) > 0; in contains()