Home
last modified time | relevance | path

Searched refs:nl_header (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/wificond/net/
Dnl80211_packet.cpp44 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); in NL80211Packet() local
45 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() local
72 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 …]
Dnl80211_attribute.cpp198 nlattr* nl_header = reinterpret_cast<nlattr*>(data_.data()); in AddFlagAttribute() local
199 nl_header->nla_len += NLA_HDRLEN; in AddFlagAttribute()
Dnetlink_manager.cpp113 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(ptr); in ReceivePacketAndRunHandler() local
115 new NL80211Packet(vector<uint8_t>(ptr, ptr + nl_header->nlmsg_len))); in ReceivePacketAndRunHandler()
116 ptr += nl_header->nlmsg_len; in ReceivePacketAndRunHandler()
/system/connectivity/wificond/tests/
Dscan_utils_unittest.cpp69 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data.data()); in CreateControlMessageError() local
70 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()
Dnetlink_utils_unittest.cpp87 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data.data()); in CreateControlMessageError() local
88 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()