Home
last modified time | relevance | path

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

/system/core/libsysutils/src/
DNetlinkEvent.cpp296 static size_t nlAttrLen(const nlattr* nla) { in nlAttrLen() argument
297 return nla->nla_len - NLA_HDRLEN; in nlAttrLen()
300 static const uint8_t* nlAttrData(const nlattr* nla) { in nlAttrData() argument
301 return reinterpret_cast<const uint8_t*>(nla) + NLA_HDRLEN; in nlAttrData()
304 static uint32_t nlAttrU32(const nlattr* nla) { in nlAttrU32() argument
305 return *reinterpret_cast<const uint32_t*>(nlAttrData(nla)); in nlAttrU32()
710 nlattr* nla = (nlattr*)hdr; in findNlAttr() local
711 if (nla->nla_type == attr) { in findNlAttr()
712 return nla; in findNlAttr()
715 hdr += NLA_ALIGN(nla->nla_len); in findNlAttr()
[all …]
/system/netd/server/
DSockDiag.cpp175 nlattr nla; in sendDumpRequest() member
179 .nla = { in sendDumpRequest()
195 attrs.nla.nla_len = sizeof(attrs) + addrlen; in sendDumpRequest()
499 struct nlattr nla = { in destroySocketsLackingPermission() local
506 { &nla, sizeof(nla) }, in destroySocketsLackingPermission()