Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
NetlinkMessage Class Reference

#include <usb_linux_netlink.h>

Public Member Functions

 NetlinkMessage (const char *buffer, ssize_t len)
 
std::string attr (const std::string &key) const
 
bool has_attr (const std::string &key, std::string_view value) const
 

Private Attributes

std::unordered_map< std::string, std::string > attrs_
 

Constructor & Destructor Documentation

◆ NetlinkMessage()

NetlinkMessage::NetlinkMessage ( const char *  buffer,
ssize_t  len 
)

Member Function Documentation

◆ attr()

std::string NetlinkMessage::attr ( const std::string &  key) const

◆ has_attr()

bool NetlinkMessage::has_attr ( const std::string &  key,
std::string_view  value 
) const

Member Data Documentation

◆ attrs_

std::unordered_map<std::string, std::string> NetlinkMessage::attrs_
private

The documentation for this class was generated from the following files: