Lines Matching refs:NetlinkAttribute
44 NetlinkAttribute::NetlinkAttribute(int id,
52 NetlinkAttribute* NetlinkAttribute::NewNl80211AttributeFromId(
54 unique_ptr<NetlinkAttribute> attr;
264 NetlinkAttribute* NetlinkAttribute::NewControlAttributeFromId(int id) {
265 unique_ptr<NetlinkAttribute> attr;
296 bool NetlinkAttribute::InitFromValue(const ByteString& input) {
301 bool NetlinkAttribute::GetU8Value(uint8_t* value) const {
306 bool NetlinkAttribute::SetU8Value(uint8_t value) {
311 bool NetlinkAttribute::GetU16Value(uint16_t* value) const {
316 bool NetlinkAttribute::SetU16Value(uint16_t value) {
321 bool NetlinkAttribute::GetU32Value(uint32_t* value) const {
326 bool NetlinkAttribute::SetU32Value(uint32_t value) {
331 bool NetlinkAttribute::GetU64Value(uint64_t* value) const {
336 bool NetlinkAttribute::SetU64Value(uint64_t value) {
341 bool NetlinkAttribute::GetFlagValue(bool* value) const {
346 bool NetlinkAttribute::SetFlagValue(bool value) {
351 bool NetlinkAttribute::GetStringValue(string* value) const {
356 bool NetlinkAttribute::SetStringValue(string value) {
361 bool NetlinkAttribute::GetNestedAttributeList(AttributeListRefPtr* value) {
366 bool NetlinkAttribute::ConstGetNestedAttributeList(
372 bool NetlinkAttribute::SetNestedHasAValue() {
377 bool NetlinkAttribute::GetRawValue(ByteString* value) const {
382 bool NetlinkAttribute::SetRawValue(const ByteString new_value) {
387 void NetlinkAttribute::Print(int log_level, int indent) const {
394 string NetlinkAttribute::RawToString() const {
414 string NetlinkAttribute::HeaderToPrint(int indent) const {
424 ByteString NetlinkAttribute::EncodeGeneric(const unsigned char* data,
445 const NetlinkAttribute::Type NetlinkU8Attribute::kType =
446 NetlinkAttribute::kTypeU8;
457 return NetlinkAttribute::InitFromValue(input);
491 return NetlinkAttribute::EncodeGeneric(
498 const NetlinkAttribute::Type NetlinkU16Attribute::kType =
499 NetlinkAttribute::kTypeU16;
511 return NetlinkAttribute::InitFromValue(input);
545 return NetlinkAttribute::EncodeGeneric(
552 const NetlinkAttribute::Type NetlinkU32Attribute::kType =
553 NetlinkAttribute::kTypeU32;
565 return NetlinkAttribute::InitFromValue(input);
599 return NetlinkAttribute::EncodeGeneric(
606 const NetlinkAttribute::Type NetlinkU64Attribute::kType =
607 NetlinkAttribute::kTypeU64;
618 return NetlinkAttribute::InitFromValue(input);
652 return NetlinkAttribute::EncodeGeneric(
659 const NetlinkAttribute::Type NetlinkFlagAttribute::kType =
660 NetlinkAttribute::kTypeFlag;
665 return NetlinkAttribute::InitFromValue(input);
697 return NetlinkAttribute::EncodeGeneric(nullptr, 0);
705 const NetlinkAttribute::Type NetlinkStringAttribute::kType =
706 NetlinkAttribute::kTypeString;
730 return NetlinkAttribute::InitFromValue(input);
765 return NetlinkAttribute::EncodeGeneric(
799 const NetlinkAttribute::Type NetlinkNestedAttribute::kType =
800 NetlinkAttribute::kTypeNested;
805 NetlinkAttribute(id, id_string, kType, kMyTypeString),
1012 NetlinkAttribute::Type type_arg, string attribute_name_arg,
1018 NetlinkAttribute::Type type_arg, string attribute_name_arg,
1026 const NetlinkAttribute::Type NetlinkRawAttribute::kType =
1027 NetlinkAttribute::kTypeRaw;
1030 if (!NetlinkAttribute::InitFromValue(input)) {
1076 return NetlinkAttribute::EncodeGeneric(data_.GetConstData(),