Searched refs:nl_header (Results 1 – 5 of 5) sorted by relevance
44 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in NL80211Packet() local45 nl_header->nlmsg_len = data_.size(); in NL80211Packet()47 nl_header->nlmsg_flags = nl_header->nlmsg_flags | NLM_F_REQUEST; in NL80211Packet()48 nl_header->nlmsg_type = type; in NL80211Packet()49 nl_header->nlmsg_seq = sequence; in NL80211Packet()50 nl_header->nlmsg_pid = pid; in NL80211Packet()66 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); in IsValid() local72 nl_header->nlmsg_len < NLMSG_HDRLEN + GENL_HDRLEN) { in IsValid()82 nl_header->nlmsg_len < NLMSG_HDRLEN + sizeof(int)) { in IsValid()89 if (data_.size() < nl_header->nlmsg_len || in IsValid()[all …]
198 nlattr* nl_header = reinterpret_cast<nlattr*>(data_.data()); in AddFlagAttribute() local199 nl_header->nla_len += NLA_HDRLEN; in AddFlagAttribute()
113 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(ptr); in ReceivePacketAndRunHandler() local115 new NL80211Packet(vector<uint8_t>(ptr, ptr + nl_header->nlmsg_len))); in ReceivePacketAndRunHandler()116 ptr += nl_header->nlmsg_len; in ReceivePacketAndRunHandler()
69 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data.data()); in CreateControlMessageError() local70 nl_header->nlmsg_len = data.size(); in CreateControlMessageError()71 nl_header->nlmsg_type = NLMSG_ERROR; in CreateControlMessageError()72 nl_header->nlmsg_seq = kFakeSequenceNumber; in CreateControlMessageError()73 nl_header->nlmsg_pid = getpid(); in CreateControlMessageError()
87 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data.data()); in CreateControlMessageError() local88 nl_header->nlmsg_len = data.size(); in CreateControlMessageError()89 nl_header->nlmsg_type = NLMSG_ERROR; in CreateControlMessageError()90 nl_header->nlmsg_seq = kFakeSequenceNumber; in CreateControlMessageError()91 nl_header->nlmsg_pid = getpid(); in CreateControlMessageError()