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.cpp160 nlattr* nl_header = reinterpret_cast<nlattr*>(data_.data()); in AddFlagAttribute() local
161 nl_header->nla_len += NLA_HDRLEN; in AddFlagAttribute()
Dnetlink_manager.cpp92 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(ptr); in ReceivePacketAndRunHandler() local
94 new NL80211Packet(vector<uint8_t>(ptr, ptr + nl_header->nlmsg_len))); in ReceivePacketAndRunHandler()
95 ptr += nl_header->nlmsg_len; in ReceivePacketAndRunHandler()
/system/connectivity/wificond/tests/
Dscan_utils_unittest.cpp61 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data.data()); in CreateControlMessageError() local
62 nl_header->nlmsg_len = data.size(); in CreateControlMessageError()
63 nl_header->nlmsg_type = NLMSG_ERROR; in CreateControlMessageError()
64 nl_header->nlmsg_seq = kFakeSequenceNumber; in CreateControlMessageError()
65 nl_header->nlmsg_pid = getpid(); in CreateControlMessageError()
Dnetlink_utils_unittest.cpp68 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data.data()); in CreateControlMessageError() local
69 nl_header->nlmsg_len = data.size(); in CreateControlMessageError()
70 nl_header->nlmsg_type = NLMSG_ERROR; in CreateControlMessageError()
71 nl_header->nlmsg_seq = kFakeSequenceNumber; in CreateControlMessageError()
72 nl_header->nlmsg_pid = getpid(); in CreateControlMessageError()