Lines Matching refs:nla
296 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()
716 left -= NLA_ALIGN(nla->nla_len); in findNlAttr()