/system/connectivity/wificond/net/ |
D | nl80211_attribute.cpp | 45 nlattr* header = reinterpret_cast<nlattr*>(data_.data()); in InitHeaderAndResize() 51 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in GetAttributeId() 59 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in IsValid() 76 const nlattr* header = reinterpret_cast<const nlattr*>(ptr); in GetAttributeImpl() 104 auto our_header = reinterpret_cast<nlattr*>(data_.data()); in Merge() 107 reinterpret_cast<const nlattr*>(other_attr.GetConstData().data()); in Merge() 138 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in GetValue() 160 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in GetValue() 184 nlattr* header = reinterpret_cast<nlattr*>(data_.data()); in AddAttribute() 194 nlattr* flag_header = in AddFlagAttribute() [all …]
|
D | nl80211_attribute.h | 92 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in IsValid() 203 const nlattr* header = reinterpret_cast<const nlattr*>(ptr); in GetListOfAttributeValues() 241 const nlattr* header = reinterpret_cast<const nlattr*>(ptr); in GetListOfAttributes()
|
D | nl80211_packet.cpp | 184 nlattr* flag_header = in AddFlagAttribute() 185 reinterpret_cast<nlattr*>(data_.data() + data_.size() - NLA_HDRLEN); in AddFlagAttribute() 223 auto header = reinterpret_cast<const nlattr*>(ptr); in GetAllAttributes() 241 const nlattr* header = reinterpret_cast<const nlattr*>(ptr); in DebugLog()
|
/system/netd/server/ |
D | WakeupControllerTest.cpp | 103 nlattr uidAttr; in TEST_F() 105 nlattr gidAttr; in TEST_F() 107 nlattr tsAttr; in TEST_F() 109 nlattr prefixAttr; in TEST_F() 153 nlattr uidAttr; in TEST_F() 155 nlattr gidAttr; in TEST_F() 157 nlattr tsAttr; in TEST_F() 159 nlattr prefixAttr; in TEST_F() 161 nlattr packetHeaderAttr; in TEST_F() 163 nlattr hardwareAddrAttr; in TEST_F() [all …]
|
D | XfrmController.h | 276 nlattr hdr; 284 nlattr hdr; 292 nlattr hdr; 299 nlattr hdr; 306 nlattr hdr; 313 nlattr hdr; 320 nlattr hdr; 327 nlattr hdr; 333 nlattr hdr;
|
D | ClatUtils.cpp | 160 nlattr attr; in doTcQdiscClsact() 258 nlattr attr; in tcFilterAddDevBpf() 262 nlattr attr; in tcFilterAddDevBpf() 264 nlattr attr; in tcFilterAddDevBpf() 268 nlattr attr; in tcFilterAddDevBpf() 272 nlattr attr; in tcFilterAddDevBpf()
|
D | XfrmController.cpp | 186 size_t fillNlAttr(__u16 nlaType, size_t valueSize, nlattr* nlAttr) { in fillNlAttr() 189 nlAttr->nla_len = (__u16)(dataLen + sizeof(nlattr)); in fillNlAttr() 194 size_t fillNlAttrIpAddress(__u16 nlaType, int family, const std::string& value, nlattr* nlAttr, in fillNlAttrIpAddress() 346 void fillXfrmNlaHdr(nlattr* hdr, uint16_t type, uint16_t len) { in fillXfrmNlaHdr() 1388 nlattr ifNameNla; in ipSecAddXfrmInterface() 1391 nlattr linkInfoNla; in ipSecAddXfrmInterface() 1393 nlattr infoKindNla; in ipSecAddXfrmInterface() 1396 nlattr infoDataNla; in ipSecAddXfrmInterface() 1398 nlattr xfrmLinkNla; in ipSecAddXfrmInterface() 1401 nlattr xfrmIfIdNla; in ipSecAddXfrmInterface() [all …]
|
D | SockDiag.cpp | 174 nlattr nla; in sendDumpRequest() 497 struct nlattr nla = { in destroySocketsLackingPermission() 499 .nla_len = sizeof(struct nlattr) + bytecodelen, in destroySocketsLackingPermission()
|
D | WakeupController.cpp | 135 const auto attrHandler = [&args, &parseAgain](const nlattr attr, const Slice payload) { in init()
|
D | XfrmControllerTest.cpp | 399 const nlattr& attr, const Slice& attr_payload) { in testIpSecAddSecurityAssociation() 572 auto attrHandler = [mark, xfrm_if_id](const nlattr& attr, const Slice& attr_payload) { in parseTunnelNetlinkAttrs() 684 auto attrHandler = [&usertmpl, &mark, &xfrm_if_id](const nlattr& attr, in TEST_P()
|
/system/netd/libnetdutils/ |
D | Netlink.cpp | 39 const std::function<void(const nlattr&, const Slice)>& onAttr) { in forEachNetlinkAttribute() argument 41 while (tail.size() >= sizeof(nlattr)) { in forEachNetlinkAttribute() 42 nlattr hdr = {}; in forEachNetlinkAttribute() 69 std::ostream& operator<<(std::ostream& os, const nlattr& attr) { in operator <<()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Netlink.h | 43 const std::function<void(const nlattr&, const Slice)>& onAttr); 52 std::ostream& operator<<(std::ostream& os, const nlattr& attr);
|
/system/extras/iotop/ |
D | taskstats.cpp | 66 static pid_t ParseAggregateTaskStats(nlattr* attr, int attr_size, in ParseAggregateTaskStats() 94 nlattr* attr = genlmsg_attrdata(gnlh, 0); in ParseTaskStats() 102 nlattr* nested_attr = static_cast<nlattr*>(nla_data(attr)); in ParseTaskStats()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 271 static size_t nlAttrLen(const nlattr* nla) { in nlAttrLen() 275 static const uint8_t* nlAttrData(const nlattr* nla) { in nlAttrData() 279 static uint32_t nlAttrU32(const nlattr* nla) { in nlAttrU32() 291 struct nlattr* uid_attr = findNlAttr(nh, sizeof(struct genlmsghdr), NFULA_UID); in parseNfPacketMessage() 296 struct nlattr* payload = findNlAttr(nh, sizeof(struct genlmsghdr), NFULA_PAYLOAD); in parseNfPacketMessage() 670 nlattr* NetlinkEvent::findNlAttr(const nlmsghdr* nh, size_t hdrlen, uint16_t attr) { in findNlAttr() 681 nlattr* nla = (nlattr*)hdr; in findNlAttr()
|
/system/core/libsysutils/include/sysutils/ |
D | NetlinkEvent.h | 67 struct nlattr* findNlAttr(const nlmsghdr* nl, size_t hdrlen, uint16_t attr);
|
/system/extras/taskstats/ |
D | taskstats.c | 51 void parse_aggregate_task_stats(struct nlattr* attr, int attr_size, in parse_aggregate_task_stats() 73 struct nlattr* attr = genlmsg_attrdata(gnlh, 0); in parse_task_stats()
|