/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 | 277 nlattr hdr; 285 nlattr hdr; 293 nlattr hdr; 300 nlattr hdr; 307 nlattr hdr; 314 nlattr hdr; 321 nlattr hdr; 328 nlattr hdr; 334 nlattr hdr;
|
D | OffloadUtils.cpp | 165 nlattr attr; in doTcQdiscClsact() 277 nlattr attr; in tcFilterAddDevBpf() 281 nlattr attr; in tcFilterAddDevBpf() 283 nlattr attr; in tcFilterAddDevBpf() 287 nlattr attr; in tcFilterAddDevBpf() 291 nlattr attr; in tcFilterAddDevBpf()
|
D | XfrmController.cpp | 185 size_t fillNlAttr(__u16 nlaType, size_t valueSize, nlattr* nlAttr) { in fillNlAttr() 188 nlAttr->nla_len = (__u16)(dataLen + sizeof(nlattr)); in fillNlAttr() 193 size_t fillNlAttrIpAddress(__u16 nlaType, int family, const std::string& value, nlattr* nlAttr, in fillNlAttrIpAddress() 345 void fillXfrmNlaHdr(nlattr* hdr, uint16_t type, uint16_t len) { in fillXfrmNlaHdr() 1386 nlattr ifNameNla; in ipSecAddXfrmInterface() 1389 nlattr linkInfoNla; in ipSecAddXfrmInterface() 1391 nlattr infoKindNla; in ipSecAddXfrmInterface() 1394 nlattr infoDataNla; in ipSecAddXfrmInterface() 1396 nlattr xfrmLinkNla; in ipSecAddXfrmInterface() 1399 nlattr xfrmIfIdNla; in ipSecAddXfrmInterface() [all …]
|
D | SockDiag.cpp | 175 nlattr nla; in sendDumpRequest() 499 struct nlattr nla = { in destroySocketsLackingPermission() 500 .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 | 398 const nlattr& attr, const Slice& attr_payload) { in testIpSecAddSecurityAssociation() 571 auto attrHandler = [mark, xfrm_if_id](const nlattr& attr, const Slice& attr_payload) { in parseTunnelNetlinkAttrs() 683 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 | 296 static size_t nlAttrLen(const nlattr* nla) { in nlAttrLen() 300 static const uint8_t* nlAttrData(const nlattr* nla) { in nlAttrData() 304 static uint32_t nlAttrU32(const nlattr* nla) { in nlAttrU32() 316 struct nlattr* uid_attr = findNlAttr(nh, sizeof(struct genlmsghdr), NFULA_UID); in parseNfPacketMessage() 321 struct nlattr* payload = findNlAttr(nh, sizeof(struct genlmsghdr), NFULA_PAYLOAD); in parseNfPacketMessage() 699 nlattr* NetlinkEvent::findNlAttr(const nlmsghdr* nh, size_t hdrlen, uint16_t attr) { in findNlAttr() 710 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()
|