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()
118 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(ptr); in ReceivePacketAndRunHandler() local120 new NL80211Packet(vector<uint8_t>(ptr, ptr + nl_header->nlmsg_len))); in ReceivePacketAndRunHandler()121 ptr += nl_header->nlmsg_len; in ReceivePacketAndRunHandler()
70 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data.data()); in CreateControlMessageError() local71 nl_header->nlmsg_len = data.size(); in CreateControlMessageError()72 nl_header->nlmsg_type = NLMSG_ERROR; in CreateControlMessageError()73 nl_header->nlmsg_seq = kFakeSequenceNumber; in CreateControlMessageError()74 nl_header->nlmsg_pid = getpid(); in CreateControlMessageError()
100 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data.data()); in CreateControlMessageError() local101 nl_header->nlmsg_len = data.size(); in CreateControlMessageError()102 nl_header->nlmsg_type = NLMSG_ERROR; in CreateControlMessageError()103 nl_header->nlmsg_seq = kFakeSequenceNumber; in CreateControlMessageError()104 nl_header->nlmsg_pid = getpid(); in CreateControlMessageError()