Lines Matching refs:data_

27     : data_(data) {  in NL80211Packet()
28 data_ = data; in NL80211Packet()
32 data_ = packet.data_; in NL80211Packet()
42 data_.resize(NLMSG_HDRLEN + GENL_HDRLEN, 0); in NL80211Packet()
44 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in NL80211Packet()
45 nl_header->nlmsg_len = data_.size(); in NL80211Packet()
53 reinterpret_cast<genlmsghdr*>(data_.data() + NLMSG_HDRLEN); in NL80211Packet()
61 if (data_.size() < NLMSG_HDRLEN) { in IsValid()
66 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); in IsValid()
71 if (data_.size() < NLMSG_HDRLEN + GENL_HDRLEN || in IsValid()
81 if (data_.size() < NLMSG_HDRLEN + sizeof(int) || in IsValid()
89 if (data_.size() < nl_header->nlmsg_len || in IsValid()
107 data_.data() + NLMSG_HDRLEN); in GetCommand()
112 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); in GetFlags()
117 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); in GetMessageType()
122 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); in GetMessageSequence()
127 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); in GetPortId()
132 return -*reinterpret_cast<const int*>(data_.data() + NLMSG_HDRLEN); in GetErrorCode()
136 return data_; in GetConstData()
141 data_.data() + NLMSG_HDRLEN); in SetCommand()
146 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in AddFlag()
151 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in SetFlags()
156 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in SetMessageType()
161 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in SetMessageSequence()
166 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in SetPortId()
173 data_.insert(data_.end(), append_data.begin(), append_data.end()); in AddAttribute()
174 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in AddAttribute()
183 data_.resize(data_.size() + NLA_HDRLEN, 0); in AddFlagAttribute()
185 reinterpret_cast<nlattr*>(data_.data() + data_.size() - NLA_HDRLEN); in AddFlagAttribute()
188 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in AddFlagAttribute()
194 data_.data() + NLMSG_HDRLEN + GENL_HDRLEN, in HasAttribute()
195 data_.size() - NLMSG_HDRLEN - GENL_HDRLEN, in HasAttribute()
204 data_.data() + NLMSG_HDRLEN + GENL_HDRLEN, in GetAttribute()
205 data_.size() - NLMSG_HDRLEN - GENL_HDRLEN, in GetAttribute()
220 const uint8_t* ptr = data_.data() + NLMSG_HDRLEN + GENL_HDRLEN; in GetAllAttributes()
221 const uint8_t* end_ptr = data_.data() + data_.size(); in GetAllAttributes()
238 const uint8_t* ptr = data_.data() + NLMSG_HDRLEN + GENL_HDRLEN; in DebugLog()
239 const uint8_t* end_ptr = data_.data() + data_.size(); in DebugLog()