Home
last modified time | relevance | path

Searched refs:nla (Results 1 – 2 of 2) sorted by relevance

/system/core/libsysutils/src/
DNetlinkEvent.cpp271 static size_t nlAttrLen(const nlattr* nla) { in nlAttrLen() argument
272 return nla->nla_len - NLA_HDRLEN; in nlAttrLen()
275 static const uint8_t* nlAttrData(const nlattr* nla) { in nlAttrData() argument
276 return reinterpret_cast<const uint8_t*>(nla) + NLA_HDRLEN; in nlAttrData()
279 static uint32_t nlAttrU32(const nlattr* nla) { in nlAttrU32() argument
280 return *reinterpret_cast<const uint32_t*>(nlAttrData(nla)); in nlAttrU32()
680 nlattr* nla = (nlattr*)hdr; in findNlAttr() local
681 if (nla->nla_type == attr) { in findNlAttr()
682 return nla; in findNlAttr()
685 hdr += NLA_ALIGN(nla->nla_len); in findNlAttr()
[all …]
/system/netd/server/
DSockDiag.cpp174 nlattr nla; in sendDumpRequest() member
178 .nla = { in sendDumpRequest()
194 attrs.nla.nla_len = sizeof(attrs) + addrlen; in sendDumpRequest()
503 struct nlattr nla = { in destroySocketsLackingPermission() local
510 { &nla, sizeof(nla) }, in destroySocketsLackingPermission()