Searched refs:nla (Results 1 – 2 of 2) sorted by relevance
271 static size_t nlAttrLen(const nlattr* nla) { in nlAttrLen() argument272 return nla->nla_len - NLA_HDRLEN; in nlAttrLen()275 static const uint8_t* nlAttrData(const nlattr* nla) { in nlAttrData() argument276 return reinterpret_cast<const uint8_t*>(nla) + NLA_HDRLEN; in nlAttrData()279 static uint32_t nlAttrU32(const nlattr* nla) { in nlAttrU32() argument280 return *reinterpret_cast<const uint32_t*>(nlAttrData(nla)); in nlAttrU32()680 nlattr* nla = (nlattr*)hdr; in findNlAttr() local681 if (nla->nla_type == attr) { in findNlAttr()682 return nla; in findNlAttr()685 hdr += NLA_ALIGN(nla->nla_len); in findNlAttr()[all …]
174 nlattr nla; in sendDumpRequest() member178 .nla = { in sendDumpRequest()194 attrs.nla.nla_len = sizeof(attrs) + addrlen; in sendDumpRequest()503 struct nlattr nla = { in destroySocketsLackingPermission() local510 { &nla, sizeof(nla) }, in destroySocketsLackingPermission()