Searched refs:nla (Results 1 – 2 of 2) sorted by relevance
296 static size_t nlAttrLen(const nlattr* nla) { in nlAttrLen() argument297 return nla->nla_len - NLA_HDRLEN; in nlAttrLen()300 static const uint8_t* nlAttrData(const nlattr* nla) { in nlAttrData() argument301 return reinterpret_cast<const uint8_t*>(nla) + NLA_HDRLEN; in nlAttrData()304 static uint32_t nlAttrU32(const nlattr* nla) { in nlAttrU32() argument305 return *reinterpret_cast<const uint32_t*>(nlAttrData(nla)); in nlAttrU32()710 nlattr* nla = (nlattr*)hdr; in findNlAttr() local711 if (nla->nla_type == attr) { in findNlAttr()712 return nla; in findNlAttr()715 hdr += NLA_ALIGN(nla->nla_len); in findNlAttr()[all …]
187 nlattr nla; in sendDumpRequest() member191 .nla = { in sendDumpRequest()207 attrs.nla.nla_len = sizeof(attrs) + addrlen; in sendDumpRequest()517 struct nlattr nla = { in destroySocketsLackingPermission() local524 { &nla, sizeof(nla) }, in destroySocketsLackingPermission()